Running SignEnveloping
The SignEnveloping sample application creates an enveloping 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.SignEnveloping <epf_file> <epf_pwd> <init.properties> <in_xml> <out_xml> |
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. |