Hi Aleksey,<br><br>Thanks for prompt reply.<br><br>The basis of my argument is the newer Widgets DSig specifies certain fixed values for Canonicalizationmethod & Digest Method.<br><br>Eg:<br><?xml version="1.0" encoding="UTF-8"?><br>
<Signature xmlns="<a href="http://www.w3.org/2000/09/xmldsig#">http://www.w3.org/2000/09/xmldsig#</a>"><br> <SignedInfo><br> <CanonicalizationMethod<br> Algorithm="<a href="http://www.w3.org/2006/12/xml-c14n11">http://www.w3.org/2006/12/xml-c14n11</a>"/><br>
<SignatureMethod<br> Algorithm="<a href="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256">http://www.w3.org/2001/04/xmldsig-more#rsa-sha256</a>" /><br> <Reference URI="config.xml"><br>
<DigestMethod Algorithm="<a href="http://www.w3.org/2001/04/xmlenc#sha256">http://www.w3.org/2001/04/xmlenc#sha256</a>"/><br> <DigestValue>j6...8nk=</DigestValue><br> </Reference><br>
<Reference URI="index.html"><br> <DigestMethod Algorithm="<a href="http://www.w3.org/2001/04/xmlenc#sha256">http://www.w3.org/2001/04/xmlenc#sha256</a>"/><br> <DigestValue>lm...34=</DigestValue><br>
</Reference><br> <Reference URI="icon.png"><br> <DigestMethod Algorithm="<a href="http://www.w3.org/2001/04/xmlenc#sha256">http://www.w3.org/2001/04/xmlenc#sha256</a>"/><br>
<DigestValue>pq...56=</DigestValue><br> </Reference><br> </SignedInfo><br> <SignatureValue>MC0E~LE=</SignatureValue><br> <KeyInfo><br> <X509Data><br>
<X509Certificate>MI...lVN</X509Certificate><br> </X509Data><br> </KeyInfo><br></Signature><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 class="gmail_quote">On Mon, Jun 1, 2009 at 8:55 PM, Aleksey Sanin <span dir="ltr"><<a href="mailto:aleksey@aleksey.com">aleksey@aleksey.com</a>></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;">
xmlsec implements XML DSig and the Widgets DSig is just<br>
a profile of XML DSig. Thus, I don't see why you claim<br>
that xmlsec doesn't support it.<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">
I need to support *<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't support it, Is there any plan for it.<br>
<br>
Regards,<br>
Ashish<br>
<br></div><div class="im">
On Mon, Jun 1, 2009 at 8:02 PM, Aleksey Sanin <<a href="mailto:aleksey@aleksey.com" target="_blank">aleksey@aleksey.com</a> <mailto:<a href="mailto:aleksey@aleksey.com" target="_blank">aleksey@aleksey.com</a>>> 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></div>
<a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a> <mailto:<a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a>><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>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
xmlsec mailing list<br>
<a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a><br>
<a href="http://www.aleksey.com/mailman/listinfo/xmlsec" target="_blank">http://www.aleksey.com/mailman/listinfo/xmlsec</a><br>
</div></blockquote>
</blockquote></div><br>