Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Problem with Java PGP
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

Report this thread to moderator Post Follow-up to this message
Old Post
andrew maddox
03-19-08 12:27 AM


Re: Problem with Java PGP
I solved my issue. I needed to use the IBM unlimited jars not the Sun
jars. Then all was well.

Report this thread to moderator Post Follow-up to this message
Old Post
andrew maddox
03-21-08 12:23 AM


Re: Problem with Java PGP
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

Report this thread to moderator Post Follow-up to this message
Old Post
Roedy Green
03-24-08 09:43 AM


Re: Problem with Java PGP
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

Report this thread to moderator Post Follow-up to this message
Old Post
Maarten Bodewes
03-31-08 03:09 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Java Security archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:11 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.