The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
RsaEndpointIdentity Constructor (X509Certificate2^)
.NET Framework (current version)
Initializes a new instance of the RsaEndpointIdentity class.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- certificate
-
Type:
System.Security.Cryptography.X509Certificates::X509Certificate2^
The X509Certificate2.
| Exception | Condition |
|---|---|
| ArgumentNullException | certificate is null. |
| NotSupportedException | The certificate public key is null. |
| CryptographicException | The certificate's public key cannot be accessed. |
The certificate is converted to an RSA claim and an endpoint identity is created by the method Initialize.
.NET Framework
Available since 3.0
Available since 3.0
Show: