fn aead_aes_gcm_decrypt(
        &mut self,
        context: &Box<dyn Secret>,
        cipher_text: &[u8],
        nonce: &[u8],
        aad: &[u8],
    ) -> OckamResult<Vec<u8>> {
        let context = Self::get_entry_map(&self.map, context)?;
        self.v
            .aead_aes_gcm_decrypt(context, cipher_text, nonce, aad)
    }
/// Decrypt a payload using AES-GCM
Decrypt a payload using AES-GCM
Decrypt a payload using AES - GCM
fn aead_aes_gcm_decrypt(
        &mut self,
        context: &Box<dyn Secret>,
        cipher_text: &[u8],
        nonce: &[u8],
        aad: &[u8],
    ) -> OckamResult<Vec<u8>> {
        let context = Self::get_entry_map(&self.map, context)?;
        self.v
            .aead_aes_gcm_decrypt(context, cipher_text, nonce, aad)
    }
fn aead_aes_gcm_decrypt ( & mut self , context : & Box < dyn Secret > , cipher_text : & [ u8 ] , nonce : & [ u8 ] , aad : & [ u8 ] , ) -> OckamResult < Vec < u8 > > { let context = Self :: get_entry_map ( & self . map , context ) ? ; self . v . aead_aes_gcm_decrypt ( context , cipher_text , nonce , aad ) }
Decrypt a payload using AES-GCM
Decrypt a payload using AES - GCM
&mut self
context
&Box<dyn Secret>
cipher_text
&[u8]
nonce
&[u8]
aad
&[u8]
&mut self
context
&Box<dyn Secret>
cipher_text
&[u8]
nonce
&[u8]
aad
&[u8]