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 ¶
GetCipherSuites returns list of corresponding cipher suite IDs.
func GetTLSVersion ¶
GetTLSVersion returns the corresponding tls.Version or error.
Types ¶
type TLSVersion ¶
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.