MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / resolve

Method resolve

crates/openshell-server/src/certgen.rs:394–412  ·  view source on GitHub ↗
(dir: &Path)

Source from the content-addressed store, hash-verified

392
393impl LocalPaths {
394 fn resolve(dir: &Path) -> Self {
395 let server_dir = dir.join("server");
396 let client_dir = dir.join("client");
397 let jwt_dir = dir.join("jwt");
398 Self {
399 ca_crt: dir.join("ca.crt"),
400 ca_key: dir.join("ca.key"),
401 server_crt: server_dir.join("tls.crt"),
402 server_key: server_dir.join("tls.key"),
403 server_dir,
404 client_crt: client_dir.join("tls.crt"),
405 client_key: client_dir.join("tls.key"),
406 client_dir,
407 jwt_signing: jwt_dir.join("signing.pem"),
408 jwt_public: jwt_dir.join("public.pem"),
409 jwt_kid: jwt_dir.join("kid"),
410 jwt_dir,
411 }
412 }
413
414 fn tls_files(&self) -> [&Path; 6] {
415 [

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected