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

    Constructors
    Constructor
    Description
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    List<eu.europa.esig.dss.spi.x509.tsp.TimestampedReference>
    Returns incorporated references for the revision
    eu.europa.esig.dss.spi.x509.tsp.TimestampToken
    Returns a timestamp token extracted from the VRI dictionary with the given key

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 - PdfRevision to extract references from
      certificateSource - CertificateSource a merged certificate source to search certificate binaries
      crlSource - ListRevocationSource merged CRL source
      ocspSource - ListRevocationSource merged OCSP source
  • Method Details

    • getIncorporatedReferences

      public List<eu.europa.esig.dss.spi.x509.tsp.TimestampedReference> getIncorporatedReferences()
      Returns incorporated references for the revision
      Returns:
      a list of TimestampedReferences
    • getVRITimestampToken

      public eu.europa.esig.dss.spi.x509.tsp.TimestampToken getVRITimestampToken(String vriKey)
      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