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!!