4 instantiations of X509CertificateEndpointIdentity
System.ServiceModel (4)
System\ServiceModel\EndpointIdentity.cs (4)
123return new X509CertificateEndpointIdentity(certificate); 128return new X509CertificateEndpointIdentity(primaryCertificate, supportingCertificates); 148return new X509CertificateEndpointIdentity(primaryCertificate, certificateCollection); 218readIdentity = new X509CertificateEndpointIdentity(reader);
13 references to X509CertificateEndpointIdentity
System.ServiceModel (13)
System\ServiceModel\Channels\HttpChannelFactory.cs (3)
778X509CertificateEndpointIdentity remoteCertificateIdentity = to.Identity as X509CertificateEndpointIdentity; 897if ((target.Identity == null) || (target.Identity is X509CertificateEndpointIdentity))
System\ServiceModel\Channels\HttpsChannelFactory.cs (2)
100X509CertificateEndpointIdentity certificateIdentity = 101remoteAddress.Identity as X509CertificateEndpointIdentity;
System\ServiceModel\Channels\TransportSecurityHelpers.cs (4)
52if (identity != null && !(identity is X509CertificateEndpointIdentity)) 97if (identity != null && !(identity is X509CertificateEndpointIdentity)) 138X509CertificateEndpointIdentity remoteCertificateIdentity = to.Identity as X509CertificateEndpointIdentity;
System\ServiceModel\Configuration\IdentityElement.cs (2)
111else if (identity is X509CertificateEndpointIdentity) 113X509Certificate2Collection certs = ((X509CertificateEndpointIdentity)identity).Certificates;
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (2)
303if ((targetServerCertificate == null) && (targetAddress.Identity != null) && (targetAddress.Identity.GetType() == typeof(X509CertificateEndpointIdentity))) 305targetServerCertificate = ((X509CertificateEndpointIdentity)targetAddress.Identity).Certificates[0];