Initializes an instance of ClaimsIdentity
from a
T:System.Security.Cryptography.X509Certificates.X509Certificate2
with a specified issuer name and the authentication type.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim certificate As X509Certificate2
Dim issuer As String
Dim authenticationType As String
Dim instance As New ClaimsIdentity(certificate, issuer, authenticationType)
|
Syntax
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
)
|
Parameters
- certificate
-
The X.509 certificate.
- issuer
-
The issuer name.
- authenticationType
-
The type of authentication used.
Exceptions
Remarks
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also