Running SignEnvelopedXSLT

The SignEnvelopedXSLT sample application creates an enveloped XML digital signature.

To run this sample application, execute the following command line in the etjava/examples directory.

java -classpath ../lib/enttoolkit.jar;<xalan.jar>;<xercesImpl.jar>;<xml-apis.jar> com.entrust.toolkit.examples.xml.sign.SignEnvelopedXSLT <epf_file> <epf_pwd> <init.properties> <in_xml> <out_xml> <xml_element> <stylesheet_file>

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.

<epf_file>

The path of an Entrust user profile in .epf file format.

<epf_pwd>

The password for accessing the Entrust profile.

<init.properties>

The URI of the init.properties initialization file for the IXSIL library.

<in_xml>

The URI of an XML resource to be signed, for example file:/c:/test/tobesigned.xml

<out_xml>

The path of the resulting XML signed file.

<xml_element>

The name of the XML element in the document being signed where the Signature is to be inserted, For example "s:Body".

<stylesheet>

The file path of a stylesheet for XSLT transforming.