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
--
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
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
/
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
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
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
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
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
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
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
10 matches
Mail list logo