public class PdfDigitalSignature extends DigitalSignature
Contains Pdf Digital signature properties.
Constructor and Description |
---|
PdfDigitalSignature()
Initialize Pdf Digital Signature with no certificate.
|
PdfDigitalSignature(KeyStore certificate)
Create Pdf Digital signature with specified certificate.
|
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Clone Barcode Signature instance.
|
boolean |
equals(Object signature)
Overwrites Equals method to compare signature properties
|
String |
getContactInfo()
Information provided by the signer to enable a recipient to contact the signer
to verify the signature, e.g.
|
String |
getLocation()
The CPU host name or physical location of the signing.
|
String |
getReason()
The reason for the signing, such as (I agree…).
|
boolean |
getShowProperties()
Force to show/hide signature properties.
|
TimeStamp |
getTimeStamp()
Time stamp for Pdf digital signature.
|
int |
getType()
Type of Pdf digital signature.
|
int |
hashCode()
Overrides GetHashCode method
|
void |
setContactInfo(String value)
Information provided by the signer to enable a recipient to contact the signer
to verify the signature, e.g.
|
void |
setLocation(String value)
The CPU host name or physical location of the signing.
|
void |
setReason(String value)
The reason for the signing, such as (I agree…).
|
void |
setShowProperties(boolean value)
Force to show/hide signature properties.
|
void |
setTimeStamp(TimeStamp value)
Time stamp for Pdf digital signature.
|
void |
setType(int value)
Type of Pdf digital signature.
|
getCertificate, getComments, getSignTime, getThumbprint, getXAdESType, isValid, loadDigitalSignatures, setCertificate, setComments, setSignTime, setValid, setXAdESType
getCreatedOn, getDeleted, getHeight, getLeft, getModifiedOn, getPageNumber, getSignatureId, getSignatureType, getTop, getWidth, isSignature, setCreatedOn, setHeight, setLeft, setModifiedOn, setPageNumber, setSignature, setTop, setWidth, supportMetaInfoLayer, toString
public PdfDigitalSignature()
Initialize Pdf Digital Signature with no certificate.
public PdfDigitalSignature(KeyStore certificate)
Create Pdf Digital signature with specified certificate.
certificate
- X509 certificate.public Object deepClone()
Clone Barcode Signature instance.
deepClone
in class DigitalSignature
public boolean equals(Object signature)
Overwrites Equals method to compare signature properties
equals
in class DigitalSignature
signature
- Signature object to compare with.public final String getContactInfo()
Information provided by the signer to enable a recipient to contact the signer to verify the signature, e.g. a phone number.
public final String getLocation()
The CPU host name or physical location of the signing.
public final String getReason()
The reason for the signing, such as (I agree…).
public final boolean getShowProperties()
Force to show/hide signature properties. In case ShowProperties is true signature
field has predefined format of appearance
Digitally signed by {ContactInfo
(getContactInfo()
/setContactInfo(String)
)} Date: {Date} Reason: {Reason
(getReason()
/setReason(String)
)}
Location: {Location
(getLocation()
/setLocation(String)
)}
ShowProperties is true by default.
public final TimeStamp getTimeStamp()
Time stamp for Pdf digital signature. Default value is null.
public final int getType()
Type of Pdf digital signature.
public int hashCode()
Overrides GetHashCode method
hashCode
in class DigitalSignature
public final void setContactInfo(String value)
Information provided by the signer to enable a recipient to contact the signer to verify the signature, e.g. a phone number.
public final void setLocation(String value)
The CPU host name or physical location of the signing.
public final void setReason(String value)
The reason for the signing, such as (I agree…).
public final void setShowProperties(boolean value)
Force to show/hide signature properties. In case ShowProperties is true signature
field has predefined format of appearance
Digitally signed by {ContactInfo
(getContactInfo()
/setContactInfo(String)
)} Date: {Date} Reason: {Reason
(getReason()
/setReason(String)
)}
Location: {Location
(getLocation()
/setLocation(String)
)}
ShowProperties is true by default.
public final void setTimeStamp(TimeStamp value)
Time stamp for Pdf digital signature. Default value is null.
public final void setType(int value)
Type of Pdf digital signature.