oh Yes, You are correct.<br><br>I think the correct spec is :<a href="http://www.w3.org/2008/xmlsec/Drafts/xmldsig-core-11/">http://www.w3.org/2008/xmlsec/Drafts/xmldsig-core-11/</a><br><br>Regards,<br>Ashish<br><br><div class="gmail_quote">
On Wed, Aug 26, 2009 at 11:36 AM, 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;">
This is not xml dsig spec but widgets signature spec. I believe<br>
xmlsec supports the &quot;signature&quot; part of it and you can get the<br>
attributes like you describe directly from xml document.<br>
<br>
Aleksey<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 class="im">
The new DSig spec refers to the new xml properties like author, distributor etc:<br>
<br></div>
Example of a distributor signature &lt;<a href="http://www.w3.org/TR/2009/CR-widgets-digsig-20090625/#distributor-signature" target="_blank">http://www.w3.org/TR/2009/CR-widgets-digsig-20090625/#distributor-signature</a>&gt; document, named |signature1.xml|:<div>
<div></div><div class="h5"><br>
<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;   Id=&quot;DistributorASignature&quot;&gt;<br>
<br>
 &lt;SignedInfo&gt;<br>
  &lt;CanonicalizationMethod    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>
<br>
  &lt;Reference URI=&quot;config.xml&quot;&gt;<br>
   &lt;DigestMethod<br>
    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;...&lt;/DigestValue&gt;<br>
<br>
  &lt;/Reference&gt;<br>
  &lt;Reference URI=&quot;index.html&quot;&gt;<br>
    &lt;DigestMethod<br>
     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>
<br>
     &lt;DigestValue&gt;...&lt;/DigestValue&gt;<br>
  &lt;/Reference&gt;<br>
  &lt;Reference URI=&quot;icon.png&quot;&gt;<br>
   &lt;DigestMethod<br>
     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>
<br>
   &lt;DigestValue&gt;...&lt;/DigestValue&gt;<br>
  &lt;/Reference&gt;<br>
  &lt;Reference URI=&quot;#prop&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>
<br>
   &lt;DigestValue&gt;...&lt;/DigestValue&gt;<br>
  &lt;/Reference&gt;<br>
 &lt;/SignedInfo&gt;<br>
 &lt;Object Id=&quot;prop&quot;&gt;   &lt;SignatureProperties<br>
   xmlns:dsp=&quot;<a href="http://www.w3.org/2009/xmldsig-properties" target="_blank">http://www.w3.org/2009/xmldsig-properties</a>&quot;&gt;<br>
<br>
   &lt;SignatureProperty Id=&quot;profile&quot; Target=&quot;#DistributorASignature&quot;&gt;<br>
    &lt;dsp:Profile URI=&quot;<a href="http://www.w3.org/ns/widgets-digsig#profile" target="_blank">http://www.w3.org/ns/widgets-digsig#profile</a>&quot;/&gt;<br>
<br>
   &lt;/SignatureProperty&gt;    &lt;SignatureProperty Id=&quot;role&quot; Target=&quot;#DistributorASignature&quot;&gt;<br>
    &lt;dsp:Role<br>
      URI=&quot;<a href="http://www.w3.org/ns/widgets-digsig#role-distributor" target="_blank">http://www.w3.org/ns/widgets-digsig#role-distributor</a>&quot;/&gt;<br>
<br>
   &lt;/SignatureProperty&gt;    &lt;SignatureProperty Id=&quot;identifier&quot; Target=&quot;#DistributorASignature&quot;&gt;<br>
    &lt;dsp:Identifier&gt;07425f59c544b9cebff04ab367e8854a&lt;/dsp:Identifier&gt;<br>
   &lt;/SignatureProperty&gt; <br>
  &lt;/SignatureProperties&gt;  &lt;/Object&gt;   &lt;SignatureValue&gt;...&lt;/SignatureValue&gt;<br>
 &lt;KeyInfo&gt;<br>
  &lt;X509Data&gt;<br>
   &lt;X509Certificate&gt;...&lt;/X509Certificate&gt;<br>
  &lt;/X509Data&gt;<br>
<br>
 &lt;/KeyInfo&gt;<br>
<br>
Will this is supported by latest XMLSec.<br>
<br>
Regards,<br>
Ashish<br>
&lt;/Signature&gt;|<br>
<br>
<br>
<br></div></div><div class="im">
On Fri, Jul 24, 2009 at 8:58 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>
    This spec is based on XML DSig and I looks like xmlsec<br>
    should be able to handle it as-is.<br>
<br>
    Aleksey<br>
<br>
<br>
    Ashish Agrawal wrote:<br>
<br>
        Hi Aleksey,<br>
<br>
        W3C has published a new spec.<br>
<br>
        W3C Widgets 1.0: Digital Signatures specification :<br>
        <a href="http://www.w3.org/TR/2009/CR-widgets-digsig-20090625/" target="_blank">http://www.w3.org/TR/2009/CR-widgets-digsig-20090625/</a><br>
<br>
        Do you plan to provide the same support in xmlsec.<br>
<br>
        Regards,<br>
        Ashish<br>
<br>
<br>
        ------------------------------------------------------------------------<br>
<br>
        _______________________________________________<br>
        xmlsec mailing list<br></div>
        <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;<div class="im"><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>