Á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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ 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
