xml_dsig, C14N and comments

Hi.

Two questions:

1. How can I know as an implementor of xml_dsig whether a canonicalization
or transform with algorithm
<http://www.w3.org/TR/2000/WD-xml-c14n-20000907> was done with or without
comments?


2. Consider the following example:
<Signature xmlns="http://www.w3.org/2000/07/xmldsig#">
  <SignedInfo>
   .....
   <Reference URI="#Stuff">
      <Transforms>
         <Transform
Algorithm="http://www.w3.org/TR/2000/WD-xml-c14n-20000907" />
      </Transforms>
      ....
   </Reference>
  </SignedInfo>
...
  <Object Id="Stuff">
    <MyOwn>
      <Additional></Additional>
    </MyOwn>
  </Object>
</Signature>

Are the elements of Object treated as #PCDATA, or do I have to apply C14N?


Regards,
   Juergen

Received on Friday, 8 September 2000 03:31:45 UTC