tlsutil

package
v0.35.5 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 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) 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