pub fn parse(bytes: &[u8], max_total: u64) -> Result<Envelope, EnvelopeError>Expand description
Parse and fully validate a plaintext backup envelope.
Rejects bytes that do not carry version 1 in the header.
Use crate::backup_envelope::parse_encrypted for encrypted envelopes.