|
Hi
I have just download iText-5.2.1. The example program from part3.chapter12.EncryptionPdf says it needs the Bouncy Castle encryption package bcprov-jdk15on-146.jar Bouncy Castle only offers the latest release bcprov-jdk15on-147.jar The example fails with java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable The bcprov jar has DEREncodableVector but no DEREncodable class. Is this a problem only with the 1.47 jar? I can't find an older jar to see if it had the DEREncodable class Regards Chris Egan Spatial Information Infrastructure Information Services Branch Department of Sustainability and Environment Level 13, 570 Bourke Street, Melbourne Vic 3000 p: 03 8636 2322 | f: 03 8636 2813 e: [hidden email] Notice: It is the responsibility of the recipient to check for and remove viruses. If you have received this email in error, please notify the sender by return email, delete it from your system and destroy any copies. You are not authorised to use, communicate or rely on the information contained in this email. Please consider the environment before printing this email. ------------------------------------------------------------------------------ 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 [hidden email] 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 |
|
On 31/05/2012 2:06, [hidden email] wrote:
Is this a problem only with the 1.47 jar? I can't find an older jar to see if it had the DEREncodable class iText 5.2.1 needs BouncyCastle 1.46. The API of BouncyCastle has COMPLETELY changed between BC 1.46 and BC 1.47. That's why you're experiencing the problem you mention. The iText version in the SVN trunk has already been updated to BC 1.47. So either you wait for the next iText release (somewhere in June), or you use the iText version that is currently in the SVN trunk. ------------------------------------------------------------------------------ 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 [hidden email] 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 |
| Powered by Nabble | Edit this page |
