X509SecurityToken.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 x509SecurityToken1 As X509SecurityToken
Dim returnValue As KeyInfo
returnValue = x509SecurityToken1.KeyInfo
Syntax
'Declaration
Public Overrides ReadOnly Property KeyInfo() As KeyInfo
public override KeyInfo KeyInfo {get;}
public: property virtual KeyInfo^ KeyInfo{
KeyInfo^ get();
}
public KeyInfo get_KeyInfo();
public override 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
X509SecurityToken Class
Microsoft.Web.Services2.Security.Tokens Namespace