Trait encryption::KmsProvider [−][src]
Required methods
fn generate_data_key<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<DataKeyPair>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<DataKeyPair>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn decrypt_data_key<'life0, 'life1, 'async_trait>(
&'life0 self,
data_key: &'life1 EncryptedKey
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
data_key: &'life1 EncryptedKey
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,