Re: Additional namespace element in CanonicalizationMethod element
From: yves (yves_at_discussions.microsoft.com)
Date: 01/11/05
- Next message: Dilip Krishnan: "Re: Additional namespace element in CanonicalizationMethod element"
- Previous message: Dilip Krishnan: "Re: Additional namespace element in CanonicalizationMethod element"
- In reply to: Dilip Krishnan: "Re: Additional namespace element in CanonicalizationMethod element"
- Next in thread: Dilip Krishnan: "Re: Additional namespace element in CanonicalizationMethod element"
- Reply: Dilip Krishnan: "Re: Additional namespace element in CanonicalizationMethod element"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 11 Jan 2005 06:05:02 -0800
Hi Dilip,
My Axis/WSS4J web service fails with the error message 'The signature
verification failed'.
Additional info: The verification of the digest values in the Reference
elements is always (on both vclients) okay. Only the verification of the
signature value fails.
Yves
"Dilip Krishnan" wrote:
> Hello yves,
> Fails with what error message?
>
> HTH
> Regards,
> Dilip Krishnan
> MCAD, MCSD.net
> dkrishnan at geniant dot com
> http://www.geniant.com
>
> > All,
> >
> > We run a Java-based (Axis with WSS4J) webservice and we have both Java
> > and ..NET (C#) clients. While encryption is no problem for all
> > client-server combinations we have problems with signature validation
> > from C# requests. The strange thing is that we have a MS-box with the
> > C#-client which requests can be successfuly validated by the Java end
> > point and on the other (with the same exe-File) box it doesn't work.
> > After seeing that I tried to find the difference between these two C#
> > clients. The only difference I could find is in the request is in the
> > CanonicalizationMethod-element (prefix and namespace (re-)definition;
> > is already defined as default namespace in the Signature-element):
> >
> > this one works:
> > .....<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
> > <SignedInfo>
> > <CanonicalizationMethod
> > Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
> > <SignatureMethod
> > Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />....
> > this one fails:
> > .....<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
> > <SignedInfo>
> > <ds:CanonicalizationMethod
> > Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"
> > xmlns:ds="http://www.w3.org/2000/09/xmldsig#" />
> > <SignatureMethod
> > Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />....
> > I'm absolutely not sure if this is causing the problem but at least
> > this is a difference between the two boxes/clients that should not
> > occur. Following the versions we use (on both c#-clients):
> >
> > - .NET 1.1 SP1
> > - WSE SP2
> > - WinXP SP2
> > Any ideas? Thanks
> > Yves
>
>
>
- Next message: Dilip Krishnan: "Re: Additional namespace element in CanonicalizationMethod element"
- Previous message: Dilip Krishnan: "Re: Additional namespace element in CanonicalizationMethod element"
- In reply to: Dilip Krishnan: "Re: Additional namespace element in CanonicalizationMethod element"
- Next in thread: Dilip Krishnan: "Re: Additional namespace element in CanonicalizationMethod element"
- Reply: Dilip Krishnan: "Re: Additional namespace element in CanonicalizationMethod element"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|