Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CurvePreferenceMap = map[string]tls.CurveID{ "X25519": tls.X25519, "CurveP256": tls.CurveP256, "CurveP384": tls.CurveP384, "CurveP521": tls.CurveP521, }
CurvePreferenceMap is a list of supported ECC Curves, optimized for performance
Functions ¶
func DefaultCipherSuites ¶
func DefaultCipherSuites() []uint16
func DefaultCurvePreferences ¶
DefaultCurvePreferences returns a sorted list of ECC curves, reordered to default to the highest level of security. See: https://blog.bracebin.com/achieving-perfect-ssl-labs-score-with-go
Types ¶
Click to show internal directories.
Click to hide internal directories.