Hello Randolph,

  Finally I did it. Peter's help was very useful to
do it. But, at the moment, I don't know how to validate
the state of revocation of the certificate (to validate it
with CRL or with OCSP).

regards,

Luis

DI Randolph Kepplinger escribi�:
hello!

i saw that you have been posting on the subject digitally signing pdf.
did you finally succeed and do you have a working example for this?

regards

randolph

On Tue, 2 Mar 2004, [ISO-8859-1] "S?lter, Peter" wrote:


Hi Luis,
you need to calculate the signature over the whole PDF (without the
contents-data).

Therefore it's the best to
- fill the contents-field with a placeholder
- write out the whole PDF to a ByteArray
- calculate the hash-value and signature
- replace the /Contents-Data with the new data in the byte array

It's useful to do the same procedure (set placeholder-data / write out /
replace)
with the /ByteRange value, too.

Regards,
        Peter

-----Urspr?ngliche Nachricht-----
Von: Luis Pascual Forner [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 1. M?rz 2004 13:10
An: [EMAIL PROTECTED]
Betreff: [iText-questions] How to modify a signature dictionary


Hi,

  I need to modify the "/Contents" field from a signature dictionary after
"addToBody" it. How can I do?.

thanks in advance,

Luis Pascual


-- Si su programa de correo le informa de que la firma no es v?lida, se puede deber a que no tiene instalado el certificado de la Autoridad Certificadora (CA). Lo puede obtener en http://www.pki.gva.es.



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
iText-questions mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op?k
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions





-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

.


-- Si su programa de correo le informa de que la firma no es v�lida, se puede deber a que no tiene instalado el certificado de la Autoridad Certificadora (CA). Lo puede obtener en http://www.pki.gva.es.

Attachment: hello.pdf
Description: Adobe PDF document


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to