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

Method get_cert_data

gateway/src/kv/mod.rs:878–880  ·  view source on GitHub ↗

Get certificate data for a domain

(&self, domain: &str)

Source from the content-addressed store, hash-verified

876
877 /// Get certificate data for a domain
878 pub fn get_cert_data(&self, domain: &str) -> Option<CertData> {
879 self.persistent.read().decode(&keys::cert_data(domain))
880 }
881
882 /// Save certificate data for a domain
883 pub fn save_cert_data(&self, domain: &str, data: &CertData) -> Result<()> {

Callers 6

renew_zt_domain_certMethod · 0.45
zt_domain_to_protoFunction · 0.45
init_domainMethod · 0.45
try_renewMethod · 0.45
request_new_certMethod · 0.45
do_renewMethod · 0.45

Calls 2

cert_dataFunction · 0.85
decodeMethod · 0.45

Tested by

no test coverage detected