Interface TimeStampPolicyVerifier

All Known Implementing Classes:
BasicTimstampPolicyVerifier

public interface TimeStampPolicyVerifier
Interface for a timestamp policy verifier
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Method Details

    • verifyTsPolicy

      TimeStampPolicyVerificationResult verifyTsPolicy(byte[] docBytes, org.bouncycastle.asn1.tsp.TSTInfo tstInfo, X509Certificate sigCert, List<X509Certificate> certList)
      Verify a timestamp according to a defined policy
      Parameters:
      docBytes - the bytes of the PDF signature holding the timestamp
      tstInfo - TSTInfo of the timestamp
      sigCert - the certificate used to sign the time stamp
      certList - a list of certificate supporting validation of the signing certificate
      Returns:
      TimeStampPolicyVerificationResult verification result