Skip to main content

reseal

Function reseal 

Source
pub fn reseal(
    old: &Key,
    from: &Place<'_>,
    new: &Key,
    to: &Place<'_>,
    sealed: &[u8],
) -> Result<Vec<u8>, String>
Expand description

Seals again a record under a new key and epoch, for the background pass that follows a member’s removal: the new key is sealed to the members who remain, and every record is opened with the old key at the old place and sealed with the new at the new one. The version is the record’s own and does not change.