EndpointIdentity::CreateX509CertificateIdentity Method
Creates an X509Certificate identity.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | CreateX509CertificateIdentity(X509Certificate2^) | Creates an X509Certificate identity with the specified certificate. |
![]() ![]() | CreateX509CertificateIdentity(X509Certificate2^, X509Certificate2Collection^) | Creates an X509Certificate identity with the specified primary and supporting certificates. |
Choose between these two constructors based on whether you have supporting certificates.
A secure WCF client that connects to an endpoint with this identity verifies that the claims presented by the server contain the claim that contains the thumbprint of the certificate used to construct this identity.

