tls

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileLoader

func NewFileLoader(_, instName string, _, inlineArgs []string) (module.Module, error)

func NewSelfSignedLoader

func NewSelfSignedLoader(_, instName string, _, inlineArgs []string) (module.Module, error)

Types

type FileLoader

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

func (*FileLoader) Close

func (f *FileLoader) Close() error

func (*FileLoader) Init

func (f *FileLoader) Init(cfg *config.Map) error

func (*FileLoader) InstanceName

func (f *FileLoader) InstanceName() string

func (*FileLoader) LoadCerts

func (f *FileLoader) LoadCerts() ([]tls.Certificate, error)

func (*FileLoader) Name

func (f *FileLoader) Name() string

type SelfSignedLoader

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

func (*SelfSignedLoader) Init

func (f *SelfSignedLoader) Init(cfg *config.Map) error

func (*SelfSignedLoader) InstanceName

func (f *SelfSignedLoader) InstanceName() string

func (*SelfSignedLoader) LoadCerts

func (f *SelfSignedLoader) LoadCerts() ([]tls.Certificate, error)

func (*SelfSignedLoader) Name

func (f *SelfSignedLoader) Name() string

Jump to

Keyboard shortcuts

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