package
0.0.0-20241202070857-e8bc3c4afa6d
Repository: https://github.com/project-faster/mp-quic-go.git
Documentation: pkg.go.dev

# Functions

NewConnectionParamatersManager creates a new connection parameters manager.
NewCookieGenerator initializes a new CookieGenerator.
NewCryptoSetup creates a new CryptoSetup instance for a server.
NewCryptoSetupClient creates a new CryptoSetup instance for a client.
NewCryptoSetupTLS creates a new CryptoSetup instance for a server.
NewServerConfig creates a new server config.
ParseHandshakeMessage reads 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.
TagNSTP is the no STOP_WAITING experiment currently unsupported by quic-go.
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.
ErrMalformedTag is returned when the tag value cannot be read.
ErrNSTPExperiment is returned when the client sends the NSTP tag in the CHLO.

# Structs

A Cookie is derived from the client address and can be used to verify the ownership of this address.
A CookieGenerator generates Cookies.
A HandshakeMessage is a handshake message.
ServerConfig is a server config.
TransportParameters are parameters sent to the peer during the handshake.

# 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.
Sealer seals a packet.

# Type aliases

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