The `combined` pool type merges multiple pools. The `sources` pools must implement the `CertificateProvider` interface, which allows them to export their certificate set. Note: SystemCAPool does not implement CertificateProvider because x509.SystemCertPool() doesn't expose its certificates, so it c
| 828 | // x509.SystemCertPool() doesn't expose its certificates, so it cannot |
| 829 | // be used as a source in CombinedCAPool. |
| 830 | type CombinedCAPool struct { |
| 831 | // The CA pool sources to combine. Each source is a CA pool provider module. |
| 832 | SourcesRaw []json.RawMessage `json:"sources,omitempty" caddy:"namespace=tls.ca_pool.source inline_key=provider"` |
| 833 | |
| 834 | sources []CA |
| 835 | pool *x509.CertPool |
| 836 | certs []*x509.Certificate |
| 837 | } |
| 838 | |
| 839 | // CaddyModule implements caddy.Module. |
| 840 | func (CombinedCAPool) CaddyModule() caddy.ModuleInfo { |
nothing calls this directly
no outgoing calls
no test coverage detected