Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCerts ¶
type ClientCerts struct { InsecureSkipVerify bool Certificate *tls.Certificate RootCAs *x509.CertPool Checksum []byte }
func (ClientCerts) GetChecksum ¶
func (s ClientCerts) GetChecksum() []byte
type ClientCertsSource ¶
type ClientCertsSource interface {
ClientCerts() chan ClientCerts
}
type ClientCertsStore ¶
type ClientCertsStore struct {
// contains filtered or unexported fields
}
func NewClientCertsStore ¶
func NewClientCertsStore(logger *slog.Logger) *ClientCertsStore
func (*ClientCertsStore) LoadClientCerts ¶
func (s *ClientCertsStore) LoadClientCerts() ClientCerts
func (*ClientCertsStore) SetClientCerts ¶
func (s *ClientCertsStore) SetClientCerts(certs ClientCerts)
type ClientPEMs ¶
type ClientPEMs struct { CertPEMBlock []byte KeyPEMBlock []byte RootCAsPEMBlock []byte UseSystemPool bool }
func (ClientPEMs) Certificate ¶
func (s ClientPEMs) Certificate() (*tls.Certificate, error)
func (ClientPEMs) Checksum ¶
func (s ClientPEMs) Checksum() []byte
type ClientPEMsLoader ¶
type ClientPEMsLoader interface {
Load() (*ClientPEMs, error)
}
Click to show internal directories.
Click to hide internal directories.