package xtls
import "git.sr.ht/~jamesponddotco/xstd-go/xcrypto/xtls"
Package xtls implements helpers and utilities for TLS clients.
Index ¶
- func DefaultCipherSuites() []uint16
- func DefaultConfig() *tls.Config
- func DefaultServerConfig() *tls.Config
- func IntermediateServerConfig() *tls.Config
- func ModernServerConfig() *tls.Config
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.
Source Files ¶
- Version
- v0.13.1 (latest)
- Published
- Jan 29, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 4 days ago –
Tools for package owners.