SignedXml.CheckSignature fails in .NET 4 but it works in .NET 3.5, 3 or 2
This is a known issue. The Canonicalization implementation between .NET 3.5 and .NET 4.0 has changed. I don’t know if this works on all XML signatures but the following works from the testing that I’ve done. Add the following C14N Transform class to your project: public class MyXmlDsigC14NTransform: XmlDsigC14NTransform { static XmlDocument _document; public static … Read more