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 Summary
Modifier and TypeMethodDescriptionverifyTsPolicy(byte[] docBytes, org.bouncycastle.asn1.tsp.TSTInfo tstInfo, X509Certificate sigCert, List<X509Certificate> certList) Verify a timestamp according to a defined policy
-
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 timestamptstInfo- TSTInfo of the timestampsigCert- the certificate used to sign the time stampcertList- a list of certificate supporting validation of the signing certificate- Returns:
TimeStampPolicyVerificationResultverification result
-