Skip to main content

open_reply

Function open_reply 

Source
pub fn open_reply(
    account: &AccountKeys,
    machine: &str,
    machine_key: &[u8],
    nonce: &[u8],
    sealed: &[u8],
    signature: &[u8],
) -> Result<Outcome, Error>
Expand description

The outcome in machine machine’s reply to the command bound to nonce: checked against its signature by machine_key, and opened with account.

§Errors

A reply the machine did not sign, or one that does not open.