Skip to main content

decrypt_blob_cipher

Function decrypt_blob_cipher 

Source
pub(crate) fn decrypt_blob_cipher(
    cipher: &Cipher,
    ctx: &mut KeyStoreContext<'_, KeySlotIds>,
) -> Result<CipherView, BlobEncryptionError>
Expand description

Decrypts a blob-encrypted Cipher into a CipherView.

Unseals the blob data, decrypts attachments and local data, then applies the blob content fields onto the view.