1 write to SslContexts
System.Net.Security (1)
System\Net\Security\SslStreamCertificateContext.Linux.cs (1)
60SslContexts = new ConcurrentDictionary<SslProtocols, SafeSslContextHandle>();
4 references to SslContexts
System.Net.Security (4)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (3)
178if (!sslAuthenticationOptions.CertificateContext!.SslContexts!.TryGetValue(protocols | (hasAlpn ? FakeAlpnSslProtocol : SslProtocols.None), out handle)) 183SafeSslContextHandle cached = sslAuthenticationOptions.CertificateContext!.SslContexts!.GetOrAdd(protocols | (hasAlpn ? FakeAlpnSslProtocol : SslProtocols.None), handle); 366sslAuthenticationOptions.CertificateContext.SslContexts == null)
System\Net\Security\SslStreamCertificateContext.Linux.cs (1)
226lock (SslContexts)