bitwarden_crypto

Trait LocateKey

Source
pub trait LocateKey {
    // Provided method
    fn locate_key<'a>(
        &self,
        enc: &'a dyn KeyContainer,
        org_id: &Option<Uuid>,
    ) -> Result<&'a SymmetricCryptoKey, CryptoError> { ... }
}

Provided Methods§

Source

fn locate_key<'a>( &self, enc: &'a dyn KeyContainer, org_id: &Option<Uuid>, ) -> Result<&'a SymmetricCryptoKey, CryptoError>

Implementors§