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 NewCert ¶
func NewCert(certfile, keyfile string, parseFunc func([]byte, []byte) (tls.Certificate, error)) (*tls.Certificate, error)
NewCert generates TLS cert by using the given cert,key and parse function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.