Skip to main content

sign_object

Function sign_object 

Source
pub fn sign_object(
    label: &str,
    fields: &[(Value, Value)],
    key: &NodeKey,
) -> Result<Object, ObjectError>
Expand description

Signs fields under label with key. The fields gain alg, replacing any alg they held; every field needs a text key of its own.