It's not possible to do a two step signing. To be able to do that requires 
some source modifications.

Paulo

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, August 08, 2007 7:32 PM
Subject: [iText-questions] How to Digital signing in two steps


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


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to