Home > Archive > Java Security > March 2008 > Problem with Java PGP
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Problem with Java PGP
|
|
| andrew maddox 2008-03-18, 7:27 pm |
| 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
| |
| andrew maddox 2008-03-20, 7:23 pm |
| I solved my issue. I needed to use the IBM unlimited jars not the Sun
jars. Then all was well.
| |
| Roedy Green 2008-03-24, 4:43 am |
| On 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
| |
| Maarten Bodewes 2008-03-30, 10:09 pm |
| andrew 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
|
|
|
|
|