3 instantiations of CachedCertificateKey
System.Net.Http.WinHttpHandler (3)
System\Net\Http\WinHttpRequestCallback.cs (3)
145if (state.Handler.TryRemoveCertificateFromCache(new CachedCertificateKey(connectedIPAddress, state.RequestMessage))) 357state.Handler.GetCertificateFromCache(new CachedCertificateKey(ipAddress, state.RequestMessage), out byte[]? rawCertData) && 416state.Handler.AddCertificateToCache(new CachedCertificateKey(ipAddress, state.RequestMessage), serverCertificate.RawData);
7 references to CachedCertificateKey
System.Net.Http.WinHttpHandler (7)
System\Net\Http\CachedCertificateValue.cs (2)
23internal readonly struct CachedCertificateKey : IEquatable<CachedCertificateKey> 34public bool Equals(CachedCertificateKey other) =>
System\Net\Http\WinHttpHandler.cs (5)
100private readonly ConcurrentDictionary<CachedCertificateKey, CachedCertificateValue> _cachedCertificates = new(); 1708internal bool GetCertificateFromCache(CachedCertificateKey key, [NotNullWhen(true)] out byte[]? rawCertificateBytes) 1721internal void AddCertificateToCache(CachedCertificateKey key, byte[] rawCertificateData) 1729internal bool TryRemoveCertificateFromCache(CachedCertificateKey key) 1751foreach (KeyValuePair<CachedCertificateKey, CachedCertificateValue> kvPair in _cachedCertificates)