Skip to main content

decrypt_ciphers

Function decrypt_ciphers 

Source
fn decrypt_ciphers<'a, Output>(
    key_store: &'a KeyStore<KeySlotIds>,
    ciphers: LargeVec<Cipher>,
    strict: bool,
) -> Box<dyn Iterator<Item = Result<Result<Output, Box<(Cipher, CryptoError)>>, LargeVecError>> + 'a>
where Cipher: Decryptable<KeySlotIds, SymmetricKeySlotId, Output>, StrictDecrypt<Cipher>: Decryptable<KeySlotIds, SymmetricKeySlotId, Output>, Output: Send + 'a,
Expand description

Decrypts ciphers in order with [KeyStore::decrypt_large_vec], with StrictDecrypt when strict is set. An input item that is not a cipher comes as an Err; callers fail the call there.