[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iaik-jce] Provider "IAIK" not found

OK, but the following code does work  :

IAIK p=new IAIK();

the loadClass function is returning true (even without the iaik_jce_ae.jar
present, incidentally - a bug?),
the IAIK constructor,and the call to the static function getMd5() are
executing with no exceptions,
so why would iaik.security.provider.IAIK.addAsProvider be throwing
NoSuchMethodError ?

BTW I am using the free evaluation version of the libraries. Does it make a
difference ?


-----Original Message-----
From: Andreas Sterbenz <Andreas.Sterbenz@iaik.tu-graz.ac.at>
To: Robert Semenoff <r.semenoff@worldnet.att.net>;
iaik-jce@iaik.tu-graz.ac.at <iaik-jce@iaik.tu-graz.ac.at>
Date: Wednesday, August 04, 1999 1:59 AM
Subject: Re: [iaik-jce] Provider "IAIK" not found

First, you cannot mix between the standard edition and the applet edition
JAR files. If you use the applet edition, you have to use _ae JAR files
only (iaik_jce_ae.jar, rsa_rc4_ae.jar, etc.). The jdk11x_update.jar file
is not needed for the applet edition.

Also, you need to compile against the same JAR files that use to execute.
If you get a NoSuchMethodError at runtime but compilation works fine you
are not doing that and you should check your CLASSPATH.


Andreas Sterbenz              mailto:Andreas.Sterbenz@iaik.tu-graz.ac.at

-----Ursprüngliche Nachricht-----
Von: Robert Semenoff <r.semenoff@worldnet.att.net>
An: <iaik-jce@iaik.tu-graz.ac.at>
Gesendet: Mittwoch, 04. August 1999 09:28
Betreff: [iaik-jce] Provider "IAIK" not found

Cipher cipher;
cipher = Cipher.getInstance("RC4", "IAIK");

Is throwing "provider not found" when running as an applet in a browser.
I'm using JDK1.17B only, -classpath is pointing to rsa_rc4.jar,
and jdx11x_update.jar (although I can't tell if the last one's necessary
or not with iaik-jce-ae2.51).
Everything compiles with no errors and no warnings.

So after checking the mailing list archives, I find I need to add the

import iaik.security.provider.IAIK;

but now this also throws an exception ("method not found").

I'm at a loss as to what I could be missing. Can anyone verify that this
has been done before
(using RC4 cipher objects in a standalone applet, using only JDK1.17B) ?


Mailinglist-archive at http://jcewww.iaik.tu-graz.ac.at/mailarchive/iaik-jce/maillist.html

To unsubscribe send an email to listserv@iaik.tu-graz.ac.at with the folowing content: UNSUBSCRIBE iaik-jce