[][src]Trait dsf_core::crypto::Decrypter

pub trait Decrypter {
    type Error;
    fn decrypt(
        &mut self,
        id: &Id,
        key: &SecretKey,
        data: &mut [u8]
    ) -> Result<(), Self::Error>; }

Decrypter trait, used to decrypt data for a given service

Associated Types

type Error

Loading content...

Required methods

fn decrypt(
    &mut self,
    id: &Id,
    key: &SecretKey,
    data: &mut [u8]
) -> Result<(), Self::Error>

Loading content...

Implementors

Loading content...