Documentation ¶
Index ¶
- func CreateClientMTLSConfig(clientCert tls.Certificate, caCertPool *x509.CertPool, ...) (*tls.Config, error)
- func CreateDefaultServerTLSConfig(commonName string, useSystemCertPool bool) (*tls.Config, error)
- func CreateServerTLSConfig(cert tls.Certificate, mutual bool, uris []string, caCertPool *x509.CertPool, ...) (*tls.Config, error)
- func NewCertExchanger(cert *tls.Certificate, certChannel chan *tls.Certificate, ...) *certExchanger
- func UpgradeTLSConfigClientExchanger(tlsConfig *tls.Config, certChannel chan *tls.Certificate, ...) error
- func UpgradeTLSConfigServerExchanger(tlsConfig *tls.Config, certChannel chan *tls.Certificate, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClientMTLSConfig ¶
func CreateDefaultServerTLSConfig ¶ added in v2.0.2
func CreateServerTLSConfig ¶
func NewCertExchanger ¶
func NewCertExchanger(cert *tls.Certificate, certChannel chan *tls.Certificate, logger zLogger.ZLogger) *certExchanger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.