Skip to main content

encode_scope_extension

Function encode_scope_extension 

Source
pub fn encode_scope_extension(
    scope: &ScopeDimensions,
) -> SignatifResult<Vec<u8>>
Expand description

Encode a scope into its deterministic extension value bytes: the JCS canonicalization of the scope’s JSON form.

§Errors

Propagates canonicalization errors.