bitwarden_crypto::keys::key_encryptable

Trait KeyContainer

source
pub trait KeyContainer: Send + Sync {
    // Required method
    fn get_key(
        &self,
        org_id: &Option<Uuid>,
    ) -> Result<&SymmetricCryptoKey, CryptoError>;
}

Required Methods§

Implementations on Foreign Types§

source§

impl<T: KeyContainer> KeyContainer for Arc<T>

Implementors§