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!

Cryptix

843810Dec 18 2002 — edited Dec 18 2002
I use the following code and i works fine when run as class files. But when i genarate a jar file then it give the following error. Colud anyone explain what is the cause.

code----
Provider pd = new cryptix.provider.Cryptix(); Security.addProvider(pd);
xjava.security.Cipher cp = xjava.security.Cipher.getInstance("RSA", "Cryptix");


error----

Warning: failed to load the Cryptix properties file.
Make sure that the CLASSPATH entry for Cryptix is an absolute path.
Warning: failed to load the IJCE properties file.
Make sure that the CLASSPATH entry for IJCE is an absolute path.
java.security.NoSuchAlgorithmException: Cipher is not a configured type
at xjava.security.IJCE.getImplementationClass(IJCE.java:408)
at xjava.security.IJCE.getImplementation(IJCE.java:367)
at xjava.security.Cipher.getInstance(Cipher.java:489)
at xjava.security.Cipher.getInstance(Cipher.java:452)
at testapp.TestApp.<init>(TestApp.java:38)
at testapp.TestApp.main(TestApp.java:71)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 15 2003
Added on Dec 18 2002
1 comment
630 views