Skip to main content

provider_plan_bytes

Function provider_plan_bytes 

Source
pub fn provider_plan_bytes(
    signing_identity: &str,
    stream_id: &str,
    repository: &str,
    client_endpoint_id: &str,
    plan_nonce: &[u8],
    grant_batch_digest: &[u8],
) -> Vec<u8> 
Expand description

Returns the canonical bytes signed to consent to one exact provider batch.

The server and Worker independently establish authorization from the owner-anchored capability. This signature proves possession of the same device key used for the stream opening and binds consent to one repository, endpoint, nonce, and exact private-batch digest.