Share via


RequestSecurityTokenResponse Class

Represents a response to a security token request.

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

Usage

'Usage
Dim requestSecurityTokenResponse1 As New RequestSecurityTokenResponse()

Syntax

'Declaration
Public Class RequestSecurityTokenResponse
    Inherits SecurityTokenMessage
public class RequestSecurityTokenResponse : SecurityTokenMessage
public ref class RequestSecurityTokenResponse : public SecurityTokenMessage
public class RequestSecurityTokenResponse extends SecurityTokenMessage
public class RequestSecurityTokenResponse extends SecurityTokenMessage

Remarks

A security token service returns a <RequestSecurityTokenResponse> in response to a <RequestSecurityToken> or <RequestSecurityTokenResponse> message. The response, which is represented by the RequestSecurityTokenResponse class, contains properties representing the RequestedSecurityToken class and the RequestedProofToken classes. The RequestedSecurityToken property contains the requested security token and within it an encrypted key, which is usually a symmetric session key. This encrypted key is encrypted with a key 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 property contains the same key; however, 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.

The RequestSecurityTokenResponse class maps to the <RequestSecurityTokenResponse> element.

Inheritance Hierarchy

System.Object
   Microsoft.Web.Services2.Xml.OpenElementElement
     Microsoft.Web.Services2.Xml.OpenElement
       Microsoft.Web.Services2.Security.SecurityTokenMessage
        Microsoft.Web.Services2.Security.RequestSecurityTokenResponse

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

Microsoft.Web.Services2.Security Namespace
RequestSecurityToken
RequestedSecurityToken
RequestedProofToken
RequestedSecurityToken
RequestedProofToken

Other Resources

RequestSecurityTokenResponse Members
ms819953(v=msdn.10).md