Edit

Share via


SamlSubject.KeyIdentifier Property

Definition

Gets or sets a key identifier that provides access to a cryptographic key held by the subject of the SAML security token.

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

Property Value

A SecurityKeyIdentifier that provides access to a cryptographic key held by the subject of the SamlSecurityToken security token.

Remarks

The key included in the key identifier that is represented by the KeyIdentifier property is decrypted and set to the Crypto property when the SamlSubject method is called.

The KeyIdentifier property corresponds to the <ds:KeyInfo> child element of a <saml:SubjectConfirmation> element of a SAML assertion.

Applies to

See also