X509CertificateStoreTokenResolver 构造函数

定义

初始化 X509CertificateStoreTokenResolver 类的实例。

重载

X509CertificateStoreTokenResolver()

使用指定的默认 X.509 证书存储初始化 X509CertificateStoreTokenResolver 类的新实例。

X509CertificateStoreTokenResolver(StoreName, StoreLocation)

使用用以令牌解析程序的指定位置和名称的 X.509 证书储存区来初始化 X509CertificateStoreTokenResolver 类的新实例。

X509CertificateStoreTokenResolver(String, StoreLocation)

使用用以令牌解析程序的指定位置和名称的 X.509 证书储存区来初始化 X509CertificateStoreTokenResolver 类的新实例。

X509CertificateStoreTokenResolver()

使用指定的默认 X.509 证书存储初始化 X509CertificateStoreTokenResolver 类的新实例。

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

注解

默认存储位置为 LocalMachine。 默认存储名称为 My

适用于

X509CertificateStoreTokenResolver(StoreName, StoreLocation)

使用用以令牌解析程序的指定位置和名称的 X.509 证书储存区来初始化 X509CertificateStoreTokenResolver 类的新实例。

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)

参数

storeName
StoreName

指定 X.509 证书存储区名称的枚举值之一。

storeLocation
StoreLocation

指定 X.509 证书存储区位置的枚举值之一。

适用于

X509CertificateStoreTokenResolver(String, StoreLocation)

使用用以令牌解析程序的指定位置和名称的 X.509 证书储存区来初始化 X509CertificateStoreTokenResolver 类的新实例。

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)

参数

storeName
String

X.509 证书存储区的名称。

storeLocation
StoreLocation

指定 X.509 证书存储区位置的枚举值之一。

例外

storeLocationnull 或空字符串。

适用于