Discuss this help topic in SecureBlackbox Forum

Manually generate and sign assertions

To manually generate and sign SAML assertions, first of all create an instance of TElSAMLAssertionElement. If the assertion needs to be signed, create a new TElSAMLSignatureHandler object, and set its Certificate property to the signing certificate object. This handler should be assigned to your AssertionElement's Handler property. Remember that the certificate must contain an associated private key, i.e., TElX509Certificate.PrivateKeyExists must return true.

Assign all necessary properties of your AssertionElement, and then save it using the SaveToXML() method.

How To articles about SAML Identity Provider (IdP)

Discuss this help topic in SecureBlackbox Forum