I am getting "unsupported key encryption method" exception when trying to decode IdP response. We are dealing with IdPs which we don't control. Is there anything we can do enable this algorithm within ComponentSpace ? This is part of the response, formatted for readability:
The exception:SP: Error in assertion consumer service -- Unsupported key encryption method http://www.w3.org/2009/xmlenc11#rsa-oaep: at ComponentSpace.SAML2.Utility.XmlEncryption.Decrypt(XmlElement encryptedElement, XmlNodeList encryptedKeysNodeList, AsymmetricAlgorithm keyDecryptingKey, EncryptionMethod keyEncryptionMethod, EncryptionMethod dataEncryptionMethod) in C:\Sandboxes\ComponentSpace\SAMLv20\Library\Utility\XmlEncryption.cs:line 464 at ComponentSpace.SAML2.Assertions.EncryptedAssertion.DecryptToXml(AsymmetricAlgorithm keyDecryptingKey, EncryptionMethod keyEncryptionMethod, EncryptionMethod dataEncryptionMethod) in C:\Sandboxes\ComponentSpace\SAMLv20\Library\Assertions\EncryptedAssertion.cs:line 765 at ComponentSpace.SAML2.Assertions.EncryptedAssertion.Decrypt(AsymmetricAlgorithm keyDecryptingKey, EncryptionMethod keyEncryptionMethod, EncryptionMethod dataEncryptionMethod) in C:\Sandboxes\ComponentSpace\SAMLv20\Library\Assertions\EncryptedAssertion.cs:line 1100 ....
|