tlsutil

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: MIT Imports: 4 Imported by: 0

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) Inflate

func (tc *TLSConfig) Inflate()

func (*TLSConfig) LoadCACert

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

func (*TLSConfig) LoadX509KeyPair

func (tc *TLSConfig) LoadX509KeyPair(cert_filepath, key_filepath string) error

Jump to

Keyboard shortcuts

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