Hello and thank you all.
I´ve tried many ways and I have not managed to get it working all that well.
I managed to add the signature, but Acrobat Reader said that the signature
is invalid.
I have the file .cer certificate without the private key with which has
signed the document and the file .p7s with the signature produced.
Greetings, Angel
>
> Message: 1
> Date: Fri, 24 Apr 2009 03:16:22 -0700 (PDT)
> From: mkl <[email protected]>
> Subject: Re: [iText-questions] Add sign to pdf
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=UTF-8
>
>
> ?ngel,
>
> as you seem to want to get rid of that setCrypto call, you might want to
> take a look at
>
>
> http://www.nabble.com/signing-pdf-with-external-signature-to21917425.html#a22053082
>
> http://www.nabble.com/signing-pdf-with-external-signature-to21917425.html#a22053082
>
> The code there signs using iText without calling setCrypto.
>
> Regards, Michael.
>
>
> amcereijo cereijo wrote:
> >
> > Hi, i know that this code fail because the line
> >
> > "sap.setCrypto(null, chain, null, null);"
> >
> > can not be commented. However, I can uncomment the line because I do not
> > have a pkcs12 file, but a p7s file.
> > Is there any way to use that p7s file like a pkcs12?
> >
> > Thanks, ?ngel
> >
>
> --
> View this message in context:
> http://www.nabble.com/Add-sign-to-pdf-tp23155688p23213630.html
> Sent from the iText - General mailing list archive at Nabble.com.
>
>
>
>
>
>
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/