Skip to main content

suite_for

Function suite_for 

Source
pub fn suite_for(id: u16) -> Option<&'static dyn Suite>
Expand description

Resolve a registered STATELESS suite by its wire id, or None for an unknown suite (so open returns None rather than decoding under the wrong primitive). The keyed PqSuite is not here — it carries a per-session key and is used via seal_with / open_with.