tls

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCipherSuites

func ParseCipherSuites(cipherSuites []string) []uint16

ParseCipherSuites converts a slice of cipher suite names to a slice of cipher suite ints

func ParseCurves added in v0.15.0

func ParseCurves(curves []string) []tls.CurveID

ParseCurves parses a slice of curves into their IDs

func Version

func Version(version string, fallback uint16) uint16

Version returns a TLS version number by given protocol string with a fallback

Types

This section is empty.

Jump to

Keyboard shortcuts

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