Re: [iText-questions] signature problem with attached document

2004-06-16 Thread Luis Pascual Forner
Hello Randolph, DI Randolph Kepplinger escribió: > .. tried to implement your hints, the size should be correct and i used a > DER object for DER encoding, but the signature still doesn't show :-( BER encoded, not DER encoded regards, Luis --

Re: [iText-questions] signature problem with attached document

2004-06-14 Thread Luis Pascual Forner
Hi Randolph, 1. The "byterange" is bad. The second array member should be 16244. 2. The signature should be BER encoded. regards DI Randolph Kepplinger escribió: hello again! can anybody see, what is wrong with the attached pdf file? the pdf shows but no signature is displayed. have i forgotten a

Re: AW: [iText-questions] How to modify a signature dictionary

2004-06-14 Thread Luis Pascual Forner
Hi Wahaj, You need to add a form with a "SignatureDict": PdfAcroForm acroForm = myWriter.getAcroForm(); document.open(); ... PdfSignature signatureDict = new PdfSignature("Adobe.PPKLite"); ... PdfIndirectObject sdIndirect = myWriter.addToBody(signatureDict); ... ac

Re: AW: [iText-questions] How to modify a signature dictionary

2004-05-14 Thread Luis Pascual Forner
/ 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 modif

Re: AW: [iText-questions] How to modify a signature dictionary

2004-03-02 Thread Luis Pascual Forner
liche 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&qu

[iText-questions] PDF signing: SigDict /Content illegal data

2004-03-02 Thread Luis Pascual Forner
Hi, I'm implementing PDF signatures using iText + BouncyCastle (a Java Cryptography API, www.bouncycastle.org). Up to the moment I have made a procedure to validate detached PKCS#7 signatures (/Filter /Adobe.PPKLite /SubFilter /adbe.pkcs7.detached). Also I have made a program to sign a docum

Re: [iText-questions] Indirect reference

2004-03-02 Thread Luis Pascual Forner
I answers myself: the PdfWriter.addTobody returns an PdfIndirectObject, and then PdfIndirectObject.getIndirectReference(). Luis Pascual Forner escribió: Hi, How can I get the indirect reference from an object?. I need it in order to reference a signature dictionary in a signature field. Thanks

[iText-questions] Indirect reference

2004-03-01 Thread Luis Pascual Forner
Hi, How can I get the indirect reference from an object?. I need it in order to reference a signature dictionary in a signature field. Thanks in advance, Luis Pascual --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and

[iText-questions] How to modify a signature dictionary

2004-03-01 Thread Luis Pascual Forner
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 Certificador

[iText-questions] Signature contents as hex chain

2004-02-27 Thread Luis Pascual Forner
Hi, I'm trying to add a signature dictionary to a PDF document. When I call the method "SignatureDict.setContents(byte[])" the "/Contents" field appears as a string (delimited by "(" and ")"), not as hexadecimal chain (a sequence of hexadecimal digits between "<" and ">"), as documented in "PDF