We are using low level ComponentSpace SAML 2.0 implementation, when trying to read the encrypted assertions, while passing the x509 certificate file, ComponentSpace can only Decrypt when Private Key is present in the file.
In many cases the SAML SSO Idp do not include the private key in the cert file, is there any other way to decrypt the assertions?
XmlElement decryptedElement = encryptedAssertion.DecryptToXml(x509Certificate);