Forums, Documentation & Knowledge Base - ComponentSpace

Failed to generate the XML signature - Invalid algorithm specified


https://componentspace.com/forums/Topic9752.aspx

By alexey.korsakov - 2/27/2019

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?




By ComponentSpace - 10/18/2019

Thanks for the update.