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

Struct FileCAPool

modules/caddytls/capools.go:125–134  ·  modules/caddytls/capools.go::FileCAPool

FileCAPool generates trusted root certificates pool from the designated DER and PEM file

Source from the content-addressed store, hash-verified

123
124// FileCAPool generates trusted root certificates pool from the designated DER and PEM file
125type FileCAPool struct {
126 // TrustedCACertPEMFiles is a list of PEM file names
127 // from which to load certificates of trusted CAs.
128 // Client certificates which are not signed by any of
129 // these CA certificates will be rejected.
130 TrustedCACertPEMFiles []string `json:"pem_files,omitempty"`
131
132 pool *x509.CertPool
133 certs []*x509.Certificate
134}
135
136// CaddyModule implements caddy.Module.
137func (FileCAPool) CaddyModule() caddy.ModuleInfo {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected