cert

package
v2.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 4 Imported by: 1

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