pub fn encode_runtime_frame_in(
key: &[u8; 32],
direction: RuntimeFrameDirection,
nonce: &[u8; 24],
payload: &[u8],
profile: RuntimeExchangeProfile,
) -> Result<Vec<u8>, RuntimeFrameError>Expand description
encode_runtime_frame under a locally admitted profile. Magic, length
field, associated data, cipher, nonce and tag are the same.