I'm currently using Sun's JSSE to allow me to POST information from an
Applet (running under the java plugin 1.3.1) to a Servlet using https. But
now I need to use JSS instead so that the software can use a FIPS 140
approved encryption module.
With JSSE all I have to do is add the following 3 lines of code:
System.setProperty("java.protocol.handler.pkgs",
"com.sun.net.ssl.internal.www.protocol");
Class cprov =
Class.forName("com.sun.net.ssl.internal.ssl.Provider");
java.security.Security.addProvider((java.security.Provider)cprov.newInstance
());
after that I can then use https in a URL object, like:
URL url = new URL("https://someserver.com");
URLConnection conn = url.openConnection();
How can I setup JSS to allow me to do the same thing? I understand that
since I'm running in an applet, I would have to have JSS and NSS already
installed on the machine.
Any help would be greatly appreciated,
Chris