tlsutil

package
v0.40.7 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TLSConfig

type TLSConfig struct {
	Config *tls.Config
}

func NewTLSConfig

func NewTLSConfig() TLSConfig

func (*TLSConfig) LoadCACert

func (tc *TLSConfig) LoadCACert(caCertFilepath string) error

func (*TLSConfig) LoadX509KeyPair

func (tc *TLSConfig) LoadX509KeyPair(certFilepath, keyFilepath string) error

Jump to

Keyboard shortcuts

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