Hi Aleksey,<br><br>I would like to work on providing the latest canonical support, can u give me some pointers on the areas in the code where i need to foucs for the changes.<br><br>Regards,<br>Ashish<br><br><div class="gmail_quote">
On Mon, Jun 1, 2009 at 9:06 PM, Aleksey Sanin <span dir="ltr">&lt;<a href="mailto:aleksey@aleksey.com">aleksey@aleksey.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sure, I see your point. Well, I haven&#39;t seen a lot of interest<br>
in C14N 1.1 support so far. BTW, C14N is a part of LibXML2.<br>
If you need C14N 1.1, then I am sure that Daniel will be happy<br>
to apply your patches to the main tree.<br>
<br>
Aleksey<br>
<br>
<br>
Ashish Agrawal wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Aleksey,<br>
<br><div><div></div><div class="h5">
Thanks for prompt reply.<br>
<br>
The basis of my argument is the newer Widgets DSig specifies certain fixed values for Canonicalizationmethod &amp; Digest Method.<br>
<br>
Eg:<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;Signature xmlns=&quot;<a href="http://www.w3.org/2000/09/xmldsig#" target="_blank">http://www.w3.org/2000/09/xmldsig#</a>&quot;&gt;<br>
     &lt;SignedInfo&gt;<br>
         &lt;CanonicalizationMethod<br>
             Algorithm=&quot;<a href="http://www.w3.org/2006/12/xml-c14n11" target="_blank">http://www.w3.org/2006/12/xml-c14n11</a>&quot;/&gt;<br>
         &lt;SignatureMethod<br>
             Algorithm=&quot;<a href="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" target="_blank">http://www.w3.org/2001/04/xmldsig-more#rsa-sha256</a>&quot; /&gt;<br>
         &lt;Reference URI=&quot;config.xml&quot;&gt;<br>
             &lt;DigestMethod Algorithm=&quot;<a href="http://www.w3.org/2001/04/xmlenc#sha256" target="_blank">http://www.w3.org/2001/04/xmlenc#sha256</a>&quot;/&gt;<br>
             &lt;DigestValue&gt;j6...8nk=&lt;/DigestValue&gt;<br>
       &lt;/Reference&gt;<br>
        &lt;Reference URI=&quot;index.html&quot;&gt;<br>
             &lt;DigestMethod Algorithm=&quot;<a href="http://www.w3.org/2001/04/xmlenc#sha256" target="_blank">http://www.w3.org/2001/04/xmlenc#sha256</a>&quot;/&gt;<br>
             &lt;DigestValue&gt;lm...34=&lt;/DigestValue&gt;<br>
      &lt;/Reference&gt;<br>
       &lt;Reference URI=&quot;icon.png&quot;&gt;<br>
             &lt;DigestMethod Algorithm=&quot;<a href="http://www.w3.org/2001/04/xmlenc#sha256" target="_blank">http://www.w3.org/2001/04/xmlenc#sha256</a>&quot;/&gt;<br>
             &lt;DigestValue&gt;pq...56=&lt;/DigestValue&gt;<br>
       &lt;/Reference&gt;<br>
    &lt;/SignedInfo&gt;<br>
    &lt;SignatureValue&gt;MC0E~LE=&lt;/SignatureValue&gt;<br>
   &lt;KeyInfo&gt;<br>
      &lt;X509Data&gt;<br>
           &lt;X509Certificate&gt;MI...lVN&lt;/X509Certificate&gt;<br>
       &lt;/X509Data&gt;<br>
    &lt;/KeyInfo&gt;<br>
&lt;/Signature&gt;<br>
<br>
<br>
So when i create a signature file with the abov mentioned canonicalizaiton and Digest method, xmlsec fails.<br>
Pls clarify.<br>
<br>
Regards,<br>
Ashish<br>
<br></div></div><div class="im">
On Mon, Jun 1, 2009 at 8:55 PM, Aleksey Sanin &lt;<a href="mailto:aleksey@aleksey.com" target="_blank">aleksey@aleksey.com</a> &lt;mailto:<a href="mailto:aleksey@aleksey.com" target="_blank">aleksey@aleksey.com</a>&gt;&gt; wrote:<br>

<br>
    xmlsec implements XML DSig and the Widgets DSig is just<br>
    a profile of XML DSig. Thus, I don&#39;t see why you claim<br>
    that xmlsec doesn&#39;t support it.<br>
<br>
    Aleksey<br>
<br>
    Ashish Agrawal wrote:<br>
<br>
        Hi Aleksey,<br>
<br>
        I need to support<br>
        *<a href="http://www.w3.org/TR/2009/WD-widgets-digsig-20090331/*" target="_blank">http://www.w3.org/TR/2009/WD-widgets-digsig-20090331/*</a><br>
        and seems that current version of xmlsec doesn&#39;t support it, Is<br>
        there any plan for it.<br>
<br>
        Regards,<br>
        Ashish<br>
<br>
        On Mon, Jun 1, 2009 at 8:02 PM, Aleksey Sanin<br>
        &lt;<a href="mailto:aleksey@aleksey.com" target="_blank">aleksey@aleksey.com</a> &lt;mailto:<a href="mailto:aleksey@aleksey.com" target="_blank">aleksey@aleksey.com</a>&gt;<br></div><div class="im">
        &lt;mailto:<a href="mailto:aleksey@aleksey.com" target="_blank">aleksey@aleksey.com</a> &lt;mailto:<a href="mailto:aleksey@aleksey.com" target="_blank">aleksey@aleksey.com</a>&gt;&gt;&gt; wrote:<br>
<br>
           <a href="https://www.aleksey.com/xmlsec/xmldsig.html" target="_blank">https://www.aleksey.com/xmlsec/xmldsig.html</a><br>
<br>
           Aleksey<br>
<br>
           Ashish Agrawal wrote:<br>
<br>
               Hi Aleksey,<br>
<br>
               i want to know which standards of DigestMethod and<br>
               Canonicalization Method is supported by xmlsec currently.<br>
<br>
               I ve a requirement where i ve the Digest method as:<br>
               <a href="http://www.w3.org/2000/09/xmldsig#sha256" target="_blank">http://www.w3.org/2000/09/xmldsig#sha256</a> and Canonicalization<br>
               methord as : <a href="http://www.w3.org/2006/12/xml-c14n11" target="_blank">http://www.w3.org/2006/12/xml-c14n11</a>.<br>
               Will this be supported ?<br>
<br>
               ~Ashish<br>
<br>
<br>
                      ------------------------------------------------------------------------<br>
<br>
               _______________________________________________<br>
               xmlsec mailing list<br>
               <a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a> &lt;mailto:<a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a>&gt;<br></div>
        &lt;mailto:<a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a> &lt;mailto:<a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a>&gt;&gt;<div class="im"><br>
<br>
               <a href="http://www.aleksey.com/mailman/listinfo/xmlsec" target="_blank">http://www.aleksey.com/mailman/listinfo/xmlsec</a><br>
<br>
<br>
<br>
        ------------------------------------------------------------------------<br>
<br>
        _______________________________________________<br>
        xmlsec mailing list<br>
        <a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a> &lt;mailto:<a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a>&gt;<br>
        <a href="http://www.aleksey.com/mailman/listinfo/xmlsec" target="_blank">http://www.aleksey.com/mailman/listinfo/xmlsec</a><br>
<br>
<br>
</div></blockquote>
</blockquote></div><br>