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
Implementation of the
DetachedVerify operation using an external SOP binary.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsop.operation.DetachedVerifycert(InputStream cert) List<sop.Verification>data(InputStream data) sop.operation.DetachedVerifysop.operation.DetachedVerifysop.operation.VerifySignaturessignatures(InputStream signatures) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface sop.operation.AbstractVerify
certMethods inherited from interface sop.operation.DetachedVerify
signaturesMethods inherited from interface sop.operation.VerifySignatures
data
-
Constructor Details
-
DetachedVerifyExternal
-
-
Method Details
-
notBefore
public sop.operation.DetachedVerify notBefore(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(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(InputStream cert) throws sop.exception.SOPGPException.BadData - Specified by:
certin interfacesop.operation.AbstractVerify<sop.operation.DetachedVerify>- Throws:
sop.exception.SOPGPException.BadData
-
signatures
public sop.operation.VerifySignatures signatures(InputStream signatures) throws sop.exception.SOPGPException.BadData - Specified by:
signaturesin interfacesop.operation.DetachedVerify- Throws:
sop.exception.SOPGPException.BadData
-
data
public List<sop.Verification> data(InputStream data) throws IOException, sop.exception.SOPGPException.NoSignature, sop.exception.SOPGPException.BadData - Specified by:
datain interfacesop.operation.VerifySignatures- Throws:
IOExceptionsop.exception.SOPGPException.NoSignaturesop.exception.SOPGPException.BadData
-