Uses of Interface
io.github.mahmoudimus.quic.tls.EarlyDataPolicy
Packages that use EarlyDataPolicy
Package
Description
A TLS 1.3 handshake (RFC 8446) for QUIC (RFC 9001), client and server, ported from rustls with
quinn's session interface.
-
Uses of EarlyDataPolicy in io.github.mahmoudimus.quic.tls
Fields in io.github.mahmoudimus.quic.tls declared as EarlyDataPolicyModifier and TypeFieldDescriptionstatic final EarlyDataPolicyEarlyDataPolicy.ACCEPT_ALLAccepts any early data the protocol allows, with no protection against replay.static final EarlyDataPolicyEarlyDataPolicy.REJECTAccepts no early data.Methods in io.github.mahmoudimus.quic.tls that return EarlyDataPolicyModifier and TypeMethodDescriptiondefault EarlyDataPolicyEarlyDataPolicy.and(EarlyDataPolicy other) A policy that accepts only what both this one and another accept.static EarlyDataPolicyEarlyDataPolicy.antiReplay()The default anti-replay policy: a ticket age window of 10 seconds and a single-use record of up to 100000 tickets.static EarlyDataPolicyEarlyDataPolicy.antiReplay(Duration window, int maxEntries) An anti-replay policy.Methods in io.github.mahmoudimus.quic.tls with parameters of type EarlyDataPolicyModifier and TypeMethodDescriptiondefault EarlyDataPolicyEarlyDataPolicy.and(EarlyDataPolicy other) A policy that accepts only what both this one and another accept.TlsConfig.Builder.earlyDataPolicy(EarlyDataPolicy policy) Server: decides whether to accept 0-RTT data the protocol allows.