Skip to main content

sign_lan_install_binding

Function sign_lan_install_binding 

Source
pub fn sign_lan_install_binding(
    private_key: &[u8],
    agent_id: &str,
    instance_id: &str,
    issued_at: i64,
) -> Option<String>
Expand description

The agent’s statement, signed with its LAN key, that the install instance_id hosts it as of issued_at (the time of the install’s certificate for the key). None for a malformed private key.