XML Security Suite: Increasing the Security of E-Business
By Doug Tidwell2005-05-18
About the sample programs
Several sample programs illustrate the various functions of the XML Security Suite. If you want to follow along with the sample programs discussed here, there are several files you need. See Resources for information on where to get these files.
- The XML Security Suite itself Add both
xss4j.jarand the path/xss4j/samplesto yourclasspath. - A Java 2 Development Kit, Version 1.2 or higher Make sure that this is the default JDK for your system.
- The
mail.jarfile from the JavaMail package Add this file to yourclasspath. - An implementation of the Java Cryptography Extension A list of cryptographic service providers can be found at the Sun Web site. To avoid export complications, the examples here use OpenJCE, a free, open-source library. The file
jce.zipis added to the classpath. - Version 2 of IBM XML Parser for Java Version 3.0.1 The file
xml4j.jarmust be in your classpath.
Tutorial Pages:
» A brief overview of Web security
» Creating a secure session
» The XML Security Suite
» XML Signatures
» About the sample programs
» Creating a certificate
» Signing an internal XML resource
» Signing an external XML resource
» Signing a non-XML resource
» Verifying a digital signature
» The joys of nonrepudiability
» Canonical XML
» Element-level encryption
» Other utilities
» Summary
» Resources
First published by IBM DeveloperWorks
