4 writes to TargetHost
System.Net.Security (4)
System\Net\Security\SslAuthenticationOptions.cs (3)
20
TargetHost
= string.Empty;
56
TargetHost
= sslClientAuthenticationOptions.TargetHost ?? string.Empty;
83
TargetHost
= string.Empty;
System\Net\Security\SslStream.IO.cs (1)
481
_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)
364
string.IsNullOrEmpty(sslAuthenticationOptions.
TargetHost
) ||
365
IPAddress.IsValid(sslAuthenticationOptions.
TargetHost
) ||
446
if (!string.IsNullOrEmpty(sslAuthenticationOptions.
TargetHost
) && !IPAddress.IsValid(sslAuthenticationOptions.
TargetHost
))
449
if (!Ssl.SslSetTlsExtHostName(sslHandle, sslAuthenticationOptions.
TargetHost
))
456
sslCtxHandle.TrySetSession(sslHandle, sslAuthenticationOptions.
TargetHost
);
System\Net\Security\SslStream.cs (1)
647
return _sslAuthenticationOptions.
TargetHost
;
System\Net\Security\SslStream.IO.cs (2)
131
NetSecurityTelemetry.Log.HandshakeStart(IsServer, _sslAuthenticationOptions.
TargetHost
);
487
await _sslAuthenticationOptions.ServerOptionDelegate(this, new SslClientHelloInfo(_sslAuthenticationOptions.
TargetHost
, _lastFrame.SupportedVersions),
System\Net\Security\SslStream.Protocol.cs (6)
351
clientCertificate = _sslAuthenticationOptions.CertSelectionDelegate(this, _sslAuthenticationOptions.
TargetHost
, _sslAuthenticationOptions.ClientCertificates, remoteCert, issuers);
685
localCertificate = _sslAuthenticationOptions.ServerCertSelectionDelegate(this, _sslAuthenticationOptions.
TargetHost
);
689
NetEventSource.Error(this, $"ServerCertSelectionDelegate returned no certificate for '{_sslAuthenticationOptions.
TargetHost
}'.");
705
NetEventSource.Error(this, $"CertSelectionDelegate returned no certificaete for '{_sslAuthenticationOptions.
TargetHost
}'.");
905
string hostName = TargetHostNameHelper.NormalizeHostName(_sslAuthenticationOptions.
TargetHost
);
1117
TargetHostNameHelper.NormalizeHostName(_sslAuthenticationOptions.
TargetHost
));