MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / resolve

Method resolve

gateway/src/cert_store.rs:116–119  ·  view source on GitHub ↗
(&self, client_hello: ClientHello)

Source from the content-addressed store, hash-verified

114
115impl ResolvesServerCert for CertStore {
116 fn resolve(&self, client_hello: ClientHello) -> Option<Arc<CertifiedKey>> {
117 let sni = client_hello.server_name()?;
118 self.resolve_cert(sni)
119 }
120}
121
122/// Certificate resolver that wraps `ArcSwap<CertStore>` for lock-free reads.

Callers 6

build.mjsFile · 0.80
resolveModuleFunction · 0.80
processModuleFunction · 0.80
inlineStylesFunction · 0.80
buildFunction · 0.80
__init__Method · 0.80

Calls 2

resolve_certMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected