ComponentPro UltimateSaml

Other Samples

Language Filter: AllSend comments on this topic to ComponentPro

After successfully installing the UltimateSaml setup package you will see four SAML v2.0 WinForms sample projects in folder Samples\Saml\Win\CS for C# and Samples\Saml\Win\VB for VB.NET. To run these web sample projects, open the solution file Saml2Demo_XXXX.sln.

SamlMetadata

SAMLMetadata

This sample demonstrates reading SAML metadata from the specified XML file.

SamlEncrypt

SAMLEncrypt

This sample demonstrates encrypting SAML assertions.

  • Keystore File - A CER file containing the certificate to use to encrypt the assertion.
  • SAML Assertion XML file - File that contains the SAML assertion XML to be encrypted.
  • Algorithm - The encryption algorithm.
  • Output XML file - The path to the output file.

SamlDecrypt

SAMLDecrypt

This sample demonstrates decrypting encrypted SAML assertions.

  • Keystore File - A PFX file containing a key to use to decrypt the encrypted SAML assertions.
  • Password - The password of the PFX file.
  • SAML Assertion XML file - File that contains the encrypted SAML assertion XML to be decrypted.
  • Algorithm - The decryption algorithm.
  • Output XML file - The path to the output file.

SamlSign

SAMLSign

This tool allows you to sign SAML assertions and protocol messages. It can be used to validate a signature for errors.

SamlVerify

SAMLVerify

To verify a certificate that is being used in your application, you can run the utility SamlVerify to see whether the signature is valid.

  • The Certificate File is a CER file containing the certificate to use to verify the signature. Only specify this parameter if the certificate is being loaded from a certificate file or store. If the certificate is included in the XML signature, then do not specify this parameter.
  • The SAML Protocol XML file is the file containing the SAML protocol response as XML.