SignPDF – command line PDF signing tool

SignPDF – an iText based command line application to sign PDF documents.

  • Signs a PDF document with a valid Certificate
  • Encrypts/Protects a PDF Document
  • Timestamps a PDF document (optional feature)

Signed PDF’s are protected against forgery.

A JKS keystore with a signed certificate by your desired CA is mandatory for use. Optionally a time stamping server can be used (tsa_url).

The resulting PDF file will be signed and protected with permission to print, content copying and content copying for accessibility.

By default SingPDF creates a configuration file at ~/.signpdf, which can be edited for futher use.

The picture on the right hand side shows the Acrobat Reader when a signed and protected PDF document is opened.

Sources are available at GitHub:

Some useful links

Trusted Timestamping @ Wikipedia
Keytool/Keystore @ Wikipedia
Timestamping Server at EdelWeb/ON-X
iText @ Wikipedia
Portable Signer

Similar projects

JSignPdf by Josef Cacek
SignPDF by Johan Vromans
isafepdf by alaa.eddine


Leave a Reply