W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > April to June 2002

Re: Question on canonicalization and namespaces

From: Joseph Reagle <reagle@w3.org>
Date: Thu, 6 Jun 2002 17:07:08 -0400
To: "Spielman, Terence" <TSpielma@inovant.com>
Cc: "'w3c-ietf-xmldsig@w3.org'" <w3c-ietf-xmldsig@w3.org>
Message-Id: <20020606210708.39BED859F5@aeon.w3.org>

On Thursday 06 June 2002 10:37 am, Spielman, Terence wrote:
> "Yes, the namespace attribute is present in the serialized version of 
> the SignedInfo".

http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/#sec-CanonicalizationMethod
4.3.1 The CanonicalizationMethod Element
...
 The way in which the SignedInfo element is presented to the
   canonicalization method is dependent on that method. The following
   applies to algorithms which process XML as nodes or characters:
     * XML based canonicalization implementations MUST be provided with a
       [XPath] node-set originally formed from the document
       containing the SignedInfo and currently indicating the SignedInfo,
       its descendants, and the attribute and namespace nodes of
       SignedInfo and its descendant elements.
     * Text based canonicalization algorithms (such as CRLF and charset
       normalization) should be provided with the UTF-8 octets that
       represent the well-formed SignedInfo element, from the first
       character to the last character of the XML representation,
       inclusive. This includes the entire text of the start and end tags
       of the SignedInfo element as well as all descendant [187]markup
       and character data (i.e., the text) between those tags. Use
       of text based canonicalization of SignedInfo is NOT RECOMMENDED.
Received on Thursday, 6 June 2002 17:07:43 GMT

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