Package io.github.mahmoudimus.quic.token
Interface TokenPayload
- All Known Implementing Classes:
TokenPayload.Retry,TokenPayload.Validation
What an address validation token says, encrypted so that only the server can read it.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic 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. -
Method Summary
-
Method Details
-
issued
Instant issued()When the token was issued, to whole seconds.- Returns:
- the time
-