Git Product home page Git Product logo

signpdf's Introduction

SignPDF - a simple iText based command line application to
sign a PDF document.

Features:

    * Signs a PDF document with a valid certificate
    * Encrypts/Protects a PDF document
    * Timestamps a PDF document (optional feature)
    * Supports different Config-Files defined by env. variable


All settings will be taken from ~/.signpdf configuration file. 
If no config file exist, a fresh config file will be created.

Alternatively the environment variable SIGNPDFRC can be used to
sign with different keys.

If you omit to leave plain passwords in the config file,
you will be prompted for password by running SignPDF.

A JKS keystore with a cert signed by your desired CA is mandatory 
for use. Not mandatory, but a nice feature the tsa_url of a time 
stamp server in order to timestamp your documents.

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

Most of the crypto code is based on the iText docs at
  http://itextpdf.sourceforge.net/howtosign.html

To package you'll need folowing jar's:

  bcpkix-jdk15on-1.47.jar
  bcprov-jdk15on-1.47.jar
  itext-hyph-xml.jar
  iText.jar
  iText-xml.jar
  iText-xtra.jar
  jna.jar


signpdf's People

Contributors

bersch avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.