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

Method get_cert_attestation_latest

gateway/src/kv/mod.rs:983–987  ·  view source on GitHub ↗

Get the latest attestation for a domain

(&self, domain: &str)

Source from the content-addressed store, hash-verified

981
982 /// Get the latest attestation for a domain
983 pub fn get_cert_attestation_latest(&self, domain: &str) -> Option<CertAttestation> {
984 self.persistent
985 .read()
986 .decode(&keys::cert_attestation_latest(domain))
987 }
988
989 /// Save attestation for a domain (saves both latest and history)
990 pub fn save_cert_attestation(&self, domain: &str, attestation: &CertAttestation) -> Result<()> {

Callers 1

Calls 2

cert_attestation_latestFunction · 0.85
decodeMethod · 0.45

Tested by

no test coverage detected