Udostępnij za pośrednictwem


X509WindowsSecurityToken Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy X509WindowsSecurityToken.

Przeciążenia

X509WindowsSecurityToken(X509Certificate2, WindowsIdentity)

Inicjuje X509WindowsSecurityToken nowe wystąpienie klasy przy użyciu określonego certyfikatu X.509 i domeny lub konta komputera z systemem Windows.

X509WindowsSecurityToken(X509Certificate2, WindowsIdentity, String)

Inicjuje X509WindowsSecurityToken nowe wystąpienie klasy przy użyciu określonego certyfikatu X.509, domeny systemu Windows lub konta komputera oraz unikatowego identyfikatora.

X509WindowsSecurityToken(X509Certificate2, WindowsIdentity, String, String)

Tworzy nowe wystąpienie klasy X509WindowsSecurityToken.

X509WindowsSecurityToken(X509Certificate2, WindowsIdentity)

Inicjuje X509WindowsSecurityToken nowe wystąpienie klasy przy użyciu określonego certyfikatu X.509 i domeny lub konta komputera z systemem Windows.

public:
 X509WindowsSecurityToken(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, System::Security::Principal::WindowsIdentity ^ windowsIdentity);
public X509WindowsSecurityToken (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Principal.WindowsIdentity windowsIdentity);
new System.IdentityModel.Tokens.X509WindowsSecurityToken : System.Security.Cryptography.X509Certificates.X509Certificate2 * System.Security.Principal.WindowsIdentity -> System.IdentityModel.Tokens.X509WindowsSecurityToken
Public Sub New (certificate As X509Certificate2, windowsIdentity As WindowsIdentity)

Parametry

certificate
X509Certificate2

Element X509Certificate2 zawierający certyfikat X.509.

windowsIdentity
WindowsIdentity

Element WindowsIdentity reprezentujący tożsamość konta domeny lub komputera z systemem Windows.

Uwagi

Ten konstruktor tworzy unikatowy identyfikator tokenu zabezpieczającego X509WindowsSecurityToken i przypisuje tę wartość do Id właściwości.

Dotyczy

X509WindowsSecurityToken(X509Certificate2, WindowsIdentity, String)

Inicjuje X509WindowsSecurityToken nowe wystąpienie klasy przy użyciu określonego certyfikatu X.509, domeny systemu Windows lub konta komputera oraz unikatowego identyfikatora.

public:
 X509WindowsSecurityToken(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, System::Security::Principal::WindowsIdentity ^ windowsIdentity, System::String ^ id);
public X509WindowsSecurityToken (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Principal.WindowsIdentity windowsIdentity, string id);
new System.IdentityModel.Tokens.X509WindowsSecurityToken : System.Security.Cryptography.X509Certificates.X509Certificate2 * System.Security.Principal.WindowsIdentity * string -> System.IdentityModel.Tokens.X509WindowsSecurityToken
Public Sub New (certificate As X509Certificate2, windowsIdentity As WindowsIdentity, id As String)

Parametry

certificate
X509Certificate2

Element X509Certificate2 zawierający certyfikat X.509.

windowsIdentity
WindowsIdentity

Element WindowsIdentity reprezentujący tożsamość konta domeny lub komputera z systemem Windows.

id
String

Unikatowy identyfikator tokenu zabezpieczającego.

Dotyczy

X509WindowsSecurityToken(X509Certificate2, WindowsIdentity, String, String)

Tworzy nowe wystąpienie klasy X509WindowsSecurityToken.

public:
 X509WindowsSecurityToken(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, System::Security::Principal::WindowsIdentity ^ windowsIdentity, System::String ^ authenticationType, System::String ^ id);
public X509WindowsSecurityToken (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Principal.WindowsIdentity windowsIdentity, string authenticationType, string id);
new System.IdentityModel.Tokens.X509WindowsSecurityToken : System.Security.Cryptography.X509Certificates.X509Certificate2 * System.Security.Principal.WindowsIdentity * string * string -> System.IdentityModel.Tokens.X509WindowsSecurityToken
Public Sub New (certificate As X509Certificate2, windowsIdentity As WindowsIdentity, authenticationType As String, id As String)

Parametry

certificate
X509Certificate2

Element X509Certificate2 zawierający certyfikat X.509.

windowsIdentity
WindowsIdentity

Reprezentuje tożsamość konta domeny lub komputera z systemem Windows.

authenticationType
String

Typ uwierzytelniania tokenu.

id
String

Unikatowy identyfikator tokenu zabezpieczającego.

Dotyczy