pub trait KmsAeadEnvelopeEncryption<Aad> {
    fn encrypt_value<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        aad: &'life1 Aad,
        plain_text: &'life2 SecretValue
    ) -> Pin<Box<dyn Future<Output = KmsAeadResult<CipherTextWithEncryptedKey>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; fn decrypt_value<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        aad: &'life1 Aad,
        cipher_text: &'life2 CipherTextWithEncryptedKey
    ) -> Pin<Box<dyn Future<Output = KmsAeadResult<SecretValue>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; fn encrypt_value_with_current_key<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        aad: &'life1 Aad,
        plain_text: &'life2 SecretValue
    ) -> Pin<Box<dyn Future<Output = KmsAeadResult<(CipherText, EncryptedDataEncryptionKey)>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; fn encrypt_value_with_new_key<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        aad: &'life1 Aad,
        plain_text: &'life2 SecretValue
    ) -> Pin<Box<dyn Future<Output = KmsAeadResult<(CipherText, EncryptedDataEncryptionKey)>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; fn decrypt_value_with_current_key<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        aad: &'life1 Aad,
        cipher_text: &'life2 CipherText
    ) -> Pin<Box<dyn Future<Output = KmsAeadResult<(SecretValue, EncryptedDataEncryptionKey)>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; fn decrypt_value_with_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        aad: &'life1 Aad,
        cipher_text: &'life2 CipherText,
        encrypted_data_encryption_key: &'life3 EncryptedDataEncryptionKey
    ) -> Pin<Box<dyn Future<Output = KmsAeadResult<SecretValue>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; fn rotate_current_key<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = KmsAeadResult<(EncryptedDataEncryptionKey, EncryptedDataEncryptionKey)>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required Methods

Implementors