GithubHelp home page GithubHelp logo

damico / csigner Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 25.25 MB

An application written in Java to work with smartcards to embed signatures on PDF, its possible to sign other types of files, in this case the signatures are generated on diferent files.

Java 100.00%

csigner's Introduction

CSigner

An application written in Java to work with smartcards to embed signatures on PDF, it is also possible to sign other file formats - in this case the signatures are generated on a distinct file. This project contains the source code to study case, javadocs and CSigner.exe use and its functions.

  • Is important to note, that this project was started to provide an open-source alternative to sign PDF documents with A3 digital certificates based on Brazil's PKI, from ICP-Brasil chain (aka e-CPF and e-CNPJ). A3 digital certificates are stored inside hardware devices, cryptographic tokens or smart cards.
  • These kind of hardware devices are accessible through a PKCS #11 standard. The implementation of these standard was done using Sun PKCS#11 Provider and specific .DLLs ans .SOs offered by the hardware manufacturers.
  • The signature itself is generated through CMS/PKCS#7 standard that provides the capability to both sign and envelope a message, using a private key and certificate from a secure device. Once the application creates a CMSSignedData object (with BouncyCastle API) it is possible to generate a signed PDF file using Apache PDFBox library.

--

Dependencies

  • bcmail (from BouncyCastle under MIT License)
  • bcpkix (from BouncyCastle under MIT License)
  • bcprov (from BouncyCastle under MIT License)
  • commons-codec (from Apache under Apache v2 License)
  • commons-logging (from Apache under Apache v2 License)
  • log4j (from Apache under Apache v2 License)
  • pdfbox (from Apache under Apache v2 License)

--

License

csigner's People

Contributors

damico avatar robsonrpg avatar vtkanegae avatar

Watchers

 avatar  avatar  avatar  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.