pub trait KmsAeadEnvelopeEncryption<Aad> {
    fn encrypt_value<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        aad: &'life1 Aad,
        secret_value: &'life2 SecretValue
    ) -> Pin<Box<dyn Future<Output = KmsAeadResult<(EncryptedSecretValue, EncryptedSessionKey)>> + 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,
        encrypted_value: &'life2 EncryptedSecretValue
    ) -> Pin<Box<dyn Future<Output = KmsAeadResult<(SecretValue, EncryptedSessionKey)>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; fn encrypt_value_with_new_session_key<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        aad: &'life1 Aad,
        secret_value: &'life2 SecretValue
    ) -> Pin<Box<dyn Future<Output = KmsAeadResult<(EncryptedSecretValue, EncryptedSessionKey)>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; fn decrypt_value_with_session_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        aad: &'life1 Aad,
        encrypted_value: &'life2 EncryptedSecretValue,
        encrypted_session_key: &'life3 EncryptedSessionKey
    ) -> 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_session_key<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = KmsAeadResult<(EncryptedSessionKey, EncryptedSessionKey)>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required Methods

Implementors