Versions in this module Expand all Collapse all v1 v1.12.0 Dec 3, 2024 Changes in this version + type Config struct + CertLists []TLSCertListConfig + X509CertPools []X509CertPoolConfig + func (c *Config) NewStore() (*Store, error) + type Store struct + func (s *Store) GetCertList(name string) (certs []tls.Certificate, ...) + func (s *Store) GetClientCertList(name string) (certs []tls.Certificate, ...) + func (s *Store) GetX509CertPool(name string) (pool *x509.CertPool, ok bool) + type TLSCertConfig struct + CertPath string + KeyPath string + func (c *TLSCertConfig) Load() (cert tls.Certificate, err error) + type TLSCertListConfig struct + Certs []TLSCertConfig + Name string + func (c *TLSCertListConfig) Load() (certs []tls.Certificate, err error) + type X509CertPoolConfig struct + CertPaths []string + Name string + func (c *X509CertPoolConfig) Load() (pool *x509.CertPool, err error)