3 writes to IsServer
System.Net.Security (3)
System\Net\Security\SslAuthenticationOptions.cs (3)
50IsServer = false; 70IsServer = true; 104IsServer = true;
19 references to IsServer
System.Net.Security (19)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (5)
249if (sslAuthenticationOptions.IsServer) 267if (sslAuthenticationOptions.IsServer && sslAuthenticationOptions.ApplicationProtocols != null && sslAuthenticationOptions.ApplicationProtocols.Count != 0) 272if (sslAuthenticationOptions.CertificateContext != null && sslAuthenticationOptions.IsServer) 383sslHandle = SafeSslHandle.Create(sslCtxHandle, sslAuthenticationOptions.IsServer); 393if (sslAuthenticationOptions.IsServer)
System\Net\Security\SslAuthenticationOptions.cs (1)
173internal bool IsClient => !IsServer;
System\Net\Security\SslStream.cs (1)
479public override bool IsServer => _sslAuthenticationOptions.IsServer;
System\Net\Security\SslStream.IO.cs (2)
432_sslAuthenticationOptions!.IsServer) // guard against malicious endpoints. We should not see ClientHello on client. 438if (OperatingSystem.IsMacOS() && _sslAuthenticationOptions.IsServer)
System\Net\Security\SslStream.Protocol.cs (9)
516if ((selectedCert = FindCertificateWithPrivateKey(this, _sslAuthenticationOptions.IsServer, clientCertificate)) != null) 604_sslAuthenticationOptions.IsServer, 731selectedCert = FindCertificateWithPrivateKey(this, _sslAuthenticationOptions.IsServer, localCertificate); 750_sslAuthenticationOptions.IsServer, 868cachedCreds = _sslAuthenticationOptions.IsServer 873if (_sslAuthenticationOptions.IsServer) 952_sslAuthenticationOptions.IsServer, 1097chain.ChainPolicy.ApplicationPolicy.Add(_sslAuthenticationOptions.IsServer ? s_clientAuthOid : s_serverAuthOid); 1105_sslAuthenticationOptions.IsServer,
System\Net\Security\SslStreamPal.Unix.cs (1)
222if (errorCode == SecurityStatusPalErrorCode.OK && sslAuthenticationOptions.IsServer