Hi,

  I have read the tutorial http://itextpdf.sourceforge.net/howtosign.html.
In the tutorial, the step of generating the hash, signing it and them given the
result to PDF is done in the same program.

  I need to use two distinct programs to sign one PDF file: one to generate the
hash and the other to inject the signed hash into the PDF file (following the
tutorial instructions).

  I have tried to split the tutorial code in two but the signature placed on
resulting PDF is not recognized by Acrobat Reader. It seams the content of
PdfSignatureAppearance.getRangeStream() is not the same in consecutive
executions, generating different hash values for the same content.

  How can this be done?

Thanks in advance,
Luis Mendes







___________________________________________________________________

O SAPO já está livre de vírus com a Panda Software, fique você também!
Clique em: http://antivirus.sapo.pt


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to