Package eu.europa.esig.dss.pdf
Class PdfDocTimestampRevision
java.lang.Object
eu.europa.esig.dss.pdf.PdfCMSRevision
eu.europa.esig.dss.pdf.PdfDocTimestampRevision
- All Implemented Interfaces:
PdfRevision
,Serializable
Signature timestamp representation
This class is only used in case of Document Timestamp (not signature-timestamp from CAdES/CMS)
- See Also:
-
Constructor Summary
ConstructorDescriptionPdfDocTimestampRevision
(PdfSignatureDictionary signatureDictionary, List<PdfSignatureField> timestampFields, DSSDocument signedContent, DSSDocument previousRevision, boolean coverCompleteRevision) Default constructor to create PdfDocTimestampInfo -
Method Summary
Modifier and TypeMethodDescriptionGets the claimed signing timeReturns the correspondingPdfTimestampToken
Methods inherited from class eu.europa.esig.dss.pdf.PdfCMSRevision
areAllOriginalBytesCovered, getByteRange, getCMSSignedData, getFields, getModificationDetection, getPdfSigDictInfo, getPreviousRevision, getSignedData, setModificationDetection
-
Constructor Details
-
PdfDocTimestampRevision
public PdfDocTimestampRevision(PdfSignatureDictionary signatureDictionary, List<PdfSignatureField> timestampFields, DSSDocument signedContent, DSSDocument previousRevision, boolean coverCompleteRevision) Default constructor to create PdfDocTimestampInfo- Parameters:
signatureDictionary
- the signature dictionarytimestampFields
- list ofPdfSignatureField
ssignedContent
-DSSDocument
the signed datapreviousRevision
-DSSDocument
the originally signed PDF revision (before signature)coverCompleteRevision
- true if the signature covers all bytes
-
-
Method Details
-
getSigningDate
Description copied from class:PdfCMSRevision
Gets the claimed signing time- Overrides:
getSigningDate
in classPdfCMSRevision
- Returns:
Date
-
getTimestampToken
Returns the correspondingPdfTimestampToken
- Returns:
PdfTimestampToken
-