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 chat key signs to bind itself:
BIND_DOMAIN ‖ canonical_json({instance_public_key, key_id, alg,
public_key, scope}). instance_public_key is exactly the string the
device-token request sends.