X509SecurityTokenProvider Konstruktory

Definice

Inicializuje novou instanci X509SecurityTokenProvider třídy .

Přetížení

X509SecurityTokenProvider(X509Certificate2)

Inicializuje novou instanci X509SecurityTokenProvider třídy pomocí zadaného certifikátu X.509.

X509SecurityTokenProvider(StoreLocation, StoreName, X509FindType, Object)

Inicializuje novou instanci X509SecurityTokenProvider třídy získáním certifikátu X.509 ze zadaných kritérií úložiště certifikátů.

X509SecurityTokenProvider(X509Certificate2)

Zdroj:
X509SecurityTokenProvider.cs
Zdroj:
X509SecurityTokenProvider.cs
Zdroj:
X509SecurityTokenProvider.cs

Inicializuje novou instanci X509SecurityTokenProvider třídy pomocí zadaného certifikátu X.509.

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)

Parametry

certificate
X509Certificate2

Chcete-li X509Certificate2 získat token zabezpečení pro.

Výjimky

certificate je null.

Poznámky

Metoda GetTokenCore získá token zabezpečení na základě certifikátu zadaného v parametru certificate .

Platí pro

X509SecurityTokenProvider(StoreLocation, StoreName, X509FindType, Object)

Inicializuje novou instanci X509SecurityTokenProvider třídy získáním certifikátu X.509 ze zadaných kritérií úložiště certifikátů.

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)

Parametry

storeLocation
StoreLocation

Jedna z StoreLocation hodnot, která určuje umístění úložiště certifikátů.

storeName
StoreName

Jedna z StoreName hodnot, která určuje název úložiště certifikátů.

findType
X509FindType

Jedna z X509FindType hodnot, která určuje, jak hledat v úložišti certifikátů.

findValue
Object

Hodnota použitá k vyhledání certifikátu X.509 v úložišti certifikátů.

Výjimky

findValue je null.

Zadaným kritériím neodpovídají žádné certifikáty.

-nebo-

Zadaným kritériím odpovídá více než jeden certifikát.

Poznámky

Metoda GetTokenCore získá token zabezpečení na základě certifikátu, který odpovídá zadaným kritériím úložiště certifikátů.

Platí pro