Share via


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