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 NewQlogger(logger io.Writer) ...
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.
Click to show internal directories.
Click to hide internal directories.