SamlSubject.Crypto Property

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

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

public SecurityKey Crypto { get; set; }
/** @property */
public SecurityKey get_Crypto ()

/** @property */
public void set_Crypto (SecurityKey value)

public function get Crypto () : SecurityKey

public function set Crypto (value : SecurityKey)

Not applicable.

Property Value

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

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions