Code Comments
Programming Forum and web based access to our favorite programming groups.Hello- I am working to implement Java PGP decryption in a web app. The target documents are being encrypted and then placed on the application server. The app will be decrypting at runtime. I have been able to implement the Java code on a Sybase application server, but when I moved the code over to the WAS6 environment, it failed with the following exception: "Unsupported keysize or algorithm parameters" After doing some reading, I found that changing the JCE policy JARs under the lib/security folder could fix the issue above. So I put them in place, but then I got this exception: "Class not found: javax/crypto/b" I have the jce.jar file in the classpath, but still no good. If anyone has any insight into a resolution for the above issues, I would love to hear it. Thanks, Andrew Maddox
Post Follow-up to this messageI solved my issue. I needed to use the IBM unlimited jars not the Sun jars. Then all was well.
Post Follow-up to this messageOn Thu, 20 Mar 2008 08:31:58 -0700 (PDT), andrew maddox <x.zen.trick@gmail.com> wrote, quoted or indirectly quoted someone who said : >I solved my issue. I needed to use the IBM unlimited jars not the Sun >jars. Then all was well. So PGP is not part of Sun's JCE implementation but is part of some IBM implementation? Which one? -- Roedy Green Canadian Mind Products The Java Glossary http://mindprod.com
Post Follow-up to this messageandrew maddox wrote: > I solved my issue. I needed to use the IBM unlimited jars not the Sun > jars. Then all was well. BouncyCastle provides PGP libs for Java. Just in case you didn't know. Regards, Maarten
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.