Adding

91 views
Skip to first unread message

bhavinjo

unread,
Dec 6, 2011, 9:54:49 AM12/6/11
to xmlseclibs
Hi,
I have successfully used the xmlseclibs to sign the xml request.

However, I could not figure out how to add the following element to
the signed request.

<ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-
c14n#" PrefixList="ds saml2 xs"/>

so it should be

<ds:Reference URI="#e6b142a6-17c9-45f4-96f3-98fbd64adf59">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-
signature"/>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-
exc-c14n#" PrefixList="ds saml2 xs"/>
</ds:Transform>
</ds:Transforms>

Any help is much appreciated.

Thanks,
Bhavin

Rob Richards

unread,
Dec 11, 2011, 11:02:49 AM12/11/11
to xmlse...@googlegroups.com, xmlseclibs
I will need to add support for this as a type of transformation that can be added when adding references. Currently there is only support for this during signature verification. It is fairly simple to add but I won't get a chance to touch it until late this week at best.

Rob

> --
> You received this message because you are subscribed to the Google Groups "xmlseclibs" group.
> To post to this group, send email to xmlse...@googlegroups.com.
> To unsubscribe from this group, send email to xmlseclibs+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/xmlseclibs?hl=en.

Reply all
Reply to author
Forward
0 new messages