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

Re: What exactly is canonicalised

From: Aleksey Sanin <aleksey@aleksey.com>
Date: Sat, 05 Jul 2003 16:19:08 -0700
Message-ID: <3F075CEC.50107@aleksey.com>
To: Tarun Pinto Pereira <tarun_pinto@hotmail.com>
Cc: w3c-ietf-xmldsig@w3.org
When calculating digests, you may specify c14n in <Transform/>
element [1]:

    Any canonicalization algorithm that can be used for 
|CanonicalizationMethod|
    (such as those in  Canonicalization Algorithms 
<http://www.w3.org/TR/xmldsig-core/#sec-c14nAlg> (section 6.5)) can be 
used as
    a |Transform|.  

 or the default c14n would be used [2]:
   
    If the data object is a node-set and the next transform requires 
octets,
    the signature application MUST attempt to convert the node-set to
    an octet stream using Canonical XML [XML-C14N 
<http://www.w3.org/TR/xmldsig-core/#ref-XML-C14N>].  


Aleksey

[1] http://www.w3.org/TR/xmldsig-core/#sec-Canonicalization
[2] http://www.w3.org/TR/xmldsig-core/#sec-ReferenceProcessingModel
Received on Saturday, 5 July 2003 19:19:19 GMT

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