tlsutil

package
v0.0.0-...-b0609c7 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TLSConfigFromBytes

func TLSConfigFromBytes(certificate, key, ca []byte) (*tls.Config, error)

func TLSConfigFromFiles

func TLSConfigFromFiles(certPath, keyPath, caPath string) (*tls.Config, error)

Return a TLS config object based on files containing certificate, private key, and root CA.

Types

This section is empty.

Jump to

Keyboard shortcuts

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