Discuss this help topic in SecureBlackbox Forum
Encrypt IdP responses
If TElSAMLResponseElement needs to be encrypted, then you should create and instance of TElSAMLEncryptionHandler, set its Certificate property to an encryption certificate object, and then assign this handler to TElSAMLResponseElement.Handler property.