This documentation is archived and is not being maintained.

SecurityToken.SecurityKeys Property

Gets the cryptographic keys associated with the security token.

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

public abstract ReadOnlyCollection<SecurityKey> SecurityKeys { get; }
/** @property */
public abstract ReadOnlyCollection<SecurityKey> get_SecurityKeys ()

public abstract function get SecurityKeys () : ReadOnlyCollection<SecurityKey>

Not applicable.

Property Value

A ReadOnlyCollection of type SecurityKey that contains the set of keys associated with the security token.

Use the SecurityKeys property to set the cryptographic keys for this security token to protect a SOAP message. The keys can be used, among other things, to digitally sign or encrypt SOAP messages.

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