Documentation ¶
Index ¶
- func TLSCiphersDirective(m *config.Map, node config.Node) (interface{}, error)
- func TLSClientBlock(m *config.Map, node config.Node) (interface{}, error)
- func TLSCurvesDirective(m *config.Map, node config.Node) (interface{}, error)
- func TLSDirective(m *config.Map, node config.Node) (interface{}, error)
- func TLSVersionsDirective(m *config.Map, node config.Node) (interface{}, error)
- type TLSConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TLSCiphersDirective ¶
TLSCiphersDirective parses directive with arguments that specify list of ciphers to offer to clients (or to use for outgoing connections).
It returns list of []uint16 with corresponding cipher IDs.
func TLSCurvesDirective ¶
TLSCurvesDirective parses directive with arguments that specify elliptic curves to use during TLS key exchange.
It returns []tls.CurveID.
func TLSDirective ¶
TLSDirective reads the TLS configuration and adds the reload handler to reread certificates on SIGUSR2.
The returned value is *tls.TLSConfig with GetConfigForClient set. If the 'tls off' is used, returned value is nil.
Types ¶
Click to show internal directories.
Click to hide internal directories.