Uses of Interface
io.github.mahmoudimus.quic.token.TokenPayload
Packages that use TokenPayload
Package
Description
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 TokenPayload in io.github.mahmoudimus.quic.token
Classes in io.github.mahmoudimus.quic.token that implement TokenPayloadModifier and TypeClassDescriptionstatic final recordA token sent in a Retry packet (RFC 9000 section 8.1.2), bound to the client's address and port, and short-lived since the client returns it at once.static final recordA token sent in a NEW_TOKEN frame (RFC 9000 section 8.1.3), for a later connection.Methods in io.github.mahmoudimus.quic.token that return TokenPayloadMethods in io.github.mahmoudimus.quic.token with parameters of type TokenPayloadModifier and TypeMethodDescriptionstatic TokenToken.create(TokenPayload payload, RandomGenerator random) A token with a fresh random nonce.Constructors in io.github.mahmoudimus.quic.token with parameters of type TokenPayload