WSSecurity.EncodingTypes Class

Specifies the values for the EncodingType attribute of the <BinarySecurityToken> element.

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

Usage

'Usage
Dim wSSecurity_EncodingTypes1 As WSSecurity.EncodingTypes

Syntax

'Declaration
NotInheritable Public Class WSSecurity.EncodingTypes
public static class WSSecurity.EncodingTypes
public ref class WSSecurity::EncodingTypes abstract sealed
public final abstract class WSSecurity.EncodingTypes
public abstract class WSSecurity.EncodingTypes

Remarks

The WSSecurity.EncodingTypes class is used by WSE when it serializes binary security tokens, such as KerberosToken and X509SecurityToken . When a binary security token is serialized into XML, a <BinarySecurityToken> element is created. The <BinarySecurityToken> element has an EncodingType attribute, which specifies the encoding format of the binary data within the <BinarySecurityToken> element. Valid values for that EncodingType attribute are represented by this class.

To set the value of the EncodingType attribute for a binary security token, set the BinarySecurityToken.EncodingType property. The only valid value for the property is WSSecurity.EncodingTypes.Base64Encoding .

Inheritance Hierarchy

System.Object
  Microsoft.Web.Services3.Security.WSSecurity.EncodingTypes

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

WSSecurity.EncodingTypes Members
Microsoft.Web.Services3.Security Namespace
BinarySecurityToken.EncodingType