Documentation ¶
Overview ¶
Package tlsutil provides utility functions for handling TLS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCipherSuite ¶
GetCipherSuite returns the corresponding cipher suite, and boolean value if it is supported.
func GetCipherSuites ¶ added in v3.5.6
GetCipherSuites returns list of corresponding cipher suite IDs.
func GetTLSVersion ¶ added in v3.5.8
GetTLSVersion returns the corresponding tls.Version or error.
Types ¶
type TLSVersion ¶ added in v3.5.8
type TLSVersion string
const ( TLSVersionDefault TLSVersion = "" TLSVersion12 TLSVersion = "TLS1.2" TLSVersion13 TLSVersion = "TLS1.3" )
Constants for TLS versions.
Click to show internal directories.
Click to hide internal directories.