The signature element is used to add a signature to the PDF document.
If the width, height, or page is zero, then no visible signature rectangle is created.
Syntax:
Element | Attributes | Value | Notes for Element/Attribute/Value |
|---|---|---|---|
signature | name | string | |
keystore | string | JKS keystore. | |
password | string | JKS keystore password. | |
alias | string | JKS keystore alias. | |
page | integer | Default is 1. | |
x1 | integer | Default is 0. | |
y1 | integer | Default is 0. | |
width | integer | Default is 0. | |
height | integer | Default is 0. | |
reason | string | ||
location | string | ||
text | string | ||
date | string | ||
signed | string | Self |
Example
<signature name="verify" keystore="pdf-sign.jks" password="password" alias="pdf" page="2" x1="100" y1="100" width="100" height="100" reason="My Reason" location="My Location" text="My text" date="19610324" signed="self"/>