Digital signatures - chapter 2
These examples were written in the context of Chapter 2 - "PDF and digital signatures" of the Digital Signatures for PDF documents eBook.
c2_01_signhelloworld
A simple example of adding a visible signature to a document:
c2_02_signhelloworldwithtempfile
Signing a document using a temporary file to avoid OutOfMemoryExceptions
with large PDFs:
c2_03_signemptyfield
Signing an empty text field with iText:
c2_04_createemptyfield
Creating an empty text field with iText:
c2_05_customappearance
Creating a custom appearance for the signature by adding a grey background:
c2_06_signatureappearance
Creating custom text, custom fonts and using right-to-left writing in a signature:
c2_07_signatureappearances
Adding a custom image:
c2_08_signaturemetadata
Adding metadata to the signature dictionary:
c2_09_signaturetypes
Ordinary (approval) and Certification (author) signatures:
c2_10_sequentialsignatures
Sequential signatures in PDFs:
c2_11_signatureworkflow
An example where multiple signatures are required:
c2_12_lockfields
Locking fields and documents after signing: