Package org.pgpainless.sop
Class ExtractCertImpl
- java.lang.Object
-
- org.pgpainless.sop.ExtractCertImpl
-
- All Implemented Interfaces:
ExtractCert
public class ExtractCertImpl extends Object implements ExtractCert
-
-
Constructor Summary
Constructors Constructor Description ExtractCertImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ready
key(InputStream keyInputStream)
Extract the cert from the provided key.ExtractCert
noArmor()
Disable ASCII armor encoding.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface sop.operation.ExtractCert
key
-
-
-
-
Constructor Detail
-
ExtractCertImpl
public ExtractCertImpl()
-
-
Method Detail
-
noArmor
public ExtractCert noArmor()
Description copied from interface:ExtractCert
Disable ASCII armor encoding.- Specified by:
noArmor
in interfaceExtractCert
- Returns:
- builder instance
-
key
public Ready key(InputStream keyInputStream) throws IOException, SOPGPException.BadData
Description copied from interface:ExtractCert
Extract the cert from the provided key.- Specified by:
key
in interfaceExtractCert
- Parameters:
keyInputStream
- input stream containing the encoding of an OpenPGP key- Returns:
- result containing the encoding of the keys cert
- Throws:
IOException
SOPGPException.BadData
-
-