[iText-questions] Some issues with PdfPKCS7.java concerning cert parsing

2013-04-15 Thread Stefan Santesson
Hi, I encountered a PDF signed with an AdES signature that failed signature validation. The problem turned out to be a failure to parse the signature certificates. Examining PdfPKCS7, this appears to be a known problem. In the code, where the problem occurred, I found: // the

Re: [iText-questions] Some issues with PdfPKCS7.java concerning cert parsing

2013-04-15 Thread Stefan Santesson
Subject: [iText-questions] Some issues with PdfPKCS7.java concerning cert parsing The variable signedData is actually the CMS/pkcs7 object, and the variable content is actually the SignedData object. To make it easier to review the code, I renamed signedData to cms, and content to signedData

Re: [iText-questions] Some issues with PdfPKCS7.java concerning cert parsing

2013-04-15 Thread Paulo Soares
questions about iText here itext-questions@lists.sourceforge.net Date: Monday, April 15, 2013 10:07 AM To: Post all your questions about iText here itext-questions@lists.sourceforge.net, iText Info i...@1t3xt.info Subject: [iText-questions] Some issues with PdfPKCS7.java concerning cert parsing

Re: [iText-questions] Some issues with PdfPKCS7.java concerning cert parsing

2013-04-15 Thread Stefan Santesson
Info i...@1t3xt.info Subject: [iText-questions] Some issues with PdfPKCS7.java concerning cert parsing The variable signedData is actually the CMS/pkcs7 object, and the variable content is actually the SignedData object. To make it easier to review the code, I renamed signedData to cms