WSSecurity.EncodingTypes Class

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

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim wSSecurity_EncodingTypes1 As WSSecurity.EncodingTypes

Syntax

'Declaration
NotInheritable Public Class WSSecurity.EncodingTypes
public sealed class WSSecurity.EncodingTypes
public sealed ref class WSSecurity.EncodingTypes
public final class WSSecurity.EncodingTypes
public 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 Microsoft.Web.Services2.Security.Tokens.BinarySecurityToken.EncodingType property. The only valid value for the property is Microsoft.Web.Services2.Security.WSSecurity.EncodingTypes.Base64Encoding.

Inheritance Hierarchy

System.Object
  Microsoft.Web.Services2.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 Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

Microsoft.Web.Services2.Security Namespace
EncodingType

Other Resources

WSSecurity.EncodingTypes Members