Should jce files be installed on the client machine?!?
Posted on 2004-04-16
I'm writing a signed applet that makes use of JCE to decript some parameters.
The applet should work fine by just open it in a browser (that's the whole point in being an applet) and accepting the certificate that the applet contains.
In the applet html "archive" tag I added the JCE jars (sjce1_2_2.jar, local_policy.jar, sunjce_provider.jar, US_export_policy.jar) together with my applet jar .
Now, I can oly make the thing work if I add in my java plugin jre/lib/ext directory the JCE files.
Is this normal?!?
I mean to ask a client to install JCE and put the jar files in his plugin extension directory the JCE jars in order to be able to run my applet?
It doesn't make any sense!
Any ideas that I might use? Am I doing something wrong? Shouldn't JCE run fine with applets without installing anything on the client machines?