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