4. Running the protected application

The virtual coprocessor is implemented by the vldy-tech-vruntime.jar file. It uses the same key as the one used by default by the translator to cipher instructions so simply adding the jar to the class path and running the application should be enough. Data and instructions exchanged between the application and the coprocessor are logged to a java.util.logging logger named com.validy.technology.runtime. The stream can be captured simply by configuring the logging system. A sample logging.properties file can be found in the examples directory.

The virtual coprocessor supports both versions of the token instruction set. To choose which version should be simulated, the system property com.validy.technology.runtime.version must be set to either 1 or 2. By default, version 2 of the instruction set is simulated.

The interface with the hardware secure coprocessor is implemented by the vldy-tech-runtime.jar file. In the current version, Java 6 is required to use this jar. Data and instructions exchanged between the application and the coprocessor are not logged by the runtime.

The hardware coprocessor must be plugged in before launching the protected application.