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 Readykey(InputStream keyInputStream)Extract the cert from the provided key.ExtractCertnoArmor()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:ExtractCertDisable ASCII armor encoding.- Specified by:
noArmorin interfaceExtractCert- Returns:
- builder instance
-
key
public Ready key(InputStream keyInputStream) throws IOException, SOPGPException.BadData
Description copied from interface:ExtractCertExtract the cert from the provided key.- Specified by:
keyin interfaceExtractCert- Parameters:
keyInputStream- input stream containing the encoding of an OpenPGP key- Returns:
- result containing the encoding of the keys cert
- Throws:
IOExceptionSOPGPException.BadData
-
-