Skip to main content

verify

Function verify 

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

Cryptographically verifies a DNT envelope and discards plaintext.