tlstool

package
v14.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultClientTLSConfig

func DefaultClientTLSConfig() *tls.Config

func DefaultClientTLSConfigWithCACert

func DefaultClientTLSConfigWithCACert(caCertFile string) (*tls.Config, error)

func DefaultClientTLSConfigWithCACertKeyPair

func DefaultClientTLSConfigWithCACertKeyPair(caCertFile, certFile, keyFile string) (*tls.Config, error)

func DefaultServerTLSConfig

func DefaultServerTLSConfig(certFile, keyFile string) (*tls.Config, error)

func LoadCACert

func LoadCACert(caCertFile string) (*x509.CertPool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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