signedxml Questions

4

I have an XML well formatted without any spaces. It' must be like that. When I load it to XMLDocument to sign, the self-closing tags gets an extra white space and <cEAN/> becomes: <...
Aberrant asked 3/2, 2011 at 0:32

1

Solved

I'm trying to use System.Security.Cryptography (targeted framework .NET 4.5) to create xml digital signatures, so far I managed to create and verify signatures using the following scheme : RSA PKCS...
Fretwell asked 26/3, 2014 at 10:44

2

After Upgrading an application from 3.5 to 4.6.2 The following block of code no longer works. I get "Malformed reference element" Errors, even though it worked just fine as a 3.5 application. The c...
Camion asked 4/9, 2017 at 17:55

0

We are receiving signed xmls from third parties which are using java. Our .NET implementation validates correctly the signatures, except when the xml contain the 
 character reference. It ...
Outleap asked 7/12, 2017 at 11:53

4

Using VS 2008 with .Net Framework 3.5 on windows 2003 server. We have implemented SSO with SAML for security. We work at service provider end where we validate the Signed XML SAML Assertuib token ...
Fayola asked 24/5, 2013 at 6:2

8

I have a response from a 3-rd party web service. I load an XmlDocument with that response. string txt = readStream.ReadToEnd(); response = new XmlDocument(); response.PreserveWhitespace = true;...
Amandine asked 29/11, 2012 at 18:49

3

I am using the method below to sign Xml Documents: public static XmlDocument SignDocument(XmlDocument doc) { string signatureCanonicalizationMethod = "http://www.w3.org/2001/10/xml-exc-c14n#"; ...
Snowblink asked 1/8, 2012 at 18:38

1

Is it possible to use http://www.w3.org/2006/12/xml-c14n11 CanonicalizationMethod with SignedXml? SignedXml signedXml = new SignedXml(xmlDoc); signedXml.SignedInfo.CanonicalizationMethod = "http:/...
Risotto asked 28/11, 2014 at 12:5

1

Solved

I'm trying to sign Xml (actually SOAP xml) in C# using the SignedXml class, the signing stage passes successfully, but when I try to verify the signature it tells me that it is not valid. The only ...
Heronry asked 6/12, 2012 at 18:43

1

The problem occurs when I sign XML documents containing namespace prefixes and namespace references and then validate it. The validation always fails (returns false) in this case. When I remove the...
Cacogenics asked 31/3, 2011 at 4:28

6

Solved

I have an XML document having structure similar to the following <envelop> <header>blaa</header> <message>blaa blaa</message> <footer></footer> </e...

1

Solved

I've been trying to get the XMLDSIG support in .NET to behave properly, more specifically the SignedXml class. I'm implementing a third party service and they've just recently started requiring tha...
Wherever asked 30/7, 2009 at 8:8
1

© 2022 - 2024 — McMap. All rights reserved.