Redigera

Dela via


X509CertificateStoreTokenResolver Constructors

Definition

Initializes an instance of the X509CertificateStoreTokenResolver class.

Overloads

X509CertificateStoreTokenResolver()

Initializes a new instance of the X509CertificateStoreTokenResolver class with a default X.509 certificate store.

X509CertificateStoreTokenResolver(StoreName, StoreLocation)

Initializes a new instance of the X509CertificateStoreTokenResolver class that uses the X.509 certificate store with the specified location and name to resolve tokens.

X509CertificateStoreTokenResolver(String, StoreLocation)

Initializes a new instance of the X509CertificateStoreTokenResolver class that uses the X.509 certificate store with the specified location and name to resolve tokens.

X509CertificateStoreTokenResolver()

Initializes a new instance of the X509CertificateStoreTokenResolver class with a default X.509 certificate store.

public:
 X509CertificateStoreTokenResolver();
public X509CertificateStoreTokenResolver ();
Public Sub New ()

Remarks

The default store location is LocalMachine. The default store name is My.

Applies to

X509CertificateStoreTokenResolver(StoreName, StoreLocation)

Initializes a new instance of the X509CertificateStoreTokenResolver class that uses the X.509 certificate store with the specified location and name to resolve tokens.

public:
 X509CertificateStoreTokenResolver(System::Security::Cryptography::X509Certificates::StoreName storeName, System::Security::Cryptography::X509Certificates::StoreLocation storeLocation);
public X509CertificateStoreTokenResolver (System.Security.Cryptography.X509Certificates.StoreName storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation);
new System.IdentityModel.Tokens.X509CertificateStoreTokenResolver : System.Security.Cryptography.X509Certificates.StoreName * System.Security.Cryptography.X509Certificates.StoreLocation -> System.IdentityModel.Tokens.X509CertificateStoreTokenResolver
Public Sub New (storeName As StoreName, storeLocation As StoreLocation)

Parameters

storeName
StoreName

One of the enumeration values that specify the name of the X.509 certificate store.

storeLocation
StoreLocation

One of the enumeration values that specify the location of the X.509 certificate store.

Applies to

X509CertificateStoreTokenResolver(String, StoreLocation)

Initializes a new instance of the X509CertificateStoreTokenResolver class that uses the X.509 certificate store with the specified location and name to resolve tokens.

public:
 X509CertificateStoreTokenResolver(System::String ^ storeName, System::Security::Cryptography::X509Certificates::StoreLocation storeLocation);
public X509CertificateStoreTokenResolver (string storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation);
new System.IdentityModel.Tokens.X509CertificateStoreTokenResolver : string * System.Security.Cryptography.X509Certificates.StoreLocation -> System.IdentityModel.Tokens.X509CertificateStoreTokenResolver
Public Sub New (storeName As String, storeLocation As StoreLocation)

Parameters

storeName
String

The name of the X.509 certificate store.

storeLocation
StoreLocation

One of the enumeration values that specify the location of an X.509 certificate store.

Exceptions

storeLocation is null or an empty string.

Applies to