package
0.5.0
Repository: https://github.com/goproxy0/quic-go.git
Documentation: pkg.go.dev

# Functions

NewConnectionParamatersManager creates a new connection parameters manager.
NewCryptoSetup creates a new CryptoSetup instance for a server.
NewCryptoSetupClient creates a new CryptoSetup instance for a client.
NewServerConfig creates a new server config.
ParseHandshakeMessage reads a crypto message.
WriteHandshakeMessage writes a crypto message.

# Constants

TagAEAD is the list of AEAD algos.
TagCCRT are the hashes of the cached certificates.
TagCCS are the hashes of the common certificate sets.
TagCERT is the CERT data.
TagCFCW is the initial session/connection flow control receive window.
TagCHLO is a client hello.
TagCOPT are the connection options.
TagCSCT is the signed cert timestamp (RFC6962) of leaf cert.
TagEXPY is the server config expiry.
TagFHL2 forces head of line blocking.
TagICSL is the idle connection state lifetime.
TagKEXS is the list of key exchange algos.
TagMIDS is max incoming dyanamic streams.
TagMSPC is max streams per connection.
TagNONC is the client nonce.
TagNONP is the client proof nonce.
TagOBIT is the client orbit.
TagPAD is padding.
TagPDMD is the proof demand.
TagPROF is the server proof.
TagPRST is the public reset tag.
TagPUBS is the public value for the KEX.
TagREJ is a server hello rejection.
TagRNON is the public reset nonce.
TagRSEQ is the public reset rejected packet number.
TagSCFG is a server config.
TagSCID is the server config ID.
TagSCLS is the silently close timeout.
TagSFCW is the initial stream flow control receive window.
TagSHLO is the server hello.
TagSNI is the server name indication.
TagSNO is the server nonce.
TagSRBF is the socket receive buffer.
TagSTK is the source-address token.
TagSVID is the server ID (unofficial tag by us :).
TagTCID is truncation of the connection ID.
TagUAID is the user agent ID.
TagVER is the QUIC version.
TagXLCT is the expected leaf certificate.

# Variables

ErrMalformedTag is returned when the tag value cannot be read.
ErrHOLExperiment is returned when the client sends the FHL2 tag in the CHLO this is an expiremnt implemented by Chrome in QUIC 36, which we don't support TODO: remove this when dropping support for QUIC 36.
ErrMalformedTag is returned when the tag value cannot be read.

# Structs

ServerConfig is a server config.

# Interfaces

ConnectionParametersManager negotiates and stores the connection parameters A ConnectionParametersManager can be used for a server as well as a client For the server: 1.
CryptoSetup is a crypto setup.

# Type aliases

KeyDerivationFunction is used for key derivation.
KeyExchangeFunction is used to make a new KEX.
Sealer seals a packet.
A Tag in the QUIC crypto.