Skip to main content

verify_grant

Function verify_grant 

Source
pub fn verify_grant(
    signed: &SignedEnvelope,
    grant_pubkey: &[u8; 32],
    local: &MeshId,
) -> Result<CheckoutGrant, LicenceError>
Expand description

Verify signed under the bound grant_pubkey and require it is for local. The key comparison is the cheap first check.