Skip to main content

decode_registry_request_body

Function decode_registry_request_body 

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

Decode a Registry 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_registry — 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.