Make sure that you are using BouncyCastle 1.49. There was a problem with 1.48 with some certificates.
Paulo On Thu, Jul 4, 2013 at 5:40 PM, Stephan Wagner (calac) <stephan.wag...@calac.net> wrote: > Hi, first of all I'm not what one calls a digital signature expert but I'm > wondering if somebody might have a solution for the problem I ran into. > > Problem description: > > If I try to verify a digitally signed PDF with iText (5.4.2) verify() always > returns false (wrong result) > If I try to verify the same PDF with iTextSharp (5.4.2) Verify() returns > true (expected result) > The digital signature is also valid in Acrobat Reader (Xi) (expected result) > > When I copy the file and tamper it, iTextSharp Verify() returns false > (expected result), just to make sure it doesn't return true all the time. > > I already tried different versions back to 5.3.0, and wasn't able to get the > PDF verified from Java. > > I tried to attach a sample file, but don't know if it worked... > > Thanks a lot > Stephan > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > 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 ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ 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