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
public class PdfDocTimestampRevision extends PdfCMSRevision
Signature timestamp representation
This class is only used in case of Document Timestamp (not signature-timestamp from CAdES/CMS)
-
Constructor Summary
Constructors Constructor Description PdfDocTimestampRevision(PdfSignatureDictionary signatureDictionary, List<String> timestampFieldNames, byte[] signedContent, boolean coverCompleteRevision)
Default constructor to create PdfDocTimestampInfo -
Method Summary
Modifier and Type Method Description Date
getSigningDate()
Gets the claimed signing timeTimestampToken
getTimestampToken()
Methods inherited from class eu.europa.esig.dss.pdf.PdfCMSRevision
areAllOriginalBytesCovered, getByteRange, getCMSSignedData, getFieldNames, getModificationDetection, getPdfSigDictInfo, getRevisionCoveredBytes, setModificationDetection
-
Constructor Details
-
PdfDocTimestampRevision
public PdfDocTimestampRevision(PdfSignatureDictionary signatureDictionary, List<String> timestampFieldNames, byte[] signedContent, boolean coverCompleteRevision)Default constructor to create PdfDocTimestampInfo- Parameters:
signatureDictionary
- the signature dictionarytimestampFieldNames
- list of signature field namessignedContent
- the signed datacoverCompleteRevision
- 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
-