public class SignerProperties extends Object
| Constructor and Description |
|---|
SignerProperties()
Create instance of
SignerProperties. |
| Modifier and Type | Method and Description |
|---|---|
int |
getCertificationLevel()
Returns the document's certification level.
|
String |
getContact()
Returns the signing contact.
|
PdfSigFieldLock |
getFieldLockDict()
Getter for the field lock dictionary.
|
String |
getFieldName()
Gets the field name.
|
String |
getLocation()
Returns the signing location.
|
int |
getPageNumber()
Provides the page number of the signature field which this signature
appearance is associated with.
|
Rectangle |
getPageRect()
Provides the rectangle that represent the position and dimension
of the signature field in the page.
|
String |
getReason()
Returns the signing reason.
|
SignatureFieldAppearance |
getSignatureAppearance()
Gets signature field layout element, which customizes the appearance of a signature.
|
String |
getSignatureCreator()
Returns the signature creator.
|
Calendar |
getSignDate()
Gets the signature date.
|
SignerProperties |
setCertificationLevel(int certificationLevel)
Sets the document's certification level.
|
SignerProperties |
setContact(String contact)
Sets the signing contact.
|
SignerProperties |
setFieldLockDict(PdfSigFieldLock fieldLock)
Setter for the field lock dictionary.
|
SignerProperties |
setFieldName(String fieldName)
Sets the name indicating the field to be signed.
|
SignerProperties |
setLocation(String location)
Sets the signing location.
|
SignerProperties |
setPageNumber(int pageNumber)
Sets the page number of the signature field which this signature
appearance is associated with.
|
SignerProperties |
setPageRect(Rectangle pageRect)
Sets the rectangle that represent the position and dimension of
the signature field in the page.
|
SignerProperties |
setReason(String reason)
Sets the signing reason.
|
SignerProperties |
setSignatureAppearance(SignatureFieldAppearance appearance)
Sets the signature field layout element to customize the appearance of the signature.
|
SignerProperties |
setSignatureCreator(String signatureCreator)
Sets the name of the application used to create the signature.
|
SignerProperties |
setSignDate(Calendar signDate)
Sets the signature date.
|
public SignerProperties()
SignerProperties.public Calendar getSignDate()
public SignerProperties setSignDate(Calendar signDate)
signDate - the signature date.public SignerProperties setSignatureAppearance(SignatureFieldAppearance appearance)
appearance - the SignatureFieldAppearance layout element.public SignatureFieldAppearance getSignatureAppearance()
SignatureFieldAppearance layout element.public int getCertificationLevel()
setCertificationLevel(int).public SignerProperties setCertificationLevel(int certificationLevel)
certificationLevel - a new certification level for a document.
Possible values are: public String getFieldName()
public SignerProperties setFieldName(String fieldName)
fieldName - The name indicating the field to be signed.public int getPageNumber()
public SignerProperties setPageNumber(int pageNumber)
PdfSigner.setPageRect(com.itextpdf.kernel.geom.Rectangle)
which considers page number to process the rectangle correctly.pageNumber - The page number of the signature field which
this signature appearance is associated with.public Rectangle getPageRect()
public SignerProperties setPageRect(Rectangle pageRect)
pageRect - The rectangle that represents the position and
dimension of the signature field in the page.public PdfSigFieldLock getFieldLockDict()
public SignerProperties setFieldLockDict(PdfSigFieldLock fieldLock)
Be aware: if a signature is created on an existing signature field, then its /Lock dictionary takes the precedence (if it exists).
fieldLock - Field lock dictionary.public String getSignatureCreator()
public SignerProperties setSignatureCreator(String signatureCreator)
signatureCreator - A new name of the application signing a document.public String getContact()
public SignerProperties setContact(String contact)
contact - A new signing contact.public String getReason()
public SignerProperties setReason(String reason)
reason - A new signing reason.public String getLocation()
public SignerProperties setLocation(String location)
location - A new signing location.Copyright © 1998–2024 Apryse Group NV. All rights reserved.