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§