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!

java.security.NoSuchAlgorithmException

843810Apr 18 2002 — edited Apr 18 2002
Hi,
I have been writing a simple program involving java security but when I mention any encryption algo like DSA I get this exception:
java.security.NoSuchAlgorithmException
my code line is:
KeyPairGenerator kpg=KeyPairGenerator.getInstance("DSA");

I have checked java.security for the required SunJCE provider and it is mentioned there.
Can anyone pls help me...
Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2002
Added on Apr 18 2002
3 comments
156 views