I have updated ComponentSpace library 2.6.0.7 -> 3.1. I also updated target framework 4.6.1 to 4.7.1 This is the only change which started throw exception in this line SAMLMessageSignature.Generate(samlResponseXml, cert.PrivateKey, cert); Message: ComponentSpace.SAML2.Exceptions.SAMLSignatureException : Failed to generate the XML signature. ----> System.Security.Cryptography.CryptographicException : Invalid algorithm specified.Same certificate is used. What is wrong?
|