Initializes an instance of
T:Microsoft.IdentityModel.Claims.ClaimsIdentity from an
T:System.Security.Cryptography.X509Certificates.X509Certificate2
with a specified issuer name.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim certificate As X509Certificate2
Dim issuer As String
Dim instance As New ClaimsIdentity(certificate, issuer)
|
Syntax
Visual Basic |
Public Sub New ( _
certificate As X509Certificate2, _
issuer As String _
)
|
C# |
public ClaimsIdentity (
X509Certificate2 certificate,
string issuer
)
|
C++ |
public:
ClaimsIdentity (
X509Certificate2^ certificate,
String^ issuer
)
|
J# |
public ClaimsIdentity (
X509Certificate2 certificate,
String issuer
)
|
JScript |
public function ClaimsIdentity (
certificate : X509Certificate2,
issuer : String
)
|
Parameters
- certificate
-
The X.509 certificate.
- issuer
-
The issuer name.
Exceptions
Remarks
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also