Uses of Class
io.github.mahmoudimus.quic.token.TokenKey
Packages that use TokenKey
Package
Description
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).Address validation tokens (RFC 9000 section 8.1), ported from quinn-proto's
token.rs and
bloom_token_log.rs: Retry and NEW_TOKEN tokens sealed with AES-256-GCM under a key the
server holds (TokenKey), their validation with expiry
and address binding (TokenValidator), and a bounded
replay log (BloomTokenLog); on the client, where
NEW_TOKEN tokens wait for the next connection (TokenStore,
TokenMemoryCache).-
Uses of TokenKey in io.github.mahmoudimus.quic.connection
Methods in io.github.mahmoudimus.quic.connection with parameters of type TokenKeyModifier and TypeMethodDescriptionThe key Retry tokens are sealed with; servers behind one address share it. -
Uses of TokenKey in io.github.mahmoudimus.quic.token
Methods in io.github.mahmoudimus.quic.token that return TokenKeyModifier and TypeMethodDescriptionstatic TokenKeyTokenKey.random(SecureRandom random) A key from a fresh random master secret of 64 bytes.Methods in io.github.mahmoudimus.quic.token with parameters of type TokenKeyModifier and TypeMethodDescriptionstatic TokenOpens and decodes a token.byte[]Encodes and seals the token.Constructors in io.github.mahmoudimus.quic.token with parameters of type TokenKeyModifierConstructorDescriptionTokenValidator(TokenKey key, InstantSource clock, Duration retryTokenLifetime, Duration validationTokenLifetime, TokenLog log, RandomGenerator random) A validator.