Package sop.external.operation
Class InlineSignExternal
java.lang.Object
sop.external.operation.InlineSignExternal
- All Implemented Interfaces:
sop.operation.AbstractSign<sop.operation.InlineSign>,sop.operation.InlineSign
Implementation of the
InlineSign operation using an external SOP binary.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsop.Readydata(InputStream data) sop.operation.InlineSignkey(InputStream key) 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
-
InlineSignExternal
-
-
Method Details
-
noArmor
public sop.operation.InlineSign noArmor()- Specified by:
noArmorin interfacesop.operation.AbstractSign<sop.operation.InlineSign>
-
key
public sop.operation.InlineSign key(InputStream key) throws sop.exception.SOPGPException.KeyCannotSign, sop.exception.SOPGPException.BadData, sop.exception.SOPGPException.UnsupportedAsymmetricAlgo, IOException - Specified by:
keyin interfacesop.operation.AbstractSign<sop.operation.InlineSign>- Throws:
sop.exception.SOPGPException.KeyCannotSignsop.exception.SOPGPException.BadDatasop.exception.SOPGPException.UnsupportedAsymmetricAlgoIOException
-
withKeyPassword
public sop.operation.InlineSign withKeyPassword(byte[] password) throws sop.exception.SOPGPException.UnsupportedOption, sop.exception.SOPGPException.PasswordNotHumanReadable - Specified by:
withKeyPasswordin interfacesop.operation.AbstractSign<sop.operation.InlineSign>- Throws:
sop.exception.SOPGPException.UnsupportedOptionsop.exception.SOPGPException.PasswordNotHumanReadable
-
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
-
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
-