Package eu.europa.esig.dss.pdf
Class PdfDocTimestampInfo
java.lang.Object
eu.europa.esig.dss.pdf.PdfCMSInfo
eu.europa.esig.dss.pdf.PdfDocTimestampInfo
- All Implemented Interfaces:
PdfSignatureOrDocTimestampInfo
public class PdfDocTimestampInfo extends PdfCMSInfo implements PdfSignatureOrDocTimestampInfo
Signature timestamp representation
This class is only used in case of Document Timestamp (not signature-timestamp from CAdES/CMS)
-
Constructor Summary
Constructors Constructor Description PdfDocTimestampInfo(eu.europa.esig.dss.spi.x509.CertificatePool validationCertPool, PdfSigDict signatureDictionary, PdfDssDict timestampedDssDictionary, byte[] cms, byte[] signedContent, boolean coverCompleteRevision)Default constructor to create PdfDocTimestampInfo -
Method Summary
Modifier and Type Method Description voidcheckIntegrityOnce()DategetSigningDate()eu.europa.esig.dss.validation.timestamp.TimestampTokengetTimestampToken()booleanisTimestamp()Methods inherited from class eu.europa.esig.dss.pdf.PdfCMSInfo
addOuterSignature, checkIntegrity, getCMSSignedData, getContactInfo, getContents, getDssDictionary, getFilter, getLocation, getOuterSignatures, getReason, getSigFieldName, getSignatureByteRange, getSignedDocumentBytes, getSignerName, getSubFilter, isCoverAllOriginalBytes, uniqueIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.europa.esig.dss.pdf.PdfSignatureOrDocTimestampInfo
addOuterSignature, checkIntegrity, getCMSSignedData, getContactInfo, getContents, getDssDictionary, getFilter, getLocation, getOuterSignatures, getReason, getSigFieldName, getSignatureByteRange, getSignedDocumentBytes, getSignerName, getSubFilter, isCoverAllOriginalBytes, uniqueId
-
Constructor Details
-
PdfDocTimestampInfo
public PdfDocTimestampInfo(eu.europa.esig.dss.spi.x509.CertificatePool validationCertPool, PdfSigDict signatureDictionary, PdfDssDict timestampedDssDictionary, byte[] cms, byte[] signedContent, boolean coverCompleteRevision)Default constructor to create PdfDocTimestampInfo- Parameters:
validationCertPool- the certificate poolsignatureDictionary- the signature dictionarytimestampedDssDictionary- the covered DSS dictionarycms- the CMS (CAdES) bytessignedContent- the signed datacoverCompleteRevision- true if the signature covers all bytes
-
-
Method Details
-
checkIntegrityOnce
public void checkIntegrityOnce()- Specified by:
checkIntegrityOncein classPdfCMSInfo
-
isTimestamp
public boolean isTimestamp()- Specified by:
isTimestampin interfacePdfSignatureOrDocTimestampInfo
-
getSigningDate
- Specified by:
getSigningDatein interfacePdfSignatureOrDocTimestampInfo- Overrides:
getSigningDatein classPdfCMSInfo
-
getTimestampToken
public eu.europa.esig.dss.validation.timestamp.TimestampToken getTimestampToken()
-