private async Task <X509Certificate2> LazyLoadCertificateAsync(string name) { if (!_certs.ContainsKey(name)) { _certs[name] = await _store.GetCertAsync(name); } return(_certs[name]); }