Hi Michael, I saw these example in
http://itextpdf.sourceforge.net/howtosign.html and I found these error : KeyStore kall = PdfPKCS7.loadCacertsKeyStore(); // The method loadCacertsKeyStore() is undefined for the type PdfPKCS7 System.out.println("Subject: " + PdfPKCS7.getSubjectFields(pk.getSigningCertificate())); // The method getSubjectFields(X509Certificate) is undefined for the type PdfPKCS7 Object fails[] = PdfPKCS7.verifyCertificates(pkc, kall, null, cal); // The method verifyCertificates(X509Certificate[], KeyStore, null, Calendar) is undefined for the type PdfPKCS7 The library that I used are : iText 5.3.2 The last library of BouncyCastle I can't understand because i get these errors. Regards, Danilo Il 05/09/2012 9.39, mkl ha scritto: > Danilo, > > Danilo Nicolò wrote >> i'm writing a project that verify the digital signature of pdf (PadES >> format) with iText & BouncyCastle. Particularly I need to get signatory's >> information details. Anyone can help me? Anyone has an example? > In general iText in Action, 2nd edition, is the source of iText > documentation. The signature API has been changed fundamentally, though, > since that book has been published. Therefore Bruno has started to write a > white paper on that topic. You'll find a prerelease at the location he > announced in the following message. Validation is not yet explained there, > though: > > http://itext-general.2136553.n4.nabble.com/Signature-Appearance-tt4656075.html#a4656077 > > Various sample code snippets concerning PDF signature handling with iText > can be found here: > > http://itextpdf.sourceforge.net/howtosign.html > > More samples initially created for the book are here: > > https://itext.svn.sourceforge.net/svnroot/itext/book > > Regards, Michael > > > > -- > View this message in context: > http://itext-general.2136553.n4.nabble.com/Verify-digital-signature-pdf-example-tp4656157p4656158.html > Sent from the iText - General mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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