4 writes to IsServer
System.Net.Security (4)
System\Net\Security\CipherSuitesPolicyPal.Linux.cs (1)
39using (SafeSslHandle ssl = SafeSslHandle.Create(innerContext, new SslAuthenticationOptions() { IsServer = false }))
System\Net\Security\SslAuthenticationOptions.cs (3)
52IsServer = false; 83IsServer = true; 117IsServer = true;
20 references to IsServer
System.Net.Security (20)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (3)
261if (sslAuthenticationOptions.IsServer) 281if (sslAuthenticationOptions.IsServer && sslAuthenticationOptions.ApplicationProtocols != null && sslAuthenticationOptions.ApplicationProtocols.Count != 0) 286if (sslAuthenticationOptions.CertificateContext != null && sslAuthenticationOptions.IsServer)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Ssl.cs (2)
450handle._isServer = options.IsServer; 471if (options.IsServer)
System\Net\Security\SslAuthenticationOptions.cs (1)
201internal bool IsClient => !IsServer;
System\Net\Security\SslStream.cs (1)
483public override bool IsServer => _sslAuthenticationOptions.IsServer;
System\Net\Security\SslStream.IO.cs (3)
457_sslAuthenticationOptions!.IsServer) // guard against malicious endpoints. We should not see ClientHello on client. 463if (OperatingSystem.IsMacOS() && _sslAuthenticationOptions.IsServer) 512if (_sslAuthenticationOptions!.IsServer && _securityContext == null)
System\Net\Security\SslStream.Protocol.cs (10)
488if ((selectedCert = FindCertificateWithPrivateKey(this, _sslAuthenticationOptions.IsServer, clientCertificate)) != null) 572_sslAuthenticationOptions.IsServer, 700selectedCert = FindCertificateWithPrivateKey(this, _sslAuthenticationOptions.IsServer, localCertificate); 718_sslAuthenticationOptions.IsServer, 838cachedCreds = _sslAuthenticationOptions.IsServer 843if (_sslAuthenticationOptions.IsServer) 922_sslAuthenticationOptions.IsServer, 1107if (_sslAuthenticationOptions.IsServer && !LocalAppContextSwitches.EnableServerAiaDownloads) 1130chain.ChainPolicy.ApplicationPolicy.Add(_sslAuthenticationOptions.IsServer ? s_clientAuthOid : s_serverAuthOid); 1138_sslAuthenticationOptions.IsServer,