Skip to main content

bind_statement

Function bind_statement 

Source
pub fn bind_statement(
    instance_public_key: &str,
    key_id: &str,
    alg: &str,
    public_key: &str,
) -> Result<Vec<u8>, String>
Expand description

The bytes the opt-in key signs to bind itself to this computer: BIND_DOMAIN ‖ canonical_json({alg, instance_public_key, key_id, public_key, scope}). instance_public_key is the string the token request carries (standard base64 of the instance key).