tlsconfig

package module
v0.0.0-...-836ac7d Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2019 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RotateSessionKeys

func RotateSessionKeys(c *tls.Config, interval time.Duration, count int, stopChan <-chan struct{})

Types

type TLSManager

type TLSManager struct {
	// contains filtered or unexported fields
}

func MakeTLSManager

func MakeTLSManager() (*TLSManager, error)

func (*TLSManager) GetCertificate

func (man *TLSManager) GetCertificate(clientHello *tls.ClientHelloInfo) (*tls.Certificate, error)

func (*TLSManager) GetConfig

func (man *TLSManager) GetConfig() *tls.Config

func (*TLSManager) SetDefaultServerName

func (man *TLSManager) SetDefaultServerName(defaultServerName string)

func (*TLSManager) Stop

func (man *TLSManager) Stop()

Source Files

  • certs.go
  • ciphers.go
  • manager.go
  • sessionkeys.go
  • util.go

Jump to

Keyboard shortcuts

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