pub trait KeyManager: Send + Sync {
// Required method
fn get_key(&self) -> ApiResult<Vec<u8>>;
}
Expand description
Consumers can implement the KeyManager in combination with the ManagedEncryptorDecryptor to hand over the encryption key whenever encryption or decryption happens.