Package eu.europa.esig.dss.pdf
Class PdfSigDictWrapper
java.lang.Object
eu.europa.esig.dss.pdf.PdfSigDictWrapper
- All Implemented Interfaces:
PdfSignatureDictionary
public class PdfSigDictWrapper extends Object implements PdfSignatureDictionary
The default implementation of
PdfSignatureDictionary-
Constructor Summary
Constructors Constructor Description PdfSigDictWrapper(PdfDict dictionary)Default constructor -
Method Summary
Modifier and Type Method Description ByteRangegetByteRange()Gets the signed/timestamped ByteRangeorg.bouncycastle.cms.CMSSignedDatagetCMSSignedData()Gets the CMSSignedData from /ContentsStringgetContactInfo()Gets the signer's contact infobyte[]getContents()Gets /Contents binaries (CMSSignedData)StringgetFilter()Gets the Filter valueStringgetLocation()Gets the signer's locationStringgetReason()Gets the signing reasonStringgetSignerName()Gets name of the signedDategetSigningDate()Gets the claimed signing timeStringgetSubFilter()Gets the SubFilter valueStringgetType()Gets type of the dictionary
-
Constructor Details
-
PdfSigDictWrapper
Default constructor- Parameters:
dictionary-PdfDict
-
-
Method Details
-
getSignerName
Description copied from interface:PdfSignatureDictionaryGets name of the signed- Specified by:
getSignerNamein interfacePdfSignatureDictionary- Returns:
String
-
getContactInfo
Description copied from interface:PdfSignatureDictionaryGets the signer's contact info- Specified by:
getContactInfoin interfacePdfSignatureDictionary- Returns:
String
-
getReason
Description copied from interface:PdfSignatureDictionaryGets the signing reason- Specified by:
getReasonin interfacePdfSignatureDictionary- Returns:
String
-
getLocation
Description copied from interface:PdfSignatureDictionaryGets the signer's location- Specified by:
getLocationin interfacePdfSignatureDictionary- Returns:
String
-
getSigningDate
Description copied from interface:PdfSignatureDictionaryGets the claimed signing time- Specified by:
getSigningDatein interfacePdfSignatureDictionary- Returns:
Date
-
getType
Description copied from interface:PdfSignatureDictionaryGets type of the dictionary- Specified by:
getTypein interfacePdfSignatureDictionary- Returns:
String
-
getFilter
Description copied from interface:PdfSignatureDictionaryGets the Filter value- Specified by:
getFilterin interfacePdfSignatureDictionary- Returns:
String
-
getSubFilter
Description copied from interface:PdfSignatureDictionaryGets the SubFilter value- Specified by:
getSubFilterin interfacePdfSignatureDictionary- Returns:
String
-
getCMSSignedData
public org.bouncycastle.cms.CMSSignedData getCMSSignedData()Description copied from interface:PdfSignatureDictionaryGets the CMSSignedData from /Contents- Specified by:
getCMSSignedDatain interfacePdfSignatureDictionary- Returns:
CMSSignedData
-
getContents
public byte[] getContents()Description copied from interface:PdfSignatureDictionaryGets /Contents binaries (CMSSignedData)- Specified by:
getContentsin interfacePdfSignatureDictionary- Returns:
- /Contents binaries
-
getByteRange
Description copied from interface:PdfSignatureDictionaryGets the signed/timestamped ByteRange- Specified by:
getByteRangein interfacePdfSignatureDictionary- Returns:
ByteRange
-