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

Function ca_generation

crates/openshell-supervisor-network/src/l7/tls.rs:345–350  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

343
344 #[test]
345 fn ca_generation() {
346 let ca = SandboxCa::generate().unwrap();
347 let pem = ca.cert_pem();
348 assert!(pem.starts_with("-----BEGIN CERTIFICATE-----"));
349 assert!(pem.contains("-----END CERTIFICATE-----"));
350 }
351
352 #[test]
353 fn leaf_cert_generation() {

Callers

nothing calls this directly

Calls 1

cert_pemMethod · 0.80

Tested by

no test coverage detected