Hi Alex,
There was a change made in WSE 2.0. Now you would have to go about it
like:
SignatureReference r = new SignatureReference("#" + d.Id);
r.AddTransform(new
Microsoft.Web.Services2.Security.Xml.XmlDsigExcC14NTransform()) -->
this is the line you were missing
sg.AddReference(r);
(NOTE: you could also do what you do below:
sg.SignedInfo.AddReference(...) --- they both work :)
Apologies for the C# syntax above.
Thanks. Let me know if this helps or not.
Sidd
> Hello, All!
>
[quoted text clipped - 38 lines]
>
> '<remarks/>
<System.Xml.Serialization.XmlAttributeAttribute([Namespace]:="http://docs.oa
> sis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xs" & _
> "d")> _
[quoted text clipped - 19 lines]
>
> With best regards, Alex Shirshov.
Alex Shirshov - 20 Aug 2004 12:14 GMT
Hello, Sidd!
You wrote on Thu, 19 Aug 2004 17:31:44 -0700:
[Sorry, skipped]
S> Apologies for the C# syntax above.
Never mind. :)
S> Thanks. Let me know if this helps or not.
Thank you very much. It completely helps.
With best regards, Alex Shirshov.