tls

package
v1.1.0-beta.0...-35d50f2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RequireSecureTransport = atomic.NewBool(false)

RequireSecureTransport Process global variables

View Source
var SupportCipher = make(map[string]struct{}, len(tlsCipherString))

SupportCipher maintains cipher supported by TiDB.

Functions

func CipherSuiteName

func CipherSuiteName(n uint16) string

CipherSuiteName convert tls num to string. Taken from https://testssl.sh/openssl-rfc.mapping.html .

func VersionName

func VersionName(version uint16) string

VersionName is like `tls.VersionName()` from crypto/tls, but tries to match the names in MySQL/OpenSSL

Types

This section is empty.

Jump to

Keyboard shortcuts

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