tls

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientCert

func ClientCert(conn net.Conn) (x509.Certificate, error)

ClientCert returns client certificate

func LoadTLSCfg

func LoadTLSCfg(ca, crt, key string) (*tls.Config, error)

LoadTLSCfg return a TLS configuration that can be used in TLS servers

Types

This section is empty.

Jump to

Keyboard shortcuts

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