Hi All,
I'm installing jce 1.2.1 on a Windows 2000 machine. I've followed sun's docs to the T and am getting no where.
I'm doing the install as installed extensions and I've put the four *.jar files into
${jdk_home}\jre\lib\ext
and those files are:
jce1_2_1.jar
local_policy.jar
sunjce_provider.jar
US_export_policy.jar
I've edited the ${jdk_home}\jre\lib\security\java.security file to contain the line:
security.provider.3=com.sun.crypto.provider.SunJCE
I also edited the java.policy file to grant permissions to sunjce_provider.jar but I soon changed it back when I came accross some documentation that stated all *.jar in the ext\ directory have AllPermissions automatically assigned them.
I've written a test piece of code that simply creates a Cipher object and it compiles file. So the javax.crypto.* classes must be found. But when I run I get an exception:
java.security.NoSuchAlgorithmException: Algorithm Blowfish not available. I'm assuming this is b/c either I have a config wrong or I somehow need to download the algorithms package (which I believe comes with the java extension).
Please help anything at all that will be useful will be much appreciated. Thanks ahead of time.
dan
I'm installing jce 1.2.1 on a Windows 2000 machine. I've followed sun's docs to the T and am getting no where.
I'm doing the install as installed extensions and I've put the four *.jar files into
${jdk_home}\jre\lib\ext
and those files are:
jce1_2_1.jar
local_policy.jar
sunjce_provider.jar
US_export_policy.jar
I've edited the ${jdk_home}\jre\lib\security\java.security file to contain the line:
security.provider.3=com.sun.crypto.provider.SunJCE
I also edited the java.policy file to grant permissions to sunjce_provider.jar but I soon changed it back when I came accross some documentation that stated all *.jar in the ext\ directory have AllPermissions automatically assigned them.
I've written a test piece of code that simply creates a Cipher object and it compiles file. So the javax.crypto.* classes must be found. But when I run I get an exception:
java.security.NoSuchAlgorithmException: Algorithm Blowfish not available. I'm assuming this is b/c either I have a config wrong or I somehow need to download the algorithms package (which I believe comes with the java extension).
Please help anything at all that will be useful will be much appreciated. Thanks ahead of time.
dan