Package org.pgpainless.sop
Class DetachedVerifyImpl
- java.lang.Object
-
- org.pgpainless.sop.DetachedVerifyImpl
-
- All Implemented Interfaces:
sop.operation.AbstractVerify<sop.operation.DetachedVerify>,sop.operation.DetachedVerify,sop.operation.VerifySignatures
public class DetachedVerifyImpl extends Object implements sop.operation.DetachedVerify
-
-
Constructor Summary
Constructors Constructor Description DetachedVerifyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description sop.operation.DetachedVerifycert(InputStream cert)List<sop.Verification>data(InputStream data)sop.operation.DetachedVerifynotAfter(Date timestamp)sop.operation.DetachedVerifynotBefore(Date timestamp)DetachedVerifyImplsignatures(InputStream signatures)
-
-
-
Method Detail
-
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 DetachedVerifyImpl 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
-
-