Share via


X509TokenProvider Class

Represents a security token provider for X.509 certificate security credentials.

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

Usage

'Usage
Dim x509TokenProvider1 As New X509TokenProvider()

Syntax

'Declaration
Public Class X509TokenProvider
    Inherits TokenProvider(Of X509SecurityToken)
public class X509TokenProvider : TokenProvider<X509SecurityToken>
public ref class X509TokenProvider : TokenProvider<X509SecurityToken^>
public class X509TokenProvider extends TokenProvider<X509SecurityToken>
JScript does not support Generics.

Remarks

Use the X509TokenProvider class to provide security credentials in the form of an X.509 certificate for a policy. In a policy file, these credentials are placed in a <x509> Element. When a policy file is not used, an instance of the X509TokenProvider class must be used. For more information about securing a Web service using a policy file, see How to: Secure a Web Service Using a Policy File. For more information about securing a Web service without a policy file, see How to: Secure a Web Service Without Using a Policy File.

The following turnkey assertions use the X509TokenProvider security token provider:

Inheritance Hierarchy

System.Object
   Microsoft.Web.Services3.Design.TokenProvider
    Microsoft.Web.Services3.Design.X509TokenProvider

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

X509TokenProvider Members
Microsoft.Web.Services3.Design Namespace