Skip to main content

open_active

Function open_active 

Source
pub fn open_active(bytes: Vec<u8>) -> Option<Vec<u8>>
Expand description

Open an inbound frame under the active keyed session if installed, else the active suite; None on a tampered/foreign frame (the caller drops it). With neither engaged, pass bytes through so the wire stays byte-identical for non-secure programs.