Skip to main content

sign_json

Function sign_json 

Source
pub fn sign_json(
    object: &mut Map<String, Value>,
    server: &str,
    key_id: &str,
    key: &SigningKey,
)
Expand description

Sign object in place: adds signatures[server][key_id] over the canonical form without signatures and unsigned.