sni

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2016 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificates

type Certificates struct {
	CertFile string
	KeyFile  string

	Certificate  *x509.Certificate
	Key          *rsa.PrivateKey
	Intermediate *x509.Certificate
}

Certificates is a representation of a certificate and a key

type SNIServer added in v1.9.0

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

func (*SNIServer) ListenAndServeTLSSNI added in v1.9.0

func (s *SNIServer) ListenAndServeTLSSNI(srv *http.Server, certs []Certificates) error

ListenAndServeTLSSNI openes a http listener with SNI certificate selection from the Certificates collection

func (*SNIServer) Stop added in v1.9.0

func (s *SNIServer) Stop()

Jump to

Keyboard shortcuts

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