xtls

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 1 Imported by: 0

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

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL