BinarySecurityToken Class

Provides a base class for all implementations of binary security tokens, as defined in the WS-Security specification.

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

Usage

'Usage
Dim valueType As String
Dim binarySecurityToken1 As New BinarySecurityToken(valueType)

Syntax

'Declaration
MustInherit Public Class BinarySecurityToken
    Inherits SecurityToken
public abstract class BinarySecurityToken : SecurityToken
public ref class BinarySecurityToken abstract : SecurityToken
public abstract class BinarySecurityToken extends SecurityToken
public abstract class BinarySecurityToken extends SecurityToken

Remarks

Although the WSE natively supports X.509 certificates, user name tokens, and kerberos tickets, the WSE is flexible enough to allow you to use your own custom binary security credentials to sign and encrypt SOAP messages. To do so, create a class that derives from BinarySecurityToken . For details about creating a custom binary security token, see How to: Create a Class Representing a Custom Binary Security Token.

Inheritance Hierarchy

System.Object
   Microsoft.Web.Services3.Security.Tokens.SecurityToken
    Microsoft.Web.Services3.Security.Tokens.BinarySecurityToken
       Microsoft.Web.Services3.Security.Tokens.KerberosToken
       Microsoft.Web.Services3.Security.Tokens.X509SecurityToken

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

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