X509WindowsSecurityToken Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy X509WindowsSecurityToken.

Przeciążenia

X509WindowsSecurityToken(X509Certificate2, WindowsIdentity)

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

X509WindowsSecurityToken(X509Certificate2, WindowsIdentity, String, String)

Tworzy nowe wystąpienie klasy X509WindowsSecurityToken.

X509WindowsSecurityToken(X509Certificate2, WindowsIdentity, String)

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

X509WindowsSecurityToken(X509Certificate2, WindowsIdentity)

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

public:
 X509WindowsSecurityToken(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, System::Security::Principal::WindowsIdentity ^ windowsIdentity);
public:
 X509WindowsSecurityToken(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ cert, System::Security::Principal::WindowsIdentity ^ identity);
public X509WindowsSecurityToken (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Principal.WindowsIdentity windowsIdentity);
public X509WindowsSecurityToken (System.Security.Cryptography.X509Certificates.X509Certificate2 cert, System.Security.Principal.WindowsIdentity identity);
new System.IdentityModel.Tokens.X509WindowsSecurityToken : System.Security.Cryptography.X509Certificates.X509Certificate2 * System.Security.Principal.WindowsIdentity -> System.IdentityModel.Tokens.X509WindowsSecurityToken
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)
Public Sub New (cert As X509Certificate2, identity As WindowsIdentity)

Parametry

certificatecert
X509Certificate2

X509Certificate2Zawierający certyfikat X. 509.

windowsIdentityidentity
WindowsIdentity

WindowsIdentityReprezentuje tożsamość domeny systemu Windows lub konta komputera.

Uwagi

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

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

A X509Certificate2 , który zawiera certyfikat X. 509.

windowsIdentity
WindowsIdentity

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

authenticationType
String

Typ uwierzytelniania dla tokenu.

id
String

Unikatowy identyfikator tokenu zabezpieczającego.

Dotyczy

X509WindowsSecurityToken(X509Certificate2, WindowsIdentity, String)

Inicjuje nowe wystąpienie X509WindowsSecurityToken klasy przy użyciu określonego certyfikatu X. 509, domeny systemu Windows lub konta komputera i 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 ^ cert, System::Security::Principal::WindowsIdentity ^ identity, System::String ^ id);
public X509WindowsSecurityToken (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Principal.WindowsIdentity windowsIdentity, string id);
public X509WindowsSecurityToken (System.Security.Cryptography.X509Certificates.X509Certificate2 cert, System.Security.Principal.WindowsIdentity identity, string id);
new System.IdentityModel.Tokens.X509WindowsSecurityToken : System.Security.Cryptography.X509Certificates.X509Certificate2 * System.Security.Principal.WindowsIdentity * string -> System.IdentityModel.Tokens.X509WindowsSecurityToken
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)
Public Sub New (cert As X509Certificate2, identity As WindowsIdentity, id As String)

Parametry

certificatecert
X509Certificate2

X509Certificate2Zawierający certyfikat X. 509.

windowsIdentityidentity
WindowsIdentity

WindowsIdentityReprezentuje tożsamość domeny systemu Windows lub konta komputera.

id
String

Unikatowy identyfikator tokenu zabezpieczającego.

Dotyczy