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.Verify
cert(java.io.InputStream cert)
java.util.List<sop.Verification>
data(java.io.InputStream data)
sop.operation.Verify
notAfter(java.util.Date timestamp)
sop.operation.Verify
notBefore(java.util.Date timestamp)
VerifyImpl
signatures(java.io.InputStream signatures)
-
-
-
Method Detail
-
notBefore
public sop.operation.Verify notBefore(java.util.Date timestamp) throws sop.exception.SOPGPException.UnsupportedOption
- Specified by:
notBefore
in 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:
notAfter
in 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:
cert
in interfacesop.operation.Verify
- Throws:
sop.exception.SOPGPException.BadData
-
signatures
public VerifyImpl signatures(java.io.InputStream signatures) throws sop.exception.SOPGPException.BadData
- Specified by:
signatures
in 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:
data
in interfacesop.operation.VerifySignatures
- Throws:
java.io.IOException
sop.exception.SOPGPException.NoSignature
sop.exception.SOPGPException.BadData
-
-