EndpointIdentity::CreateRsaIdentity Method (String^)
.NET Framework (current version)
Creates an RSA identity with the specified public key.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- publicKey
-
Type:
System::String^
The public key for the RSA identity.
Return Value
Type: System.ServiceModel::EndpointIdentity^An RSA EndpointIdentity associated with the specified publicKey.
| Exception | Condition |
|---|---|
| ArgumentNullException | publicKey is null. |
A secure WCF client that connects to an endpoint with this identity verifies that the claims presented by the server contain a claim that contains the RSA public key used to construct this identity.
This static method creates an instance of RsaEndpointIdentity by calling its constructor, RsaEndpointIdentity.
.NET Framework
Available since 3.0
Available since 3.0
Show: