Documentation ¶
Overview ¶
Package xtls implements helpers and utilities for TLS clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultCipherSuites ¶
func DefaultCipherSuites() []uint16
DefaultCipherSuites returns a sensible default list of cipher suites based on Mozilla's recommendations.
func DefaultConfig ¶
DefaultConfig returns a *tls.Config with optimized security and performance settings for common use cases.
func DefaultServerConfig ¶
DefaultServerConfig returns a *tls.Config with optimized security and performance settings for common server use cases.
func IntermediateServerConfig ¶
IntermediateServerConfig returns a *tls.Config using the Intermediate profile from the Mozilla SSL Configuration Generator.
func ModernServerConfig ¶
ModernServerConfig returns a *tls.Config using the Modern profile from the Mozilla SSL Configuration Generator.
Types ¶
This section is empty.