Date: Wed, 10 Dec 1997 10:41:10 -0800 (PST)
From: Jan Luehe <Jan.Luehe@Eng>
Subject: Re: jce1.1 and jdk1.1.4
To: java-security@web1.javasoft.com, edwardc@octlab.com
Edward:
> quick question. Does JCE 1.1 work with JDK1.1.4?
Yes, it does.
> When I use them together, I got:
> java.security.NoSuchAlgorithmException: algorithm DES not available.
Your CLASSPATH should contain jce.zip before any references to any JDK
zip file.
Note that you don't *need* to explicitly add any JDK zip file to your
CLASSPATH. A CLASSPATH like
% setenv CLASSPATH <your-JDK-directory>lib/jce.zip
is sufficient. The java and javac scripts will automatically get
the system classes.
FYI: We have rewritten JCE. The new JCE (1.2) will be provided
as a Java extension to JDK1.2. A beta release of JDK1.2 will
be made available very soon, and an early access version of JCE1.2
will be released at about the same time.
JCE1.2 includes:
DES (ECB, CBC, CFB, OFB)
DES-EDE (ECB, CBC, CFB, OFB)
PBE (PKCS#5 password-based encryption)
Diffie-Hellman key negotiation
Check out
http://java.sun.com/security/JCE1.2/earlyaccess/index.html
for the new JCE APIs.
Since JCE1.2 will be provided as a JAVA extension to JDK1.2 (and not
as a "drop-in" package as JCE1.1), the restrictions on CLASSPATH
mentioned above will no longer apply.
Thanks,
Jan