tlsutil

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MPL-2.0 Imports: 2 Imported by: 15

Documentation

Overview

DEPRECATED: this has been moved to go-secure-stdlib and will be removed

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidCertParams = exttlsutil.ErrInvalidCertParams
View Source
var TLSLookup = exttlsutil.TLSLookup

Functions

func ClientTLSConfig added in v0.1.12

func ClientTLSConfig(caCert []byte, clientCert []byte, clientKey []byte) (*tls.Config, error)

func GetCipherName

func GetCipherName(cipher uint16) (string, error)

func LoadClientTLSConfig added in v0.2.0

func LoadClientTLSConfig(caCert, clientCert, clientKey string) (*tls.Config, error)

func ParseCiphers

func ParseCiphers(cipherStr string) ([]uint16, error)

func SetupTLSConfig added in v0.2.0

func SetupTLSConfig(conf map[string]string, address string) (*tls.Config, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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