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
public class InlineSignExternal extends java.lang.Object implements sop.operation.InlineSignImplementation of theInlineSignoperation using an external SOP binary.
-
-
Constructor Summary
Constructors Constructor Description InlineSignExternal(java.lang.String binary, java.util.Properties environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description sop.Readydata(java.io.InputStream data)sop.operation.InlineSignkey(java.io.InputStream key)sop.operation.InlineSignmode(sop.enums.InlineSignAs mode)sop.operation.InlineSignnoArmor()sop.operation.InlineSignwithKeyPassword(byte[] password)
-
-
-
Method Detail
-
noArmor
public sop.operation.InlineSign noArmor()
- Specified by:
noArmorin interfacesop.operation.AbstractSign<sop.operation.InlineSign>
-
key
public sop.operation.InlineSign key(java.io.InputStream key) throws sop.exception.SOPGPException.KeyCannotSign, sop.exception.SOPGPException.BadData, sop.exception.SOPGPException.UnsupportedAsymmetricAlgo, java.io.IOException- Specified by:
keyin interfacesop.operation.AbstractSign<sop.operation.InlineSign>- Throws:
sop.exception.SOPGPException.KeyCannotSignsop.exception.SOPGPException.BadDatasop.exception.SOPGPException.UnsupportedAsymmetricAlgojava.io.IOException
-
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(java.io.InputStream data) throws java.io.IOException, sop.exception.SOPGPException.KeyIsProtected, sop.exception.SOPGPException.ExpectedText- Specified by:
datain interfacesop.operation.InlineSign- Throws:
java.io.IOExceptionsop.exception.SOPGPException.KeyIsProtectedsop.exception.SOPGPException.ExpectedText
-
-