Samples

The etjava/examples folder of the etjava90_examples.zip distribution file includes all the required resources to run sample applications implemented with the Security Toolkit 9.0 for Java.

File

Description

etjava/examples/ant.properties

The Apache Ant properties file.

etjava/examples/build.xml

The Apache Ant file for building the toolkit samples.

etjava/examples/classes

The folder containing the class files for the compiled samples.

etjava/examples/data

The folder containing credentials and data for running the sample applications.

etjava/examples/javadoc

The folder containing the Javadoc documentation for the compiled samples.

​etjava/examples/source/com/entrust/toolkit/examples

The folder containing the source code​ of the sample applications.

Download and extract the etjava90_pqbeta.zip file to run additional Java Cryptography Architecture samples with the PKIUtil client.

To compile and run the sample applications

  1. Edit the ant.properties file and make sure the library paths in this file are valid.

  2. Open a command line in the etjava/examples folder.

  3. Run the following command.

    <ant_install>/bin/ant build

    Where <ant_install> is the path of your Apache Ant installation.

  4. Run the samples as explained in the following sections.