decrypt_attachments_with_failures

Function decrypt_attachments_with_failures 

Source
pub(crate) fn decrypt_attachments_with_failures(
    attachments: &[Attachment],
    ctx: &mut KeyStoreContext<'_, KeyIds>,
    key: SymmetricKeyId,
) -> (Vec<AttachmentView>, Vec<AttachmentView>)
Expand description

Decrypts a list of attachments, separating successful decryptions from failures.

Returns a tuple of (successful_attachments, failed_attachments).