Discuss this help topic in SecureBlackbox Forum
Manually validate SAML assertions
To validate SAML assertions first of all load them as XML using TElXMLDOMDocument class.
Then create an instance of TElSAMLAssertionElement class, and load the assertion using its TElSAMLAssertionElement.LoadFromXML() method.
Create a new instance of TElSAMLSignatureHandler class and load the signing certificate into its Certificate property. Assign the signature handler to your TElSAMLAssertionElement's Handler property. If the handler is set BEFORE loading the assertions, they will be validated automatically validated upon calling to TElSAMLAssertionElement.LoadFromXML().