Package eu.europa.esig.dss.pdf
Interface PdfSignatureOrDocTimestampInfo
-
- All Known Implementing Classes:
PdfCMSInfo,PdfDocTimestampInfo,PdfSignatureInfo
public interface PdfSignatureOrDocTimestampInfoThe usage of this interface permit the user to choose the underlying PDF library use to created PDF signatures.
-
-
Method Summary
Modifier and Type Method Description voidaddOuterSignature(PdfSignatureOrDocTimestampInfo signatureInfo)voidcheckIntegrity()org.bouncycastle.cms.CMSSignedDatagetCMSSignedData()StringgetContactInfo()byte[]getContents()Returns byte array of decoding the hexadecimal string present within the /Contents dictionaryPdfDssDictgetDssDictionary()StringgetFilter()StringgetLocation()List<PdfSignatureOrDocTimestampInfo>getOuterSignatures()StringgetReason()StringgetSigFieldName()int[]getSignatureByteRange()byte[]getSignedDocumentBytes()StringgetSignerName()DategetSigningDate()StringgetSubFilter()booleanisCoverAllOriginalBytes()booleanisTimestamp()StringuniqueId()
-
-
-
Method Detail
-
getContents
byte[] getContents()
Returns byte array of decoding the hexadecimal string present within the /Contents dictionary- Returns:
- byte array
-
getSignatureByteRange
int[] getSignatureByteRange()
-
checkIntegrity
void checkIntegrity()
-
getSigFieldName
String getSigFieldName()
-
getSignerName
String getSignerName()
-
getLocation
String getLocation()
-
getContactInfo
String getContactInfo()
-
getReason
String getReason()
-
getFilter
String getFilter()
-
getSubFilter
String getSubFilter()
-
getSigningDate
Date getSigningDate()
-
getCMSSignedData
org.bouncycastle.cms.CMSSignedData getCMSSignedData()
-
getSignedDocumentBytes
byte[] getSignedDocumentBytes()
- Returns:
- the byte of what is signed (without signature, but with the placeholder)
-
getDssDictionary
PdfDssDict getDssDictionary()
-
uniqueId
String uniqueId()
-
addOuterSignature
void addOuterSignature(PdfSignatureOrDocTimestampInfo signatureInfo)
-
getOuterSignatures
List<PdfSignatureOrDocTimestampInfo> getOuterSignatures()
- Returns:
- signatures that covers a document that contains this signature
-
isTimestamp
boolean isTimestamp()
-
isCoverAllOriginalBytes
boolean isCoverAllOriginalBytes()
-
-