Skip to main content

Crate orbit_rustls

Crate orbit_rustls 

Source
Expand description

Fleet-shared rustls state over Orbit shared memory.

The public adapters implement the enabled rustls version’s server::StoresServerSessions trait and, with rustls 0.24, client::ClientSessionStore. The underlying tables are connected to rustls only through version-specific adapters: they import no rustls types and treat rustls-generated keys and encoded values as opaque, sensitive bytes. rustls owns generation, encoding, and validation; this crate owns bounded storage, TTL, and atomic single-use take across fleet processes.

This crate is not an application or web-session store. Its table is lossy, fixed-capacity, and allowed to turn a missing entry into a full TLS handshake. Application sessions normally require reusable reads, explicit durability, and different eviction guarantees.

Structs§

FleetClientSessions
One fleet-wide rustls 0.24 client-session table.
FleetServerSessions
One fleet-wide session table from which isolated rustls views are made.
OrbitClientSessionStorage
OrbitSessionStorage
SessionDomain
Stable isolation boundary for one equivalent set of rustls server configs.

Constants§

CLIENT_SESSION_STATE_KIND
DEFAULT_SESSION_TTL
Default retention for opaque rustls server-session values.
MAX_SESSION_TTL
SERVER_SESSION_STATE_KIND

Type Aliases§

OrbitServerSessionStorage
Explicit server-side name for OrbitSessionStorage.