tools

package
v0.0.0-...-70feac9 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const ALPN = "quic-go integration tests"

Variables

This section is empty.

Functions

func GenerateCA

func GenerateCA() (*x509.Certificate, crypto.PrivateKey, error)

func GenerateLeafCert

func GenerateLeafCert(ca *x509.Certificate, caPriv crypto.PrivateKey) (*x509.Certificate, crypto.PrivateKey, error)

func GenerateTLSConfigWithLongCertChain

func GenerateTLSConfigWithLongCertChain(ca *x509.Certificate, caPrivateKey crypto.PrivateKey) (*tls.Config, error)

GenerateTLSConfigWithLongCertChain generates a tls.Config that uses a long certificate chain. The Root CA used is the same as for the config returned from getTLSConfig().

func NewQlogConnectionTracer

func NewQlogConnectionTracer(logger io.Writer) func(context.Context, logging.Perspective, quic.ConnectionID) *logging.ConnectionTracer

func QlogTracer

func QlogTracer(logger io.Writer) *logging.Tracer

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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