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

Struct InlineCAPool

modules/caddytls/capools.go:49–58  ·  modules/caddytls/capools.go::InlineCAPool

InlineCAPool is a certificate authority pool provider coming from a DER-encoded certificates in the config

Source from the content-addressed store, hash-verified

47// InlineCAPool is a certificate authority pool provider coming from
48// a DER-encoded certificates in the config
49type InlineCAPool struct {
50 // A list of base64 DER-encoded CA certificates
51 // against which to validate client certificates.
52 // Client certs which are not signed by any of
53 // these CAs will be rejected.
54 TrustedCACerts []string `json:"trusted_ca_certs,omitempty"`
55
56 pool *x509.CertPool
57 certs []*x509.Certificate
58}
59
60// CaddyModule implements caddy.Module.
61func (icp InlineCAPool) CaddyModule() caddy.ModuleInfo {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected