tls

package
v0.6.14 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FailedToAddCAPemError              = errors.New("failed to add server ca's certificate")
	FailedToLoadSystemCredentialsError = errors.New("failed to load system credentials")
)

Functions

func LoadSystemCredentials

func LoadSystemCredentials() (credentials.TransportCredentials, error)

LoadSystemCredentials loads the system credentials

func LoadTLSCredentials

func LoadTLSCredentials(pemServerCAPath string) (
	credentials.TransportCredentials, error,
)

LoadTLSCredentials loads the TLS credentials

Types

This section is empty.

Jump to

Keyboard shortcuts

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