X509WindowsSecurityToken Constructor (X509Certificate2, WindowsIdentity, String)

 

Initializes a new instance of the X509WindowsSecurityToken class using the specified X.509 certificate, Windows domain or computer account, and unique identifier.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public X509WindowsSecurityToken(
	X509Certificate2 certificate,
	WindowsIdentity windowsIdentity,
	string id
)

Parameters

certificate
Type: System.Security.Cryptography.X509Certificates.X509Certificate2

An X509Certificate2 that contains the X.509 certificate.

windowsIdentity
Type: System.Security.Principal.WindowsIdentity

A WindowsIdentity that represents the identity of a Windows domain or computer account.

id
Type: System.String

A unique identifier of the security token.

.NET Framework
Available since 3.0
Return to top
Show: