MCPcopy
hub / github.com/caddyserver/caddy / PKIRootCAPool

Struct PKIRootCAPool

modules/caddytls/capools.go:212–219  ·  view source on GitHub ↗

PKIRootCAPool extracts the trusted root certificates from Caddy's native 'pki' app

Source from the content-addressed store, hash-verified

210
211// PKIRootCAPool extracts the trusted root certificates from Caddy's native 'pki' app
212type PKIRootCAPool struct {
213 // List of the Authority names that are configured in the `pki` app whose root certificates are trusted
214 Authority []string `json:"authority,omitempty"`
215
216 ca []*caddypki.CA
217 pool *x509.CertPool
218 certs []*x509.Certificate
219}
220
221// CaddyModule implements caddy.Module.
222func (PKIRootCAPool) CaddyModule() caddy.ModuleInfo {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected