Initializes an instance of
T:Microsoft.IdentityModel.Claims.ClaimsIdentity from an
T:System.Security.Cryptography.X509Certificates.X509Certificate2
with a specified issuer name.
Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в
microsoft.identitymodel.dll)
Использование
Visual Basic |
Dim certificate As X509Certificate2
Dim issuer As String
Dim instance As New ClaimsIdentity(certificate, issuer)
|
Синтаксис
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
)
|
Параметры
- certificate
-
The X.509 certificate.
- issuer
-
The issuer name.
Исключения
Примечания
Платформы
Платформа разработки
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
См. также