Skip to main content

migrate_envelope

Function migrate_envelope 

Source
pub fn migrate_envelope<P, C>(
    input: &[u8],
    key_provider: &P,
    codec: &C,
    options: &DntOpenOptions,
) -> DntResult<Vec<u8>>
where P: DntKeyProvider, C: DntCodec,
Expand description

Migrates an envelope by opening and resealing it with the current writer.