SamlAssertion.SigningCredentials Property

 

Gets or sets the security credentials that are used to digitally sign the SAML assertion.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public SigningCredentials SigningCredentials { get; set; }

Property Value

Type: System.IdentityModel.Tokens.SigningCredentials

A SigningCredentials that is used to digitally sign the SAML assertion.

Exception Condition
InvalidOperationException

The IsReadOnly property is true and an attempt is made to set the SigningCredentials property.

The SigningCredentials property represents the credentials that are used to sign a SAML assertion when it is serialized into XML. Similarly, the SigningToken property represents the security token that signed a SAML token in an incoming SOAP message.

.NET Framework
Available since 3.0
Return to top
Show: