Share via


RequestedSecurityToken Class

Represents a security token that is issued by a security token service.

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim requestedSecurityToken1 As New RequestedSecurityToken()

Syntax

'Declaration
Public Class RequestedSecurityToken
    Implements IXmlElement
public class RequestedSecurityToken : IXmlElement
public ref class RequestedSecurityToken : IXmlElement
public class RequestedSecurityToken implements IXmlElement
public class RequestedSecurityToken implements IXmlElement

Remarks

A security token service returns a <RequestSecurityTokenResponse> message in response to a <RequestSecurityToken> message. The response, which is represented by the RequestSecurityTokenResponse class, contains properties representing RequestedSecurityToken and RequestedProofToken objects. The RequestedSecurityToken contains the requested security token and an encrypted key, which is usually a symmetric session key. This encrypted key is encrypted with a key that only the target Web service knows and thus is used by the SOAP message sender to sign and/or encrypt SOAP messages sent to the target Web service. Likewise, the RequestedProofToken contains the same key, but it is encrypted using a key that only the sender of the request has. The SOAP message sender can use this key to decrypt or verify SOAP messages encrypted or signed by the target Web service.

Inheritance Hierarchy

System.Object
  Microsoft.Web.Services3.Security.RequestedSecurityToken

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 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

RequestedSecurityToken Members
Microsoft.Web.Services3.Security Namespace