X509SecurityTokenProvider コンストラクター

定義

X509SecurityTokenProvider クラスの新しいインスタンスを初期化します。

オーバーロード

X509SecurityTokenProvider(X509Certificate2)

指定した X.509 証明書を使用して、X509SecurityTokenProvider クラスの新しいインスタンスを初期化します。

X509SecurityTokenProvider(StoreLocation, StoreName, X509FindType, Object)

指定された証明書ストアの条件から X.509 証明書を取得して、X509SecurityTokenProvider クラスの新しいインスタンスを初期化します。

X509SecurityTokenProvider(X509Certificate2)

指定した X.509 証明書を使用して、X509SecurityTokenProvider クラスの新しいインスタンスを初期化します。

public:
 X509SecurityTokenProvider(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public X509SecurityTokenProvider (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
new System.IdentityModel.Selectors.X509SecurityTokenProvider : System.Security.Cryptography.X509Certificates.X509Certificate2 -> System.IdentityModel.Selectors.X509SecurityTokenProvider
Public Sub New (certificate As X509Certificate2)

パラメーター

certificate
X509Certificate2

セキュリティ トークンを取得する対象の X509Certificate2

例外

certificatenullです。

注釈

GetTokenCore メソッドは、certificate パラメーターに指定された証明書に基づいてセキュリティ トークンを取得します。

適用対象

X509SecurityTokenProvider(StoreLocation, StoreName, X509FindType, Object)

指定された証明書ストアの条件から X.509 証明書を取得して、X509SecurityTokenProvider クラスの新しいインスタンスを初期化します。

public:
 X509SecurityTokenProvider(System::Security::Cryptography::X509Certificates::StoreLocation storeLocation, System::Security::Cryptography::X509Certificates::StoreName storeName, System::Security::Cryptography::X509Certificates::X509FindType findType, System::Object ^ findValue);
public X509SecurityTokenProvider (System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, System.Security.Cryptography.X509Certificates.StoreName storeName, System.Security.Cryptography.X509Certificates.X509FindType findType, object findValue);
new System.IdentityModel.Selectors.X509SecurityTokenProvider : System.Security.Cryptography.X509Certificates.StoreLocation * System.Security.Cryptography.X509Certificates.StoreName * System.Security.Cryptography.X509Certificates.X509FindType * obj -> System.IdentityModel.Selectors.X509SecurityTokenProvider
Public Sub New (storeLocation As StoreLocation, storeName As StoreName, findType As X509FindType, findValue As Object)

パラメーター

storeLocation
StoreLocation

証明書ストアの場所を示す StoreLocation の値。

storeName
StoreName

証明書ストアの名前を示す StoreName の値。

findType
X509FindType

証明書ストアの検索方法を示す X509FindType の値。

findValue
Object

証明書ストア内の X.509 証明書の検索に使用する値。

例外

findValuenullです。

指定された条件に一致する証明書がありません。

  • または -

指定された条件に一致する証明書が複数あります。

注釈

GetTokenCore メソッドは、指定された証明書ストアの条件に一致する証明書に基づいてセキュリティ トークンを取得します。

適用対象