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