Initializes an instance of ClaimsIdentity from a T:System.Security.Cryptography.X509Certificates.X509Certificate2 with a specified issuer name and the authentication type.
Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

Visual Basic
Dim certificate As X509Certificate2
Dim issuer As String
Dim authenticationType As String

Dim instance As New ClaimsIdentity(certificate, issuer, authenticationType)

Синтаксис

Visual Basic
Public Sub New ( _
		certificate As X509Certificate2, _
		issuer As String, _
		authenticationType As String _
)
C#
public ClaimsIdentity (
		X509Certificate2 certificate,
		string issuer,
		string authenticationType
)
C++
public:
ClaimsIdentity (
		X509Certificate2^ certificate, 
		String^ issuer, 
		String^ authenticationType
)
J#
public ClaimsIdentity (
		X509Certificate2 certificate, 
		String issuer, 
		String authenticationType
)
JScript
public function ClaimsIdentity (
		certificate : X509Certificate2, 
		issuer : String, 
		authenticationType : String
)

Параметры

certificate

The X.509 certificate.

issuer

The issuer name.

authenticationType

The type of authentication used.

Исключения

Тип исключений Условие

Примечания


Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

См. также