Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Sending HASH to external components to get it
 signed

Jorge Ortiz Claver

2007-06-11

Replies:


Hi,

I know I have a pretty common problem but I can't find the way to solve it,
even after reading all the messages of this forum.

I need to get my PDF documents signed by external components. It seems like
what I need to do is generate a hash, send it to my external document,
retrieve from it a valid PKCS#7 and insert it into my document.

The problem I have is that everytime a generate a HASH (getting bytes with
getRangeStream) I get a different one, so I can't reproduce the signature
process and insert the PKCS#7 into my file. Does anybody know how to make it
work? How can I generate always the same HASH for one document? I read many
questions about this but no success story.

Thanks in advance,
Jorge Ortiz





--
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.