Here is explained how to start using included examples.
You should have a working PKCS#11 token (PKCS#11 is a standard for implementing cryptographic operations on hardware tokens), along with all necessary software layers on your system.
If the token is a SmartCard, a SmartCard reader with related drivers has to be installed onto the system. The system ordinarily talks with Card and Reader (or USB token) using the PCSC standard. Some USB tokens use the HID (Human Interface Device) protocol, so that no PCSC layer is required (and no reader drivers to install). The library implementing PKCS#11 is then very often based on PCSC, but in some cases on HID.
If PCSC is required, on Linux systems you need a pcsc daemon up and running (pcscd). On Windows systems, the "Smart Card" service takes care of PCSC, and should be up and running as well.
You should have installed a Java Runtime Environment, downloading it from Sun's website. I suggest to use a version not before 1.4.2_06, to avoid this
If you plan to build the sources, download the JDK, instead of JRE; the JDK includes the JRE also.
Download the latest j4sign binary distribution from here.
Extract the zipped file in a directory of your choice ("j4sign", for example).
Open a console under j4sign directory, and set the JAVA_HOME environment variable to the location of the root of your java installation.
Finally, you can launch the "runcli.sh" or "runcli.bat" script to try your first j4sign signature. Good Luck!
To do: istruction for the web environmet applet-servlet example.
Style respectfully borrowed from Blue Robot's Layout Reservoir