X509TokenProvider Constructor (StoreLocation, StoreName, String)

Initializes a new instance of the X509TokenProvider class using the specified subject distinguished name for the X.509 certificate and the certificate store name and location in which it is located.

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

Usage

'Usage
Dim location As StoreLocation
Dim storeName As StoreName
Dim subjectName As String
Dim x509TokenProvider1 As New X509TokenProvider(location, storeName, subjectName)

Syntax

'Declaration
Public Sub New( _
    ByVal location As StoreLocation, _
    ByVal storeName As StoreName, _
    ByVal subjectName As String _
)
public X509TokenProvider(
    StoreLocation location, 
    StoreName storeName, 
    string subjectName
);
public:
X509TokenProvider(
    StoreLocation^ location, 
    StoreName^ storeName, 
    String^ subjectName
);
public X509TokenProvider(
    StoreLocation location, 
    StoreName storeName, 
    System.String subjectName
);
public function X509TokenProvider(
     location : StoreLocation, 
     storeName : StoreName, 
     subjectName : String
);

Parameters

  • location
    One of the System.Security.Cryptography.X509Certificates.StoreLocation values that specifies the location of the X.509 certificate store. Possible values are CurrentUser and LocalMachine.
  • storeName
    One of the System.Security.Cryptography.X509Certificates.StoreName values that specifies the name of the certificate store. Possible values are AddressBook, AuthRoot, CertificateAuthority, Disallowed, My, Root, TrustedPeople, and TrustedPublisher. The AddressBook store is the same store that is displayed in the Certificates MMC as OtherPeople.
  • subjectName
    The subject distinguished name for the X.509 certificate. For example, CN=WSE2QuickStartServer.

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 Class
X509TokenProvider Members
Microsoft.Web.Services3.Design Namespace