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 ByteRange
getByteRange()
Gets the signed/timestamped ByteRangeorg.bouncycastle.cms.CMSSignedData
getCMSSignedData()
Gets the CMSSignedData from /ContentsString
getContactInfo()
Gets the signer's contact infobyte[]
getContents()
Gets /Contents binaries (CMSSignedData)String
getFilter()
Gets the Filter valueString
getLocation()
Gets the signer's locationString
getReason()
Gets the signing reasonString
getSignerName()
Gets name of the signedDate
getSigningDate()
Gets the claimed signing timeString
getSubFilter()
Gets the SubFilter valueString
getType()
Gets type of the dictionary
-
Constructor Details
-
PdfSigDictWrapper
Default constructor- Parameters:
dictionary
-PdfDict
-
-
Method Details
-
getSignerName
Description copied from interface:PdfSignatureDictionary
Gets name of the signed- Specified by:
getSignerName
in interfacePdfSignatureDictionary
- Returns:
String
-
getContactInfo
Description copied from interface:PdfSignatureDictionary
Gets the signer's contact info- Specified by:
getContactInfo
in interfacePdfSignatureDictionary
- Returns:
String
-
getReason
Description copied from interface:PdfSignatureDictionary
Gets the signing reason- Specified by:
getReason
in interfacePdfSignatureDictionary
- Returns:
String
-
getLocation
Description copied from interface:PdfSignatureDictionary
Gets the signer's location- Specified by:
getLocation
in interfacePdfSignatureDictionary
- Returns:
String
-
getSigningDate
Description copied from interface:PdfSignatureDictionary
Gets the claimed signing time- Specified by:
getSigningDate
in interfacePdfSignatureDictionary
- Returns:
Date
-
getType
Description copied from interface:PdfSignatureDictionary
Gets type of the dictionary- Specified by:
getType
in interfacePdfSignatureDictionary
- Returns:
String
-
getFilter
Description copied from interface:PdfSignatureDictionary
Gets the Filter value- Specified by:
getFilter
in interfacePdfSignatureDictionary
- Returns:
String
-
getSubFilter
Description copied from interface:PdfSignatureDictionary
Gets the SubFilter value- Specified by:
getSubFilter
in interfacePdfSignatureDictionary
- Returns:
String
-
getCMSSignedData
public org.bouncycastle.cms.CMSSignedData getCMSSignedData()Description copied from interface:PdfSignatureDictionary
Gets the CMSSignedData from /Contents- Specified by:
getCMSSignedData
in interfacePdfSignatureDictionary
- Returns:
CMSSignedData
-
getContents
public byte[] getContents()Description copied from interface:PdfSignatureDictionary
Gets /Contents binaries (CMSSignedData)- Specified by:
getContents
in interfacePdfSignatureDictionary
- Returns:
- /Contents binaries
-
getByteRange
Description copied from interface:PdfSignatureDictionary
Gets the signed/timestamped ByteRange- Specified by:
getByteRange
in interfacePdfSignatureDictionary
- Returns:
ByteRange
-