Discuss this help topic in SecureBlackbox Forum
Manually decrypt SAML assertions
To decrypt SAML assertions first of all load them in XML form using TElXMLDOMDocument class.
Then create an instance of TElSAMLEncryptedAssertionElement class and load the assertions using its LoadFromXML() method.
When the assertions are loaded create an instance of TElSAMLEncryptionHandler and initialize its Certificate property with the certificate object to be used for decryption. Assign this encryption handler to the Handler property of your TElSAMLEncryptedAssertionElement object. Finally, call TElSAMLEncryptedAssertionElement.Decrypt() to decrypt the assertions.