Windows apps
Collapse the table of content
Expand the table of content
Information
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^)

 

Initializes a new instance of the RsaEndpointIdentity class.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
RsaEndpointIdentity(
	X509Certificate2^ certificate
)

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
Return to top
Show:
© 2017 Microsoft