Partager via


SecurityContextToken Class

Represents a security context token, which is a used for signing and/or encrypting SOAP messages.

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

Usage

'Usage
Dim securityContextToken1 As New SecurityContextToken()

Syntax

'Declaration
Public Class SecurityContextToken
    Inherits IssuedToken
public class SecurityContextToken : IssuedToken
public ref class SecurityContextToken : IssuedToken
public class SecurityContextToken extends IssuedToken
public class SecurityContextToken extends IssuedToken

Remarks

SOAP message senders can use security context tokens to sign and/or encrypt a series of SOAP messages, known as a conversation, between a SOAP message sender and the target Web service. As long as the security context token has not expired, the SOAP message sender can use the same security context token to sign and/or encrypt the SOAP messages sent to the target Web service. Security context tokens are based on a symmetric key, which makes them inherently more efficient at digitally signing or encrypting a SOAP message than an asymmetric key. Security context tokens can be requested from a security token service by sending a SOAP message to the service. For details about setting up a security token service, see Issuing Security Tokens.

Inheritance Hierarchy

System.Object
   Microsoft.Web.Services3.Security.Tokens.SecurityToken
     Microsoft.Web.Services3.Security.Tokens.IssuedToken
      Microsoft.Web.Services3.Security.Tokens.SecurityContextToken

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

SecurityContextToken Members
Microsoft.Web.Services3.Security.Tokens Namespace