Share via


SecurityToken.KeyInfo Property

Gets a System.Security.Cryptography.Xml.KeyInfo that can be used to refer to this security token when the token is not included in a SOAP message.

Namespace: Microsoft.Web.Services2.Security.Tokens
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim securityToken1 As SecurityToken

Dim returnValue As KeyInfo
returnValue = securityToken1.KeyInfo

Syntax

'Declaration
Public Overridable ReadOnly Property KeyInfo() As KeyInfo
public virtual KeyInfo KeyInfo {get;}
public: property KeyInfo^ KeyInfo{
    KeyInfo^ get();
}
public KeyInfo get_KeyInfo();
public function get KeyInfo() : KeyInfo;

Property Value

A System.Security.Cryptography.Xml.KeyInfo that can be used to refer to this security token when the token is not included in a SOAP message.

Remarks

A System.Security.Cryptography.Xml.KeyInfo contain keys, names, certificates and other public key management information. If the KeyInfo property is null , then the recipient of a SOAP message containing this security token is expected to be able to identify the key for the security token based on application context. Multiple declarations within System.Security.Cryptography.Xml.KeyInfo refer to the same key.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

SecurityToken Class
Microsoft.Web.Services2.Security.Tokens Namespace

Other Resources

SecurityToken Members