Class DetachedVerifyImpl

  • All Implemented Interfaces:
    sop.operation.AbstractVerify<sop.operation.DetachedVerify>, sop.operation.DetachedVerify, sop.operation.VerifySignatures

    public class DetachedVerifyImpl
    extends java.lang.Object
    implements sop.operation.DetachedVerify
    Implementation of the
    verify
    operation using PGPainless.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      sop.operation.DetachedVerify cert​(java.io.InputStream cert)  
      java.util.List<sop.Verification> data​(java.io.InputStream data)  
      sop.operation.DetachedVerify notAfter​(java.util.Date timestamp)  
      sop.operation.DetachedVerify notBefore​(java.util.Date timestamp)  
      DetachedVerifyImpl signatures​(java.io.InputStream signatures)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface sop.operation.AbstractVerify

        cert
      • Methods inherited from interface sop.operation.DetachedVerify

        signatures
      • Methods inherited from interface sop.operation.VerifySignatures

        data
    • Constructor Detail

      • DetachedVerifyImpl

        public DetachedVerifyImpl()
    • Method Detail

      • notBefore

        public sop.operation.DetachedVerify notBefore​(java.util.Date timestamp)
                                               throws sop.exception.SOPGPException.UnsupportedOption
        Specified by:
        notBefore in interface sop.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:
        notAfter in interface sop.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:
        cert in interface sop.operation.AbstractVerify<sop.operation.DetachedVerify>
        Throws:
        sop.exception.SOPGPException.BadData
        java.io.IOException
      • signatures

        public DetachedVerifyImpl signatures​(java.io.InputStream signatures)
                                      throws sop.exception.SOPGPException.BadData
        Specified by:
        signatures in interface sop.operation.DetachedVerify
        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 interface sop.operation.VerifySignatures
        Throws:
        java.io.IOException
        sop.exception.SOPGPException.NoSignature
        sop.exception.SOPGPException.BadData