Package sop.external.operation
Class DetachedVerifyExternal
- java.lang.Object
-
- sop.external.operation.DetachedVerifyExternal
-
- All Implemented Interfaces:
sop.operation.AbstractVerify<sop.operation.DetachedVerify>,sop.operation.DetachedVerify,sop.operation.VerifySignatures
public class DetachedVerifyExternal extends java.lang.Object implements sop.operation.DetachedVerifyImplementation of theDetachedVerifyoperation using an external SOP binary.
-
-
Constructor Summary
Constructors Constructor Description DetachedVerifyExternal(java.lang.String binary, java.util.Properties environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description sop.operation.DetachedVerifycert(java.io.InputStream cert)java.util.List<sop.Verification>data(java.io.InputStream data)sop.operation.DetachedVerifynotAfter(java.util.Date timestamp)sop.operation.DetachedVerifynotBefore(java.util.Date timestamp)sop.operation.VerifySignaturessignatures(java.io.InputStream signatures)
-
-
-
Method Detail
-
notBefore
public sop.operation.DetachedVerify notBefore(java.util.Date timestamp) throws sop.exception.SOPGPException.UnsupportedOption- Specified by:
notBeforein interfacesop.operation.AbstractVerify<sop.operation.DetachedVerify>- Throws:
sop.exception.SOPGPException.UnsupportedOption
-
notAfter
public sop.operation.DetachedVerify notAfter(java.util.Date timestamp) throws sop.exception.SOPGPException.UnsupportedOption- Specified by:
notAfterin interfacesop.operation.AbstractVerify<sop.operation.DetachedVerify>- Throws:
sop.exception.SOPGPException.UnsupportedOption
-
cert
public sop.operation.DetachedVerify cert(java.io.InputStream cert) throws sop.exception.SOPGPException.BadData, java.io.IOException- Specified by:
certin interfacesop.operation.AbstractVerify<sop.operation.DetachedVerify>- Throws:
sop.exception.SOPGPException.BadDatajava.io.IOException
-
signatures
public sop.operation.VerifySignatures signatures(java.io.InputStream signatures) throws sop.exception.SOPGPException.BadData, java.io.IOException- Specified by:
signaturesin interfacesop.operation.DetachedVerify- Throws:
sop.exception.SOPGPException.BadDatajava.io.IOException
-
data
public java.util.List<sop.Verification> data(java.io.InputStream data) throws java.io.IOException, sop.exception.SOPGPException.NoSignature, sop.exception.SOPGPException.BadData- Specified by:
datain interfacesop.operation.VerifySignatures- Throws:
java.io.IOExceptionsop.exception.SOPGPException.NoSignaturesop.exception.SOPGPException.BadData
-
-