Class DetachedVerifyExternal

java.lang.Object
sop.external.operation.DetachedVerifyExternal
All Implemented Interfaces:
sop.operation.AbstractVerify<sop.operation.DetachedVerify>, sop.operation.DetachedVerify, sop.operation.VerifySignatures

public class DetachedVerifyExternal extends Object implements sop.operation.DetachedVerify
Implementation of the DetachedVerify operation using an external SOP binary.
  • Constructor Details

    • DetachedVerifyExternal

      public DetachedVerifyExternal(String binary, Properties environment)
  • Method Details

    • notBefore

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