Class PdfTimestampToken
java.lang.Object
eu.europa.esig.dss.model.x509.Token
eu.europa.esig.dss.validation.timestamp.TimestampToken
eu.europa.esig.dss.pades.validation.timestamp.PdfTimestampToken
- All Implemented Interfaces:
Serializable
public class PdfTimestampToken extends TimestampToken
Specific class for a PDF TimestampToken
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class eu.europa.esig.dss.model.x509.Token
publicKeyOfTheSigner, signatureAlgorithm, signatureInvalidityReason, signatureValidity -
Constructor Summary
Constructors Constructor Description PdfTimestampToken(PdfDocTimestampRevision pdfTimestampRevision)The default constructor -
Method Summary
Modifier and Type Method Description PdfDocTimestampRevisiongetPdfRevision()Returns the current PDF timestamp revisionMethods inherited from class eu.europa.esig.dss.validation.timestamp.TimestampToken
buildTokenIdentifier, checkIsSignedBy, checkIsSignedBy, getAbbreviation, getArchiveTimestampType, getCandidatesForSigningCertificate, getCanonicalizationMethod, getCertificateRefs, getCertificates, getCertificateSource, getCreationDate, getCRLSource, getEncoded, getFileName, getGenerationTime, getIssuerX500Principal, getManifestFile, getMessageImprint, getOCSPSource, getSignerInformation, getSignerInformationStoreInfos, getTimeStamp, getTimestampAttribute, getTimestampedReferences, getTimestampIncludes, getTimestampScopes, getTimeStampType, getUnsignedAttributes, isMessageImprintDataFound, isMessageImprintDataIntact, isProcessed, isSignatureValid, isSignedBy, isSignedBy, matchData, matchData, matchData, matchData, setArchiveTimestampType, setCanonicalizationMethod, setFileName, setManifestFile, setTimestampAttribute, setTimestampIncludes, setTimestampScopes, toStringMethods inherited from class eu.europa.esig.dss.model.x509.Token
equals, getDigest, getDSSId, getDSSIdAsString, getPublicKeyOfTheSigner, getSignatureAlgorithm, getSignatureValidity, hashCode, isSelfSigned, toString
-
Constructor Details
-
PdfTimestampToken
public PdfTimestampToken(PdfDocTimestampRevision pdfTimestampRevision) throws org.bouncycastle.tsp.TSPException, IOException, org.bouncycastle.cms.CMSExceptionThe 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
-