Package org.verapdf.pd
Class PDSignature
- java.lang.Object
-
- org.verapdf.pd.PDObject
-
- org.verapdf.pd.PDSignature
-
public class PDSignature extends PDObject
Represents digital signature on pd level.- Author:
- Sergey Shemyakov
-
-
Constructor Summary
Constructors Constructor Description PDSignature(COSDictionary dict)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]getByteRange()StringgetContactInfo()COSStringgetContents()ASAtomgetFilter()StringgetLocation()StringgetName()StringgetReason()COSArraygetReference()CalendargetSignDate()ASAtomgetSubfilter()-
Methods inherited from class org.verapdf.pd.PDObject
clear, empty, getBooleanKey, getIntegerKey, getKey, getNameKey, getObject, getRealKey, getStringKey, knownKey, removeKey, setBooleanKey, setIntegerKey, setKey, setNameKey, setObject, setObject, setStringKey, updateFromObject, updateToObject
-
-
-
-
Constructor Detail
-
PDSignature
public PDSignature(COSDictionary dict)
-
-
Method Detail
-
getByteRange
public int[] getByteRange()
- Returns:
- int[] representation of ByteRange entry.
-
getReference
public COSArray getReference()
- Returns:
- array of signature reference dictionaries.
-
getContents
public COSString getContents()
- Returns:
- COSString that contains Contents of PDSignature.
-
getFilter
public ASAtom getFilter()
- Returns:
- the name of the preferred signature handler to use when validating this signature.
-
getSignDate
public Calendar getSignDate()
- Returns:
- the time of signing.
-
getContactInfo
public String getContactInfo()
- Returns:
- information provided by the signer to enable a recipient to contact the signer to verify the signature.
-
getSubfilter
public ASAtom getSubfilter()
- Returns:
- a name that describes the encoding of the signature value and key information in the signature dictionary.
-
getName
public String getName()
- Returns:
- the name of the person or authority signing the document.
-
getLocation
public String getLocation()
- Returns:
- the CPU host name or physical location of the signing.
-
getReason
public String getReason()
- Returns:
- the reason for the signing, such as ( I agree ).
-
-