我们正在使用低级别的 ComponentSpace SAML 2.0 实现,当尝试读取加密的断言时,在传递 x509 证书文件时,只有当文件中存在私钥时,ComponentSpace 才能解密。
在许多情况下,SAML SSO Idp 不会在证书文件中包含私钥,还有其他方法可以解密断言吗?
XmlElement decryptedElement = encryptedAssertion.DecryptToXml(x509Certificate);
我们正在使用低级别的 ComponentSpace SAML 2.0 实现,当尝试读取加密的断言时,在传递 x509 证书文件时,只有当文件中存在私钥时,ComponentSpace 才能解密。
在许多情况下,SAML SSO Idp 不会在证书文件中包含私钥,还有其他方法可以解密断言吗?
XmlElement decryptedElement = encryptedAssertion.DecryptToXml(x509Certificate);