Skip to main content

open

Function open 

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

Opens, authenticates and decodes a complete DNT envelope.