Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
WSE 3.0
Class Library
Web Services Enhancements 3.0
RequestSecurityTokenResponse Class
Represents a response to a security token request.


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

Visual Basic
Dim requestSecurityTokenResponse1 As New RequestSecurityTokenResponse()
Visual Basic
Public Class RequestSecurityTokenResponse
    Inherits SecurityTokenMessage
C#
public class RequestSecurityTokenResponse : SecurityTokenMessage
C++
public ref class RequestSecurityTokenResponse : SecurityTokenMessage
J#
public class RequestSecurityTokenResponse extends SecurityTokenMessage
JScript
public class RequestSecurityTokenResponse extends SecurityTokenMessage

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.


System.Object
   Microsoft.Web.Services3.Xml.OpenElementElement
     Microsoft.Web.Services3.Xml.OpenElement
       Microsoft.Web.Services3.Security.SecurityTokenMessage
        Microsoft.Web.Services3.Security.RequestSecurityTokenResponse
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker