Compiling the XML signature samples

To compile the XML signature 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/sign/Sign.java \
source/com/entrust/toolkit/examples/xml/sign/SignEnveloping.java \
source/com/entrust/toolkit/examples/xml/sign/SignEnveloped.java \
source/com/entrust/toolkit/examples/xml/sign/SignEnvelopedXSLT.java \
source/com/entrust/toolkit/examples/xml/sign/Verify.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.