Documentation ¶
Index ¶
- func New(logger loggerInterfaces.Logger) interfaces.TLSCerts
- type DomainMatcher
- type TLSCerts
- func (c *TLSCerts) GetCertificateFunc(name, dir string, v *proto.Vault) func(*tls.ClientHelloInfo) (*tls.Certificate, error)
- func (c *TLSCerts) GetStorage(name string) interfaces.CertStorage
- func (c *TLSCerts) Init()
- func (c *TLSCerts) NewConfig(name string, dir string, autoReload bool, disableHttp2 bool, v *proto.Vault) *tls.Config
- func (c *TLSCerts) ParsingCerts(defaultCert bool, id string, index bool, v *proto.Vault, certsPem [][]byte) ([]*tls.Certificate, error)
- func (c *TLSCerts) ScanCertificate(name string, dir string, autoReload bool, index bool, v *proto.Vault) ([]*tls.Certificate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(logger loggerInterfaces.Logger) interfaces.TLSCerts
Types ¶
type TLSCerts ¶
func (*TLSCerts) GetCertificateFunc ¶
func (c *TLSCerts) GetCertificateFunc(name, dir string, v *proto.Vault) func(*tls.ClientHelloInfo) (*tls.Certificate, error)
func (*TLSCerts) GetStorage ¶ added in v1.2.4
func (c *TLSCerts) GetStorage(name string) interfaces.CertStorage
func (*TLSCerts) ParsingCerts ¶
Click to show internal directories.
Click to hide internal directories.