Class PdfTimestampToken

java.lang.Object
eu.europa.esig.dss.model.x509.Token
eu.europa.esig.dss.spi.x509.tsp.TimestampToken
eu.europa.esig.dss.pades.validation.timestamp.PdfTimestampToken
All Implemented Interfaces:
eu.europa.esig.dss.model.identifier.IdentifierBasedObject, Serializable

public class PdfTimestampToken extends eu.europa.esig.dss.spi.x509.tsp.TimestampToken
Specific class for a PDF TimestampToken
See Also:
  • Field Summary

    Fields inherited from class eu.europa.esig.dss.model.x509.Token

    publicKeyOfTheSigner, signatureAlgorithm, signatureInvalidityReason, signatureValidity
  • Constructor Summary

    Constructors
    Constructor
    Description
    The default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the current PDF timestamp revision
    protected eu.europa.esig.dss.spi.x509.tsp.TimestampIdentifierBuilder
     

    Methods inherited from class eu.europa.esig.dss.spi.x509.tsp.TimestampToken

    areReferenceValidationsValid, buildTokenIdentifier, checkIsSignedBy, checkIsSignedBy, getAbbreviation, getArchiveTimestampType, getCandidatesForSigningCertificate, getCanonicalizationMethod, getCertificateRefs, getCertificates, getCertificateSource, getCreationDate, getCRLSource, getDigest, getDigestAlgorithm, getEncoded, getFileName, getGenerationTime, getIssuerX500Principal, getManifestFile, getMessageImprint, getOCSPSource, getReferenceValidations, getSignerInformation, getSignerInformationStoreInfos, getTimeStamp, getTimestampedReferences, getTimestampIncludes, getTimestampScopes, getTimeStampType, getTSTInfoTsa, getUnsignedAttributes, isMessageImprintDataFound, isMessageImprintDataIntact, isProcessed, isSignedBy, isSignedBy, isValid, matchData, matchData, matchData, matchData, matchData, matchData, setArchiveTimestampType, setCanonicalizationMethod, setFileName, setManifestFile, setReferenceValidations, setTimestampIncludes, setTimestampScopes, toString

    Methods inherited from class eu.europa.esig.dss.model.x509.Token

    equals, getDSSId, getDSSIdAsString, getInvalidityReason, getPublicKeyOfTheSigner, getSignatureAlgorithm, getSignatureValidity, hashCode, isSelfSigned, isSignatureIntact, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PdfTimestampToken

      public PdfTimestampToken(PdfDocTimestampRevision pdfTimestampRevision) throws org.bouncycastle.tsp.TSPException, IOException, org.bouncycastle.cms.CMSException
      The default constructor
      Parameters:
      pdfTimestampRevision - PdfDocTimestampRevision related to the current TimestampToken
      Throws:
      org.bouncycastle.tsp.TSPException - if a timestamp parsing issue occurs
      IOException - if a reading exception occurs
      org.bouncycastle.cms.CMSException - if a CMS exception occurs
  • Method Details

    • getPdfRevision

      public PdfDocTimestampRevision getPdfRevision()
      Returns the current PDF timestamp revision
      Returns:
      PdfRevision
    • getTimestampIdentifierBuilder

      protected eu.europa.esig.dss.spi.x509.tsp.TimestampIdentifierBuilder getTimestampIdentifierBuilder()
      Overrides:
      getTimestampIdentifierBuilder in class eu.europa.esig.dss.spi.x509.tsp.TimestampToken