tlscerts

package
v1.2.803 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type DomainMatcher

type DomainMatcher struct {
	CertID string
	Domain string
	Regex  *regexp.Regexp
}

type TLSCerts

type TLSCerts struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

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) Init

func (c *TLSCerts) Init()

func (*TLSCerts) NewConfig

func (c *TLSCerts) NewConfig(name string, dir string, autoReload bool, disableHttp2 bool, v *proto.Vault) *tls.Config

func (*TLSCerts) ParsingCerts

func (c *TLSCerts) ParsingCerts(defaultCert bool, id string, index bool, v *proto.Vault, certsPem [][]byte) ([]*tls.Certificate, error)

func (*TLSCerts) ScanCertificate added in v1.2.6

func (c *TLSCerts) ScanCertificate(name string, dir string, autoReload bool, index bool, v *proto.Vault) ([]*tls.Certificate, error)

Directories

Path Synopsis
storage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL