XML Security Suite: Increasing the Security of E-Business
By Doug Tidwell2005-05-18
Signing a non-XML resource
The final signing example creates a digital signature for a non-XML resource. In this example, use a GIF file that contains the developerWorks logo:
To create a digital signature, use the -ext option:
Listing 4. SampleSign application with -ext option
|
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
