4 writes to TargetHost
System.Net.Security (4)
System\Net\Security\SslAuthenticationOptions.cs (3)
17TargetHost = string.Empty; 53TargetHost = sslClientAuthenticationOptions.TargetHost ?? string.Empty; 69TargetHost = string.Empty;
System\Net\Security\SslStream.IO.cs (1)
456_sslAuthenticationOptions.TargetHost = _lastFrame.TargetName;
15 references to TargetHost
System.Net.Security (15)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (6)
359string.IsNullOrEmpty(sslAuthenticationOptions.TargetHost) || 360IPAddress.IsValid(sslAuthenticationOptions.TargetHost) || 418if (!string.IsNullOrEmpty(sslAuthenticationOptions.TargetHost) && !IPAddress.IsValid(sslAuthenticationOptions.TargetHost)) 421if (!Ssl.SslSetTlsExtHostName(sslHandle, sslAuthenticationOptions.TargetHost)) 428sslCtxHandle.TrySetSession(sslHandle, sslAuthenticationOptions.TargetHost);
System\Net\Security\SslStream.cs (1)
647return _sslAuthenticationOptions.TargetHost;
System\Net\Security\SslStream.IO.cs (2)
130NetSecurityTelemetry.Log.HandshakeStart(IsServer, _sslAuthenticationOptions.TargetHost); 462await _sslAuthenticationOptions.ServerOptionDelegate(this, new SslClientHelloInfo(_sslAuthenticationOptions.TargetHost, _lastFrame.SupportedVersions),
System\Net\Security\SslStream.Protocol.cs (6)
348clientCertificate = _sslAuthenticationOptions.CertSelectionDelegate(this, _sslAuthenticationOptions.TargetHost, _sslAuthenticationOptions.ClientCertificates, remoteCert, issuers); 685localCertificate = _sslAuthenticationOptions.ServerCertSelectionDelegate(this, _sslAuthenticationOptions.TargetHost); 689NetEventSource.Error(this, $"ServerCertSelectionDelegate returned no certificate for '{_sslAuthenticationOptions.TargetHost}'."); 705NetEventSource.Error(this, $"CertSelectionDelegate returned no certificaete for '{_sslAuthenticationOptions.TargetHost}'."); 904string hostName = TargetHostNameHelper.NormalizeHostName(_sslAuthenticationOptions.TargetHost); 1106TargetHostNameHelper.NormalizeHostName(_sslAuthenticationOptions.TargetHost));