Reputation: 4692
We are building a web application(Java). Could anybody help brief me what we need to realize the following business scenario ?
My questions are:
Upvotes: 1
Views: 9529
Reputation: 8570
iText is a java library which, amongst other things, enables you to sign and verify signatures on pdf documents. This would enable your users to sign a pdf online. A good example of using iText for signing and verifying signatures in pdf documents can be found here
The library's licence is AGPL i.e. you need to release your software under AGPL or buy a commercial licence.
It used to be under the LGPL so you can work with iText 2.1.7 under the terms of LGPL and not need to buy a commercial licence.
Upvotes: 1
Reputation: 46040
If the data is located on the client, then your easiest option is to create a Java applet which will be executed in browser, and which will sign the data. Any data can be signed, and you don't need PDF just for signing. Generic binary data can be signed using PKCS#7/CMS format or using XMLDSig (less widespread option).
For signing data in Java applet you can use BouncyCastle or our SecureBlackbox (Java edition). BouncyCastle is open-source and SecureBlackbox comes with support, documentation and samples.
Upvotes: 0