22.03.2015 Views

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Digital Signatures 15.3<br />

have signed the PDF file. This makes digital signatures useful for contracts or other<br />

archival legal documents.<br />

A digital signature in a PDF file has two important parts:<br />

• the certificate<br />

• a series of DLPDFFORM objects which form a visible indicator that a document is<br />

signed<br />

The certificate is supplied to <strong>DLI</strong> <strong>and</strong> contains information such as the signer's name,<br />

their location, <strong>and</strong> a signature to validate the certificate.<br />

Certificates are accepted in PKCS #7 format <strong>and</strong> in x.509 format. For PKCS #7<br />

format, the calling application must be able to supply a fully-formed certificate,<br />

complete with the signed PDF document hash (supplied by <strong>DLI</strong>); for an x.509<br />

certificate, the hash value is calculated by <strong>DLI</strong> <strong>and</strong> supplied to the application<br />

through a callback routine for signing. This is for security purposes; calling<br />

applications should use secure memory routines when signing the PDF document.<br />

The appearance of the signature is optional; if it is not set, an invisible digital<br />

signature will be added to the PDF file created by <strong>DLI</strong>. It consists of several layers:<br />

• a background layer<br />

• a layer displayed before the signature is validated<br />

• a layer for the graphical signature representation (such as a scan of a h<strong>and</strong>written<br />

signature or signature stamp)<br />

• a layer containing information about the signature<br />

Any of these layers may be omitted; if so, an empty layer is created by <strong>DLI</strong> for the<br />

signature.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!