Expand description
QUIC transport implementation wrapping quinn.
StructsΒ§
- Certificate
Log - The
CertificateHookmost callers want: keep the chain, read it after. - Observing
Verifier π - A verifier that writes down the chain it was shown, then defers to another.
- Quic
Dial Options - How a QUIC dial is configured, independent of any draft.
- Quic
Target - Where packets go, and whose certificate to expect when they arrive.
- Quic
Transport - QUIC transport wrapping a
quinn::Connection. - Skip
Verification π - TLS certificate verifier that skips all verification. Testing only.
EnumsΒ§
- Dial
Error - Why a QUIC dial did not produce a connection.
- Dial
Phase - Which stage of a dial a
DialErrorcame from.
ConstantsΒ§
- TLS13_
CIPHER_ SUITES - The TLS 1.3 cipher suites, as IANA codepoints.
FunctionsΒ§
- client_
config π - The one place either transport decides what a server certificate is checked against.
- conn_
err π - Convert a quinn connection error to a TransportError.
- connection_
lost π - A lost connection, keeping the peerβs close code where it named one.
- default_
provider π - The process-wide crypto provider, or
ringif none was installed. - dial_
quic - Resolve
addrand dial the first address that answers. - dial_
quic_ to - Dial one already-resolved address, and report which ALPN the server chose.
- e_at π
- Name the address a flattened multi-address failure came from.
- family π
"IPv4"or"IPv6", for the one error message that needs to say which.- handshake_
failure π - Take a handshake failure apart into codes plus prose.
- host_of π
- The host part of
host:port, with the port removed and brackets stripped. - initial_
suite π - The AES-128-GCM keys QUICβs Initial packets require, from the default provider.
- negotiated_
alpn π - The ALPN the server selected, if the handshake recorded one.
- peer_
certificates π - Read a quinn connectionβs peer certificate chain as DER, leaf first.
- resolve π
- Split
host:portinto the name to validate against and every address it resolves to, v4 first. - restricted_
provider π - The default provider with its cipher suites narrowed to
wanted. - rustls_
client_ πconfig - The rustls half of
client_config, before quinn wraps it. - show_
cipher_ suite - The IANA name of a TLS 1.3 cipher suite codepoint.
Type AliasesΒ§
- Certificate
Hook - Called with a certificate chain observed during a handshake, DER, leaf first.