pub fn decrypt_encrypted_stream(
path: &Path,
password: &str,
) -> Result<Vec<u8>, Aff4Error>Expand description
Decrypt an encrypted AFF4 container with password, returning the plaintext
of its aff4:EncryptedStream — an inner AFF4 volume.
§Errors
Aff4Error::Encrypted for a wrong password or an unsupported keybag;
Aff4Error::BadFormat if the container is not an encrypted AFF4 or its
metadata cannot be parsed; Aff4Error::Io / Aff4Error::Zip on read
failures.