It didn't help. I used filter PdfName.ADBE_PKCS7_SHA1 and set hasRsaData
to true.

PdfPKCS7 pk7 = new PdfPKCS7(null, chain, null, "SHA1", true);

pk7.SetExternalDigest(digest, rsadata, "RSA");

reader's signature panel says that an error ocecured while attempting to
validate this signature.

------------------------------------------------------------------------------
_______________________________________________
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/

Reply via email to