I am stuck with such problem: I can create signed PDF document (certificate from Win keystore) using latest iText, no problems here; I can also encrypt PDF document using PDFStamper (using PdfWriter.ENCRYPTION_AES_128) with *.cer file (certificate with public key) using latest iText, no problems here either; but I can't create valid signed and then encrypted PDF document. The key here is 'valid' as document actually is created; it can be opened only if Win keystore contains *.pfx(private + public keys, and this public key was used in encryption); but signature verification in Adobe gives "error during signature verification: signature contains incorrect, unrecognized, corrupted or suspicious data". Is it possible to encrypt document document with *.cer if it has been already signed with other certificate? -- View this message in context: http://itext-general.2136553.n4.nabble.com/PDF-Signing-Encryption-tp2966737p2966737.html Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php