Skip to content
jabhatfield edited this page Apr 10, 2024 · 4 revisions

OpenPDF Tutorial

Cryptographically sign a PDF.

Example

See Signing in the pdf-toolbox:

  1. Create a file named VisibleSignature.pdf in the current directory.
  2. Add an unverified visible signature.
  3. Create a file named InvisibleSignature.pdf in the current directory.
  4. Add an unverified invisible signature.
  5. Extract a verified signature from a PDF that has been signed with a certificate.

⚠️ To create a verified signature, a valid certificate must be acquired from a certificate authority and a private key must be installed. See the PdfStamper Javadoc for details.