Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Help on: Public Key Encryption using RSA

843810Apr 6 2002 — edited Jan 15 2003
I'm trying to do public key encryption using the RSA Algorithm. When I try to create a cipher using

Cipher c = Cipher.getInstance("RSA", "SunJCE");

or

Cipher c = Cipher.getInstance("RSA");

I get the Exception java.security.NoSuchAlgorithmException.

This is the case although the RSA algorithm is included in the appendix A of JCE guide.

Is it not supported by the SUN or SunJCE providers?

I'm using J2SDK 1.4.0

thanks
AshrafTA , Computer Scince Dept.,
Old Dominion University
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 12 2003
Added on Apr 6 2002
19 comments
5,165 views