SamlSubject.Crypto Property

Definition

Gets or sets the cryptographic key that is used to verify the digital signature that is identified by this SAML subject statement.

public:
 property System::IdentityModel::Tokens::SecurityKey ^ Crypto { System::IdentityModel::Tokens::SecurityKey ^ get(); void set(System::IdentityModel::Tokens::SecurityKey ^ value); };
public System.IdentityModel.Tokens.SecurityKey Crypto { get; set; }
member this.Crypto : System.IdentityModel.Tokens.SecurityKey with get, set
Public Property Crypto As SecurityKey

Property Value

A SecurityKey that contains the cryptographic key that is used to verify the digital signature for a SAML security token.

Remarks

When the SamlSubject method is called, the cryptographic key specified in the <ds:KeyInfo> element of the digital signature for the SAML security token is used to set the Crypto property. This cryptographic key identifies the subject.

The key identifier for the <ds:KeyInfo> element is represented by the KeyIdentifier property.

Applies to

See also