W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > July to September 2000

Re: How XML data objects are hashed

From: Joseph M. Reagle Jr. <reagle@w3.org>
Date: Thu, 27 Jul 2000 18:59:27 -0400
Message-Id: <3.0.5.32.20000727185927.013e1f58@localhost>
To: "Steve Wang" <steve.wang@chromatix.com>
Cc: "XML DSig" <w3c-ietf-xmldsig@w3.org>
At 15:18 7/27/2000 -0400, Steve Wang wrote:
 >After reading the XMLDSIG documents, I am wondering how a XML data object
is
 >hashed.
 >For example, an object has the following data:
 ><book>
 ><name> XML for dummy </name>
 ><author> Suresh </author>
 ></book>
 >
 >How is the input stream to the hash function composed? Does it contain the
 >XML tags? (I guess so).
 >How are the spaces handled?

It is canonicalized.
http://www.w3.org/TR/2000/WD-xmldsig-core-20000711/#sec-c14nAlg

_________________________________________________________
Joseph Reagle Jr.   
W3C Policy Analyst                mailto:reagle@w3.org
IETF/W3C XML-Signature Co-Chair   http://www.w3.org/People/Reagle/
Received on Thursday, 27 July 2000 19:01:49 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:10 GMT