Compiling the XML encryption samples

To compile the XML encryption sample applications, run the following command in the etjava/examples directory.

javac -sourcepath source -d classes -classpath ../lib/enttoolkit.jar;<xalan.jar>;<xercesImpl.jar>;<xml-apis.jar> \
source/com/entrust/toolkit/examples/xml/encrypt/Encrypt.java \
source/com/entrust/toolkit/examples/xml/encrypt/EncryptExtended.java \
source/com/entrust/toolkit/examples/xml/encrypt/EncryptArbiraryData.java \
source/com/entrust/toolkit/examples/xml/utils/Utils.java

Parameter

Value

<xalan.jar>

The path of the xalan.jar third-party library.

<xercesImpl.jar>

The path of the xercesImpl.jar third-party library.

<xml-apis.jar>

The path of the xml-apis.jar third-party library.