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(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()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, uniqueId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods 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 Detail
-
PdfDocTimestampInfo
public PdfDocTimestampInfo(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 Detail
-
checkIntegrityOnce
public void checkIntegrityOnce()
- Specified by:
checkIntegrityOncein classPdfCMSInfo
-
isTimestamp
public boolean isTimestamp()
- Specified by:
isTimestampin interfacePdfSignatureOrDocTimestampInfo
-
getSigningDate
public Date getSigningDate()
- Specified by:
getSigningDatein interfacePdfSignatureOrDocTimestampInfo- Overrides:
getSigningDatein classPdfCMSInfo
-
getTimestampToken
public TimestampToken getTimestampToken()
-
-