The PKCS#7 must be inserted in the pdf before close. There's no way to
"suspend" it and get back at a later time to add the signature.
Paulo
----- Original Message -----
From: "jortizclaver" <jortiz@(protected)>
To: <itext-questions@(protected)>
Sent: Monday, June 11, 2007 6:27 PM
Subject: [iText-questions] Sending HASH to external components to get
itsigned
>
> 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
>
-------------------------------------------------------------------------
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/