PKIRootCAPool extracts the trusted root certificates from Caddy's native 'pki' app
| 210 | |
| 211 | // PKIRootCAPool extracts the trusted root certificates from Caddy's native 'pki' app |
| 212 | type 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. |
| 222 | func (PKIRootCAPool) CaddyModule() caddy.ModuleInfo { |
nothing calls this directly
no outgoing calls
no test coverage detected