Skip to main content

decode_tui_request_body

Function decode_tui_request_body 

Source
pub fn decode_tui_request_body(signed_body: &[u8]) -> Result<DecodedRequestBody>
Expand description

Decode a Tui signed request body exactly once (bounded) and derive the full numeric method leaf path (v16 §5.2).

Returns the one DecodedRequestBody that feeds the generated method policy, the dispatch MAC PEP, and dispatch_tui — there is no second read_message between admission and handler. An undecodable body, a discriminant absent from this schema revision, or a body exceeding the reviewed decode caps is an error, which denies — never a coarser path.