4 writes to TargetHost
System.Net.Security (4)
System\Net\Security\SslAuthenticationOptions.cs (3)
17
TargetHost
= string.Empty;
53
TargetHost
= sslClientAuthenticationOptions.TargetHost ?? string.Empty;
69
TargetHost
= 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)
353
string.IsNullOrEmpty(sslAuthenticationOptions.
TargetHost
) ||
411
if (!string.IsNullOrEmpty(sslAuthenticationOptions.
TargetHost
) && !TargetHostNameHelper.IsValidAddress(sslAuthenticationOptions.
TargetHost
))
414
if (!Ssl.SslSetTlsExtHostName(sslHandle, sslAuthenticationOptions.
TargetHost
))
421
sslCtxHandle.TrySetSession(sslHandle, sslAuthenticationOptions.
TargetHost
);
System\Net\Security\SslStream.cs (1)
647
return _sslAuthenticationOptions.
TargetHost
;
System\Net\Security\SslStream.IO.cs (2)
130
NetSecurityTelemetry.Log.HandshakeStart(IsServer, _sslAuthenticationOptions.
TargetHost
);
462
await _sslAuthenticationOptions.ServerOptionDelegate(this, new SslClientHelloInfo(_sslAuthenticationOptions.
TargetHost
, _lastFrame.SupportedVersions),
System\Net\Security\SslStream.Protocol.cs (6)
348
clientCertificate = _sslAuthenticationOptions.CertSelectionDelegate(this, _sslAuthenticationOptions.
TargetHost
, _sslAuthenticationOptions.ClientCertificates, remoteCert, issuers);
685
localCertificate = _sslAuthenticationOptions.ServerCertSelectionDelegate(this, _sslAuthenticationOptions.
TargetHost
);
689
NetEventSource.Error(this, $"ServerCertSelectionDelegate returned no certificaete for '{_sslAuthenticationOptions.
TargetHost
}'.");
705
NetEventSource.Error(this, $"CertSelectionDelegate returned no certificaete for '{_sslAuthenticationOptions.
TargetHost
}'.");
904
string hostName = TargetHostNameHelper.NormalizeHostName(_sslAuthenticationOptions.
TargetHost
);
1106
TargetHostNameHelper.NormalizeHostName(_sslAuthenticationOptions.
TargetHost
));