Skip to main content

decrypt

Function decrypt 

Source
pub fn decrypt(
    blob: &ProtectedBlob,
    envelope: &GroupKeyEnvelope,
) -> Result<Vec<u8>>
Expand description

The whole path in one call: a blob plus the GetKey envelope that covers it.

Fails early if the envelope is for a different root key or a different L0 — those are not derivable, and the caller has to go back to the DC with the right request.