Uses of Package
io.github.mahmoudimus.quic.tls
Packages that use io.github.mahmoudimus.quic.tls
Package
Description
A dependency-free QUIC transport (RFC 9000, 9001, 9002, 9221, 9369).
The sans-I/O QUIC connection and endpoint, ported from quinn-proto: the
Connection state machine (handshake, packet assembly and
processing, key updates, closing and draining), the Endpoint that routes datagrams and answers with Version
Negotiation, Retry and stateless resets, their configurations (TransportConfig, ServerConfig, ClientConfig, EndpointConfig), and the building blocks they are made of:
range sets (RangeSet), reassembly of received data
(Assembler), buffering of sent data (SendBuffer), streams and flow control (StreamsState), packet number spaces and ACK generation
(PacketSpace), loss detection (Recovery), pacing (Pacer), path MTU discovery (MtuDiscovery) and timers (TimerTable).A TLS 1.3 handshake (RFC 8446) for QUIC (RFC 9001), client and server, ported from rustls with
quinn's session interface.
-
Classes in io.github.mahmoudimus.quic.tls used by io.github.mahmoudimus.quicClassDescriptionDecompresses a server's certificate chain (RFC 8879) with one of the algorithms a client offers in
compress_certificate. zlib is built in (CertificateDecompressor.ZLIB); Brotli and zstd come from the caller, which has decoders for them.The groups the handshake offers and accepts for key exchange (RFC 8446 section 4.2.7): (EC)DHE groups and the X25519MLKEM768 hybrid.Builds aTlsConfig. -
Classes in io.github.mahmoudimus.quic.tls used by io.github.mahmoudimus.quic.connectionClassDescriptionWhere a client keeps session tickets between connections, by server.Configuration for TLS 1.3 handshakes in QUIC, shared by any number of
TlsSessions.A TLS 1.3 handshake for QUIC (RFC 9001), as a sans-I/O state machine modelled on quinn'scrypto::Session. -
Classes in io.github.mahmoudimus.quic.tls used by io.github.mahmoudimus.quic.tlsClassDescriptionDecompresses a server's certificate chain (RFC 8879) with one of the algorithms a client offers in
compress_certificate. zlib is built in (CertificateDecompressor.ZLIB); Brotli and zstd come from the caller, which has decoders for them.A certificate chain, end-entity certificate first, and the private key for that certificate: what a server, or a client asked for a certificate, presents and signs with.Whether a server asks clients for a certificate (RFC 8446 section 4.3.2).What a server's certificate and ALPN selectors see of a ClientHello.What a client's ClientHello looks like: its cipher suites, in order; its extensions, in order, with how each body is made; whether the extensions are shuffled per hello, as Chrome has done since version 110 (BoringSSLSSL_set_permute_extensions); the length of itslegacy_session_id. AHelloContextsupplies what changes per connection.Where a client keeps session tickets between connections, by server.A resuming client's offer of 0-RTT data, as anEarlyDataPolicysees it.Decides, on a server, whether to accept the 0-RTT data a resuming client offers.Where a client finds a server's Encrypted Client Hello configurations (RFC 9849): typically theechparameter of the server's DNS HTTPS record (RFC 9848), looked up however the application resolves names.One extension of aClientHelloProfile: its type, and how its body is made for a connection.Makes an extension's body for one hello.Configures aFingerprintSslContext.The GREASE values (RFC 8701) one ClientHello uses, drawn per connection the way BoringSSL draws them: one for the cipher suites, one shared by the supported groups and the key shares, one for each of the two GREASE extensions (which must differ), one for the supported versions and one for the signature algorithms.What one ClientHello says that its profile does not: the server's name, the ALPN protocols offered on this connection, the public keys of the key shares, the GREASE values, and where the random bytes (client random, session id, GREASE ECH, shuffling) come from.The groups the handshake offers and accepts for key exchange (RFC 8446 section 4.2.7): (EC)DHE groups and the X25519MLKEM768 hybrid.A session ticket a client received in a NewSessionTicket message (RFC 8446 section 4.6.1), with what it needs to resume the session: the pre-shared key derived from the resumption master secret, the cipher suite, the ticket age obfuscation, and for 0-RTT the ALPN protocol and the server's QUIC transport parameters, which a client must remember and use for its early data (RFC 9000 section 7.4.1).The signature schemes (RFC 8446 section 4.2.3) the handshake knows.A stateless session ticket encrypter for a server (RFC 8446 section 4.6.1, RFC 5077 section 4): the session state is sealed into the ticket with AES-256-GCM under a server key, so the server keeps nothing per session.The TLS 1.2 cipher suites browser profiles offer (RFC 5246, 5289, 7905): ECDHE with an ECDSA or RSA certificate, or RSA key transport; AES-GCM, ChaCha20-Poly1305 or AES-CBC with HMAC-SHA1.Configuration for TLS 1.3 handshakes in QUIC, shared by any number ofTlsSessions.Builds aTlsConfig.A TLS 1.3 handshake for QUIC (RFC 9001), as a sans-I/O state machine modelled on quinn'scrypto::Session. -
Classes in io.github.mahmoudimus.quic.tls used by org.microproxy.tlsClassDescriptionDecompresses a server's certificate chain (RFC 8879) with one of the algorithms a client offers in
compress_certificate. zlib is built in (CertificateDecompressor.ZLIB); Brotli and zstd come from the caller, which has decoders for them.What a client's ClientHello looks like: its cipher suites, in order; its extensions, in order, with how each body is made; whether the extensions are shuffled per hello, as Chrome has done since version 110 (BoringSSLSSL_set_permute_extensions); the length of itslegacy_session_id. AHelloContextsupplies what changes per connection.Where a client finds a server's Encrypted Client Hello configurations (RFC 9849): typically theechparameter of the server's DNS HTTPS record (RFC 9848), looked up however the application resolves names.