Package org.pgpainless.sop
Class VerifyImpl
- java.lang.Object
-
- org.pgpainless.sop.VerifyImpl
-
- All Implemented Interfaces:
sop.operation.Verify,sop.operation.VerifySignatures
public class VerifyImpl extends java.lang.Object implements sop.operation.Verify
-
-
Constructor Summary
Constructors Constructor Description VerifyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description sop.operation.Verifycert(java.io.InputStream cert)java.util.List<sop.Verification>data(java.io.InputStream data)sop.operation.VerifynotAfter(java.util.Date timestamp)sop.operation.VerifynotBefore(java.util.Date timestamp)VerifyImplsignatures(java.io.InputStream signatures)
-
-
-
Method Detail
-
notBefore
public sop.operation.Verify notBefore(java.util.Date timestamp) throws sop.exception.SOPGPException.UnsupportedOption- Specified by:
notBeforein interfacesop.operation.Verify- Throws:
sop.exception.SOPGPException.UnsupportedOption
-
notAfter
public sop.operation.Verify notAfter(java.util.Date timestamp) throws sop.exception.SOPGPException.UnsupportedOption- Specified by:
notAfterin interfacesop.operation.Verify- Throws:
sop.exception.SOPGPException.UnsupportedOption
-
cert
public sop.operation.Verify cert(java.io.InputStream cert) throws sop.exception.SOPGPException.BadData- Specified by:
certin interfacesop.operation.Verify- Throws:
sop.exception.SOPGPException.BadData
-
signatures
public VerifyImpl signatures(java.io.InputStream signatures) throws sop.exception.SOPGPException.BadData
- Specified by:
signaturesin interfacesop.operation.Verify- Throws:
sop.exception.SOPGPException.BadData
-
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
-
-