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

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) ?