Documentation ¶
Index ¶
- Constants
- func GenerateCA() (*x509.Certificate, crypto.PrivateKey, error)
- func GenerateLeafCert(ca *x509.Certificate, caPriv crypto.PrivateKey) (*x509.Certificate, crypto.PrivateKey, error)
- func GenerateTLSConfigWithLongCertChain(ca *x509.Certificate, caPrivateKey crypto.PrivateKey) (*tls.Config, error)
- func NewQlogConnectionTracer(logger io.Writer) ...
- func QlogTracer(logger io.Writer) *logging.Tracer
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 ¶ added in v0.42.0
func NewQlogConnectionTracer(logger io.Writer) func(context.Context, logging.Perspective, quic.ConnectionID) *logging.ConnectionTracer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.