5.21.7 SIGN
The SIGN command signs the specified PDF document.
Syntax:
Command |
Keyword |
Value |
Developer notes |
SIGN |
DOCUMENT |
value |
Required. PDF file. |
CONTENT |
value |
Required. XML content file. |
|
PASSWORD |
value |
Optional. User password. |
|
MASTER |
value |
Optional. Master password. |
|
NAME |
value |
Required. Name of signature. |
|
OUTPUT |
value |
Required. Signed PDF file. |
Example
SIGN DOCUMENT(file.pdf) CONTENT(signpdf.xml) NAME(signature1) OUTPUT(signed_file.pdf)
<?xml version="1.0" encoding="utf-8"?>
<document>
<signature name="signature1" keystore="pdfself.jks" password="password" page="2" x1="100" y1="100" width="100" height="100" reason="My Reason" location="My Location" text="My text" date="19610324" signed="self"/>
</document>