Package org.pgpainless.sop
Class InlineSignImpl
java.lang.Object
org.pgpainless.sop.InlineSignImpl
- All Implemented Interfaces:
sop.operation.AbstractSign<sop.operation.InlineSign>,sop.operation.InlineSign
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsop.Readydata(InputStream data) sop.operation.InlineSignkey(InputStream keyIn) sop.operation.InlineSignmode(sop.enums.InlineSignAs mode) sop.operation.InlineSignnoArmor()sop.operation.InlineSignwithKeyPassword(byte[] password) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface sop.operation.AbstractSign
key, withKeyPasswordMethods inherited from interface sop.operation.InlineSign
data
-
Constructor Details
-
InlineSignImpl
public InlineSignImpl()
-
-
Method Details
-
mode
public sop.operation.InlineSign mode(sop.enums.InlineSignAs mode) throws sop.exception.SOPGPException.UnsupportedOption - Specified by:
modein interfacesop.operation.InlineSign- Throws:
sop.exception.SOPGPException.UnsupportedOption
-
noArmor
public sop.operation.InlineSign noArmor()- Specified by:
noArmorin interfacesop.operation.AbstractSign<sop.operation.InlineSign>
-
key
public sop.operation.InlineSign key(InputStream keyIn) throws sop.exception.SOPGPException.KeyCannotSign, sop.exception.SOPGPException.BadData, IOException - Specified by:
keyin interfacesop.operation.AbstractSign<sop.operation.InlineSign>- Throws:
sop.exception.SOPGPException.KeyCannotSignsop.exception.SOPGPException.BadDataIOException
-
withKeyPassword
public sop.operation.InlineSign withKeyPassword(byte[] password) - Specified by:
withKeyPasswordin interfacesop.operation.AbstractSign<sop.operation.InlineSign>
-
data
public sop.Ready data(InputStream data) throws sop.exception.SOPGPException.KeyIsProtected, sop.exception.SOPGPException.ExpectedText - Specified by:
datain interfacesop.operation.InlineSign- Throws:
sop.exception.SOPGPException.KeyIsProtectedsop.exception.SOPGPException.ExpectedText
-