Package sop.operation
Interface ExtractCert
-
- All Known Implementing Classes:
ExtractCertImpl
public interface ExtractCert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Ready
key(byte[] key)
Extract the cert from the provided key.Ready
key(InputStream keyInputStream)
Extract the cert from the provided key.ExtractCert
noArmor()
Disable ASCII armor encoding.
-
-
-
Method Detail
-
noArmor
ExtractCert noArmor()
Disable ASCII armor encoding.- Returns:
- builder instance
-
key
Ready key(InputStream keyInputStream) throws IOException, SOPGPException.BadData
Extract the cert from the provided key.- Parameters:
keyInputStream
- input stream containing the encoding of an OpenPGP key- Returns:
- result containing the encoding of the keys cert
- Throws:
IOException
SOPGPException.BadData
-
key
default Ready key(byte[] key) throws IOException, SOPGPException.BadData
Extract the cert from the provided key.- Parameters:
key
- byte array containing the encoding of an OpenPGP key- Returns:
- result containing the encoding of the keys cert
- Throws:
IOException
SOPGPException.BadData
-
-