Dear iTextSharp support, I could not find a place where bug can be reported. So I am writing it here.
While I was trying to verify PDF document I was getting NullReferenceException and StackTrace pointed me to PdfPKCS7 constructor PdfPKCS7(byte[] contentsKey, byte[] certsKey) There I found that signCert was null on this<http://sourceforge.net/p/itextsharp/code/HEAD/tree/trunk/src/core/iTextSharp/text/pdf/security/PdfPKCS7.cs#l150> line. I fixed it with changing this<http://sourceforge.net/p/itextsharp/code/HEAD/tree/trunk/src/core/iTextSharp/text/pdf/security/PdfPKCS7.cs#l141> line like if (signCert == null) Best regards, Niko Dzneladze Junior Programmer Public Service Development Agency, Ministry of Justice of Georgia 67a Akaki Tsereteli Avenue Tbilisi 0154, Georgia [cid:image002.png@01CEB3A0.B4218D00](+995) 595 630630 [cid:image003.png@01CEB39F.559A9890] ________________________________ PRIVACY AND CONFIDENTIALITY NOTICE: The information contained in this communication is confidential and may be privileged. It is intended solely for the use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are hereby notified that any disclosure, copying, or distribution hereof, or action taken in reliance on the contents of this transmission is strictly prohibited. If you received this communication in error, please notify us immediately by reply email to the sender of this message.
<<inline: image001.png>>
<<inline: image003.png>>
<<inline: image002.png>>
------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. 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