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!

Algorithm not found exception

843810Jul 2 2002 — edited Jul 3 2002

Hi, I am trying to implement the Symmetric Key Agreement example from the Java Security book by Scott Oaks. However, when I try to execute the following piece of code, I get an Algorithm not found exception.

SecretKeyFactory skf = SecretKeyFactory.getInstance("Rijndael");

Can someone please tell me why? Also, is there a RijndaelKeySpec Class?

Note: I have added the appropriate provider to the java.security file and can execute the following piece of code with no problems.

KeyGenerator kg = KeyGenerator.getInstance("Rijndael");


Thanks in advance for all your help!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 31 2002
Added on Jul 2 2002
6 comments
190 views