cert

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCertificates

func GetCertificates(opts ...Options) (value []tls.Certificate, err error)

func GetTLSConfig

func GetTLSConfig(opts ...Options) (config *tls.Config, err error)

func IsEnabled

func IsEnabled(opts ...Options) bool

func SanitizeTlsConfig

func SanitizeTlsConfig(config *tls.Config) (err error)

func Validate

func Validate(opts ...Options) (err error)

Types

type Options

type Options struct {
	CertFile string
	KeyFile  string
}

Jump to

Keyboard shortcuts

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