Compiling the Cryptographic Message Syntax samples

To compile the Cryptographic Message Syntax sample applications, run the following command in the etjava/examples directory.

javac -sourcepath source -d classes -classpath ../lib/enttoolkit.jar;<jakarta.mail-api.jar> \
source/com/entrust/toolkit/examples/cms/DecodeESPFromPassword.java \
source/com/entrust/toolkit/examples/cms/ESPEncodeMessage.java \
source/com/entrust/toolkit/examples/cms/PasswordBasedEncryption.java

Parameter

Value

<jakarta.mail-api.jar>

The path on your computer of the jakarta.mail-api.jar third-party library downloaded from https://projects.eclipse.org/projects/ee4j.mail