Class PdfRevisionTimestampSource
java.lang.Object
eu.europa.esig.dss.spi.validation.timestamp.AbstractTimestampSource
eu.europa.esig.dss.pades.validation.timestamp.PdfRevisionTimestampSource
Extracts a timestamp from a single
PdfRevision
-
Constructor Summary
ConstructorDescriptionPdfRevisionTimestampSource
(PdfRevision pdfRevision, ListCertificateSource certificateSource, ListRevocationSource<CRL> crlSource, ListRevocationSource<OCSP> ocspSource) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns incorporated references for the revisiongetVRITimestampToken
(String vriKey) Returns a timestamp token extracted from the VRI dictionary with the given keyMethods inherited from class eu.europa.esig.dss.spi.validation.timestamp.AbstractTimestampSource
addReference, addReference, addReferences, createReferenceForCertificate, createReferenceForIdentifier, createReferencesForCertificateRefs, createReferencesForCertificates, createReferencesForCRLBinaries, createReferencesForCRLRefs, createReferencesForIdentifiers, createReferencesForOCSPBinaries, createReferencesForOCSPBinary, createReferencesForOCSPRefs, getEncapsulatedValuesFromTimestamp, getReferencesFromTimestamp, getSignerDataTimestampedReferences, processEmbeddedEvidenceRecords, processEvidenceRecordTimestamps
-
Constructor Details
-
PdfRevisionTimestampSource
public PdfRevisionTimestampSource(PdfRevision pdfRevision, ListCertificateSource certificateSource, ListRevocationSource<CRL> crlSource, ListRevocationSource<OCSP> ocspSource) Default constructor- Parameters:
pdfRevision
-PdfRevision
to extract references fromcertificateSource
-CertificateSource
a merged certificate source to search certificate binariescrlSource
-ListRevocationSource
merged CRL sourceocspSource
-ListRevocationSource
merged OCSP source
-
-
Method Details
-
getIncorporatedReferences
Returns incorporated references for the revision- Returns:
- a list of
TimestampedReference
s
-
getVRITimestampToken
Returns a timestamp token extracted from the VRI dictionary with the given key- Parameters:
vriKey
-String
sha-1 of the corresponding signature value- Returns:
TimestampToken
-