libjss.so
on UNIX, jss.dll
on Windows) and a ZIP file
(jss.zip
) containing system-independent Java classes.
These classes are compatible with JDK 1.1 or later using the native
thread implementation (not green threads).
jss.zip
in your
CLASSPATH
.
libjss.so
in your
LD_LIBRARY_PATH
(on UNIX) or jss.dll
in your PATH
(on Windows), and put
jss.zip
in your CLASSPATH
.
NSSInit.initialize
must be called to open the security
databases and initialize the random number generator.
NSSInit.setPasswordCallback
may be called to change the password
callback; the default is to prompt for passwords on the command line.
The files in the examples
directory illustrate the use of JSS
in an application:
cert7.db
and key3.db
files, also in the
examples
directory,
can be used for this purpose. When SSLServer
is run,
it will ask for a password
for the "Internal Key Storage Token", which is the key database.
The password for the example key3.db
file is "netscape".
org.mozilla.jss.ssl
package.
The .class
files must be put in the subdirectory
org/mozilla/jss/ssl
of a CLASSPATH
entry
in order to be located by the Java virtual machine.