Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / March 2008

Tip: Looking for answers? Try searching our database.

Problem with Java PGP

Thread view: 
andrew maddox - 18 Mar 2008 16:17 GMT
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 - 20 Mar 2008 16:31 GMT
I solved my issue. I needed to use the IBM unlimited jars not the Sun
jars. Then all was well.
Roedy Green - 24 Mar 2008 08:36 GMT
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?

Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Maarten Bodewes - 30 Mar 2008 22:50 GMT
> 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.