Re: What exactly is canonicalised

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 UTC