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

Function cert_attestation_prefix

gateway/src/kv/mod.rs:346–348  ·  view source on GitHub ↗

Prefix for all attestations of a domain (for iteration)

(domain: &str)

Source from the content-addressed store, hash-verified

344
345 /// Prefix for all attestations of a domain (for iteration)
346 pub fn cert_attestation_prefix(domain: &str) -> String {
347 format!("{CERT_PREFIX}{domain}/attestation/")
348 }
349
350 /// Parse domain from cert/{domain}/... key
351 pub fn parse_cert_domain(key: &str) -> Option<&str> {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected