1 instantiation of SslContextCacheKey
System.Net.Security (1)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
162
var key = new
SslContextCacheKey
(protocols, sslAuthenticationOptions.CertificateContext?.TargetCertificate.GetCertHash(HashAlgorithmName.SHA256));
5 references to SslContextCacheKey
System.Net.Security (5)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (5)
28
private sealed class SafeSslContextCache : SafeHandleCache<
SslContextCacheKey
, SafeSslContextHandle> { }
32
internal readonly struct SslContextCacheKey : IEquatable<
SslContextCacheKey
>
43
public override bool Equals(object? obj) => obj is
SslContextCacheKey
key && Equals(key);
45
public bool Equals(
SslContextCacheKey
other) =>
162
var
key = new SslContextCacheKey(protocols, sslAuthenticationOptions.CertificateContext?.TargetCertificate.GetCertHash(HashAlgorithmName.SHA256));