aspose file tools*
The moose likes Other Open Source Projects and the fly likes Digital signature with IText Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Digital signature with IText" Watch "Digital signature with IText" New topic
Author

Digital signature with IText

francois tinard
Greenhorn

Joined: Aug 01, 2014
Posts: 1
Hi,
I'm new in JAVA and with IText, and I'm trying to sign a PDF with IText.
So I tried to firstly to compile this code :
http://itextpdf.com/examples/iia.php?id=222
with some modification for paths and a lot of exception I had to deal with, it finaly was OK, all my code compiled !!

however my signature is not confirmed, validated by adobe reader or other pdf reader ...
So I tried to compile a basic signature fonction :
http://sourceforge.net/p/itext/code/HEAD/tree/tutorial/signatures/src/main/java/signatures/chapter2/C2_01_SignHelloWorld.java#l8

The signature is still unvalid ...

I tried to modifie some settings in adobe reader, I created new keystores, new certificates, new CAFiles, I registered them in adobe reader but nothing is working ...

So, here am I.

Could someone help me, say me where I'm wrong, what do I wrong please ??
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Digital signature with IText