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;
14 references to TargetHost
System.Net.Security (14)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (5)
353string.IsNullOrEmpty(sslAuthenticationOptions.TargetHost) || 411if (!string.IsNullOrEmpty(sslAuthenticationOptions.TargetHost) && !TargetHostNameHelper.IsValidAddress(sslAuthenticationOptions.TargetHost)) 414if (!Ssl.SslSetTlsExtHostName(sslHandle, sslAuthenticationOptions.TargetHost)) 421sslCtxHandle.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 certificaete for '{_sslAuthenticationOptions.TargetHost}'."); 705NetEventSource.Error(this, $"CertSelectionDelegate returned no certificaete for '{_sslAuthenticationOptions.TargetHost}'."); 904string hostName = TargetHostNameHelper.NormalizeHostName(_sslAuthenticationOptions.TargetHost); 1106TargetHostNameHelper.NormalizeHostName(_sslAuthenticationOptions.TargetHost));