Cryptix
843810Dec 18 2002 — edited Dec 18 2002I 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)