Skip to main content

open

Function open 

Source
pub fn open(
    ring: &KeyRing,
    header: &Header,
    sealed: &[u8],
) -> Result<Zeroizing<Vec<u8>>, OpenError>
Expand description

The body of a record, opened with the key its header’s epoch names. The header must be the verified one: its fields are the associated data, so a body altered, or moved to another record, version, base or epoch, fails.