Java XML Digital Signature (JSR 105) API
Sample Applications
Implementation Version: 1.0 EA
Building and Running the Sample Applications With Ant
In order to run the sample applications using the supplied Ant
build.xml files, simply follow these steps after you've installed JWSDP 1.4:
For Solaris/Linux:
- % export JAVA_HOME=<your J2SE installation directory>
- % export JWSDP_HOME=<your JWSDP1.4 installation directory>
- % export ANT_HOME=$JWSDP_HOME/apache-ant
- % export PATH=$ANT_HOME/bin:$PATH
- % cd $JWSDP_HOME/xmldsig/samples/<sample-name>
For WindowsNT/2000/XP:
- > set JAVA_HOME=<your J2SE installation directory>
- > set JWSDP_HOME=<your JWSDP1.4 installation directory>
- > set ANT_HOME=%JWSDP_HOME%\apache-ant
- > set PATH=%ANT_HOME%\bin;%PATH%
- > cd %JWSDP_HOME%\xmldsig\samples\<sample-name>
Further details for each sample application are available in the README file located under each sample directory.
List of Sample Applications
- samples/gendetached
- This sample application demonstrates how to generate a detached
XML Signature using the JSR 105 API.
-
- samples/genenveloped
- This sample application demonstrates how to generate an enveloped
XML Signature using the JSR 105 API.
-
- samples/genenveloping
- This sample application demonstrates how to generate an enveloping
XML Signature using the JSR 105 API.
-
- samples/validate
- This sample application demonstrates how to validate an
XML Signature using the JSR 105 API.
-