Skip to main content

payload_bounded

Function payload_bounded 

Source
pub fn payload_bounded(payload: &Value) -> Result<(), RecordError>
Expand description

Checks a payload before anything is signed: its encoding is at most 256 KiB, and it nests at most 63 levels, which a record’s tbs leaves it under the decoding rule’s 64.