2 writes to ClientCertificates
System.Net.Security (2)
System\Net\Security\SslAuthenticationOptions.cs (1)
57
ClientCertificates
= sslClientAuthenticationOptions.ClientCertificates;
System\Net\Security\SslStream.Protocol.cs (1)
347
_sslAuthenticationOptions.
ClientCertificates
??= new X509CertificateCollection();
14 references to ClientCertificates
System.Net.Security (14)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
437
sslAuthenticationOptions.
ClientCertificates
?.Count > 0 ||
System\Net\Security\SslStream.Protocol.cs (13)
348
clientCertificate = _sslAuthenticationOptions.CertSelectionDelegate(this, _sslAuthenticationOptions.TargetHost, _sslAuthenticationOptions.
ClientCertificates
, remoteCert, issuers);
363
if (_sslAuthenticationOptions.
ClientCertificates
== null || _sslAuthenticationOptions.
ClientCertificates
.Count == 0)
375
else if (_credentialsHandle == null && _sslAuthenticationOptions.
ClientCertificates
!= null && _sslAuthenticationOptions.
ClientCertificates
.Count > 0)
379
clientCertificate = _sslAuthenticationOptions.
ClientCertificates
[0];
388
else if (_sslAuthenticationOptions.
ClientCertificates
!= null && _sslAuthenticationOptions.
ClientCertificates
.Count > 0)
407
for (int i = 0; i < _sslAuthenticationOptions.
ClientCertificates
.Count; ++i)
419
certificateEx = MakeEx(_sslAuthenticationOptions.
ClientCertificates
[i]);
474
if (certificateEx != null && (object)certificateEx != (object)_sslAuthenticationOptions.
ClientCertificates
[i])
482
NetEventSource.Log.SelectedCert(_sslAuthenticationOptions.
ClientCertificates
[i], this);
484
EnsureInitialized(ref filteredCerts).Add(_sslAuthenticationOptions.
ClientCertificates
[i]);