Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Digital signature with IText

 
francois tinard
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic