package xtls

import "git.sr.ht/~jamesponddotco/xstd-go/xcrypto/xtls"

Package xtls implements helpers and utilities for TLS clients.

Index

Functions

func DefaultCipherSuites

func DefaultCipherSuites() []uint16

DefaultCipherSuites returns a sensible default list of cipher suites based on Mozilla's recommendations.

func DefaultConfig

func DefaultConfig() *tls.Config

DefaultConfig returns a *tls.Config with optimized security and performance settings for common use cases.

func DefaultServerConfig

func DefaultServerConfig() *tls.Config

DefaultServerConfig returns a *tls.Config with optimized security and performance settings for common server use cases.

func IntermediateServerConfig

func IntermediateServerConfig() *tls.Config

IntermediateServerConfig returns a *tls.Config using the Intermediate profile from the Mozilla SSL Configuration Generator.

func ModernServerConfig

func ModernServerConfig() *tls.Config

ModernServerConfig returns a *tls.Config using the Modern profile from the Mozilla SSL Configuration Generator.

Source Files

config.go xtls.go

Version
v0.13.1 (latest)
Published
Jan 29, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
4 days ago

Tools for package owners.