X509CertificateStoreTokenResolver Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.