Module jpms_dss_pades
Class PdfRevisionTimestampSource
java.lang.Object
eu.europa.esig.dss.validation.timestamp.AbstractTimestampSource
eu.europa.esig.dss.pades.validation.timestamp.PdfRevisionTimestampSource
public class PdfRevisionTimestampSource
extends eu.europa.esig.dss.validation.timestamp.AbstractTimestampSource
Extracts a timestamp from a single
PdfRevision-
Constructor Summary
ConstructorsConstructorDescriptionPdfRevisionTimestampSource(PdfRevision pdfRevision, eu.europa.esig.dss.spi.x509.ListCertificateSource certificateSource, eu.europa.esig.dss.spi.x509.revocation.ListRevocationSource<eu.europa.esig.dss.model.x509.revocation.crl.CRL> crlSource, eu.europa.esig.dss.spi.x509.revocation.ListRevocationSource<eu.europa.esig.dss.model.x509.revocation.ocsp.OCSP> ocspSource) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionList<eu.europa.esig.dss.spi.x509.tsp.TimestampedReference>Returns incorporated references for the revisioneu.europa.esig.dss.spi.x509.tsp.TimestampTokengetVRITimestampToken(String vriKey) Returns a timestamp token extracted from the VRI dictionary with the given keyMethods inherited from class eu.europa.esig.dss.validation.timestamp.AbstractTimestampSource
addReference, addReference, addReferences, createReferenceForCertificate, createReferenceForIdentifier, createReferencesForCertificateRefs, createReferencesForCertificates, createReferencesForCRLBinaries, createReferencesForCRLRefs, createReferencesForIdentifiers, createReferencesForOCSPBinaries, createReferencesForOCSPBinary, createReferencesForOCSPRefs, getEncapsulatedValuesFromTimestamp, getReferencesFromTimestamp, getSignerDataTimestampedReferences
-
Constructor Details
-
PdfRevisionTimestampSource
public PdfRevisionTimestampSource(PdfRevision pdfRevision, eu.europa.esig.dss.spi.x509.ListCertificateSource certificateSource, eu.europa.esig.dss.spi.x509.revocation.ListRevocationSource<eu.europa.esig.dss.model.x509.revocation.crl.CRL> crlSource, eu.europa.esig.dss.spi.x509.revocation.ListRevocationSource<eu.europa.esig.dss.model.x509.revocation.ocsp.OCSP> ocspSource) Default constructor- Parameters:
pdfRevision-PdfRevisionto extract references fromcertificateSource-CertificateSourcea merged certificate source to search certificate binariescrlSource-ListRevocationSourcemerged CRL sourceocspSource-ListRevocationSourcemerged OCSP source
-
-
Method Details
-
getIncorporatedReferences
Returns incorporated references for the revision- Returns:
- a list of
TimestampedReferences
-
getVRITimestampToken
Returns a timestamp token extracted from the VRI dictionary with the given key- Parameters:
vriKey-Stringsha-1 of the corresponding signature value- Returns:
TimestampToken
-