SunJCE, JDK-1.2.2RC4 -- problems finding it

2000-01-29 Thread Robert J. Hansen

Howdy, all.  Word from On High at work says that we're moving to Java
for our work, which is causing this old C++ programmer a little bit of
consternation.  But hey, spraining your brain is good exercise.  :)

The particular problem I'm facing is trying to get Sun's JCE to play
nice with the Linux JDK-1.2.2RC4.  Right now, the JDK is installed in
/usr/local; I untarred the JCE in /home/rjhansen.  It generated a jce1.2
subdirectory, and down another level from that I found jce1_2-do.jar.

I set a CLASSPATH environment variable to point at
/home/rjhansen/jce1.2/lib, but when I try and compile code using the
sun.misc.* and javax.crypto.* packages, it tells me it can't find them.

Now, I'm doing something wrong here, obviously, but I don't for the life
of me know what it is I'm doing wrong.  I couldn't find anything on the
Linux Documentation Project about this problem, the newsgroups didn't
turn up any help, and a quick browsing of the archives of this list
didn't turn up anything, either.

So please, if you're going to flame about "RTFFAQ", keep in mind I've
already tried other recourses.  :)

-- 
Robert J. Hansen 
Senior Security Specialist, Exemplary Technologies
[EMAIL PROTECTED] (work), [EMAIL PROTECTED] (home)
OpenPGP Public Key available on request


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Another JCE Question...

2000-02-01 Thread Robert J. Hansen

Howdy again, y'all, and forgive yet another JDK/JCE question.  I grabbed an
open implementation of the Sun JCE from http://www.openjce.org (it supplies the
Twofish algorithm, which I need).  Untarring it presented with a whole bunch of
files.  At any rate, in /home/rjhansen/jce-aba-1.1/lib-1.2 there's a single
file, jce.zip.  I added this file (fully qualified path and filename) to my
CLASSPATH and added a line to my java.security file.

security.provider.1=sun.security.provider.Sun
security.provider.2=com.sun.crypto.provider.SunJCE
security.provider.3=au.net.aba.crypto.provider.ABAProvider

Now, a trivial crypto program which works perfectly with the SunJCE provider is
throwing NoSuchAlgorithm exceptions when I try to use any methods from the
OpenJCE provider.

Any ideas on what I'm doing wrong here?

For the record, I'm using JDK-1.2.2RC4.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]