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
ConstructorsConstructorDescriptionPdfTimestampToken(PdfDocTimestampRevision pdfTimestampRevision) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns the current PDF timestamp revisionprotected eu.europa.esig.dss.spi.x509.tsp.TimestampIdentifierBuilderMethods 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, toStringMethods inherited from class eu.europa.esig.dss.model.x509.Token
equals, getDSSId, getDSSIdAsString, getInvalidityReason, getPublicKeyOfTheSigner, getSignatureAlgorithm, getSignatureValidity, hashCode, isSelfSigned, isSignatureIntact, toString
-
Constructor Details
-
PdfTimestampToken
public PdfTimestampToken(PdfDocTimestampRevision pdfTimestampRevision) throws org.bouncycastle.tsp.TSPException, IOException, org.bouncycastle.cms.CMSException The default constructor- Parameters:
pdfTimestampRevision-PdfDocTimestampRevisionrelated to the current TimestampToken- Throws:
org.bouncycastle.tsp.TSPException- if a timestamp parsing issue occursIOException- if a reading exception occursorg.bouncycastle.cms.CMSException- if a CMS exception occurs
-
-
Method Details
-
getPdfRevision
Returns the current PDF timestamp revision- Returns:
PdfRevision
-
getTimestampIdentifierBuilder
protected eu.europa.esig.dss.spi.x509.tsp.TimestampIdentifierBuilder getTimestampIdentifierBuilder()- Overrides:
getTimestampIdentifierBuilderin classeu.europa.esig.dss.spi.x509.tsp.TimestampToken
-