InlineCAPool is a certificate authority pool provider coming from a DER-encoded certificates in the config
| 47 | // InlineCAPool is a certificate authority pool provider coming from |
| 48 | // a DER-encoded certificates in the config |
| 49 | type 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. |
| 61 | func (icp InlineCAPool) CaddyModule() caddy.ModuleInfo { |
nothing calls this directly
no outgoing calls
no test coverage detected