Expand description
Bounded positive and negative cache for HNS browser resolution.
Keys are session-secret-derived SHA-256 values rather than qnames. Entries are bound to runtime generation, policy generation, and exact Handshake chain anchor. Expired or mismatched entries are removed before use.
Structs§
- Cache
Admission - Metadata checked when admitting one cache value.
- Cache
Generation - Exact authority state under which an entry was produced.
- Cache
Key - Opaque per-session query key.
- Cache
Limits - Bounds for one cache instance.
- Cache
Stats - Name-free cache counters.
- Expiring
Lru - Small process-local expiring LRU for data that is already bound to an authenticated authority fingerprint by its key.
- Secure
Cache - Bounded LRU cache with explicit TTL and authority-generation binding.
Enums§
- Cache
Disposition - Positive or authenticated-negative cache disposition.
- Cache
Error - Cache configuration, key, bound, or invariant failure.
- Negative
Kind - Negative cache result.