How to install 1.0_CSPN version

Environment Prerequesites

- Operating System : Windows or GNU/Linux

- Java JRE version 6 (available at http://java.sun.com/javase/downloads/) : If the JAVA_HOME environment variable is not set, you have to set it with your JRE home directory

- You also have to install the Java Cryptographic Extensions (JCE) : You have to go to http://java.sun.com/javase/downloads/ , then click "Other Downloads" and choose "Java Cryptography Extension (JCE) […] 6" ; you then have to unzip the file into the $JAVA_HOME/jre/lib/security/ directory

LinSign installation

You just have to unzip the file.
If using Linux, you also have to grant the exec permission to the *.sh files ("chmod +x *.sh")

Certificats prerequesites

The certificate and associated private key must follow the following specifications :
- Valid X.509v3 certificate format
- RSA private key (PKCS #1)

Depending on the signature policy to be used :
- The "KeyUsage" X.509v3 extension may be set to 'digitalSignature' and/or 'nonRepudiation'
- The certificate may have to be issued by a specific AC and designated by its subject DN

Depending on the signature policy to be used, the following certificates store are supported :
- A cryptographic smartcard
- A cryptographic USB token
- A PKCS #12 file (.p12/.pfx)
- A Java Keystore file (.jks)
- The Firefox key store
- The Windows key store (via Internet Explorer)

Documents to be signed

In this specific version, only the following document format are supported :
- PDF/A (.pdf)
- HTML/CSS (.xhtml, .html, .htm)
- Text (.txt)

Usage

How to create a signature using GNU/Linux

$ cd /opt/tools/linsign
$ ./start_linsignDoc.sh

How to create a signature using Windows

$ cd ProgramFiles\LinSign
$ start_linsignDoc.bat

Web browser key store

By default, LinSign uses the Firefox key store.
To use, the Windows key store via Internet Explore, please execute the following command :

$ start_linsignDoc.bat MSIE

How to verify a signature using GNU/Linux

$ cd /opt/tools/linsign
$ ./start_linsignVerify.sh

How to verify a signature using Windows

$ cd ProgramFiles\LinSign
$ start_linsignVerify.bat