Skip to main content

KeyProvider

Trait KeyProvider 

Source
pub trait KeyProvider {
    // Required method
    fn get_key(&self, context: &KeyContext) -> Result<&[u8], DecryptionError>;
}

Required Methods§

Source

fn get_key(&self, context: &KeyContext) -> Result<&[u8], DecryptionError>

Implementors§