5.34.7 SIGN

The SIGN command signs the specified PDF document.

Syntax:

Command

Keyword

Value

Developer notes for Command/Keyword/Value

SIGN

DOCUMENT

value

Mandatory. PDF file.

CONTENT

value

Mandatory. XML content file.

PASSWORD

value

Optional. User password.

MASTER

value

Optional. Master password

NAME

value

Mandatory. Name of signature.

OUTPUT

value

Mandatory. Signed PDF file.

 

Example

 

SIGN DOCUMENT(report.pdf) CONTENT(signpdf.xml) NAME(signature1) OUTPUT(signed_report.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>