tools

package
v0.0.0-...-3bc259b Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 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 NewQlogger

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

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