MCPcopy
hub / github.com/caddyserver/certmagic / SiteMeta

Method SiteMeta

storage.go:248–251  ·  view source on GitHub ↗

SiteMeta returns the path to the metadata file for domain that is associated with the certificate from the given issuer with the given issuerKey.

(issuerKey, domain string)

Source from the content-addressed store, hash-verified

246// is associated with the certificate from the given issuer with
247// the given issuerKey.
248func (keys KeyBuilder) SiteMeta(issuerKey, domain string) string {
249 safeDomain := keys.Safe(domain)
250 return path.Join(keys.CertsSitePrefix(issuerKey, domain), safeDomain+".json")
251}
252
253// OCSPStaple returns a key for the OCSP staple associated
254// with the given certificate. If you have the PEM bundle

Callers 9

updateARIMethod · 0.80
saveCertResourceMethod · 0.80
loadCertResourceMethod · 0.80
TestPrefixAndKeyBuildersFunction · 0.80
obtainCertMethod · 0.80
renewCertMethod · 0.80
deleteSiteAssetsMethod · 0.80

Calls 2

SafeMethod · 0.95
CertsSitePrefixMethod · 0.95

Tested by 1

TestPrefixAndKeyBuildersFunction · 0.64