Condividi tramite


RequestSecurityTokenResponse Class

Represents a response to a security token request.

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

Usage

'Usage
Dim requestSecurityTokenResponse1 As New RequestSecurityTokenResponse()

Syntax

'Declaration
Public Class RequestSecurityTokenResponse
    Inherits SecurityTokenMessage
public class RequestSecurityTokenResponse : SecurityTokenMessage
public ref class RequestSecurityTokenResponse : 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.Services3.Xml.OpenElementElement
     Microsoft.Web.Services3.Xml.OpenElement
       Microsoft.Web.Services3.Security.SecurityTokenMessage
        Microsoft.Web.Services3.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 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

RequestSecurityTokenResponse Members
Microsoft.Web.Services3.Security Namespace
RequestSecurityToken
RequestedSecurityToken
RequestedProofToken
RequestedSecurityToken
RequestedProofToken

Other Resources

Issuing Security Tokens