XML and Security
The W3C has done a lot of development of various standards associated with encrypting documents for Internet messaging. The first interesting standard is XML Signature. This standard is an evolving standard for digital signatures that addresses the special requirements that XML presents for digitally signing business operations while using XML syntax. XML Signature provides authentication, data integrity, and support for non-repudation. Here is an example of XML Signature:
<?xml version="1.0" encoding="UTF-8"?> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo Id="example"> <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1" ...
Get Special Edition Using XML, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.