pub fn parse_xml<R: Read, S: StreamCipher + ?Sized>(
xml_data: R,
stream_cipher: &mut S,
) -> Result<Database, Error>
Expand description
Parse decrypted XML into a database
If you need to obtain a stream cipher, consider using
InnerStreamCipherAlgorithm::stream_cipher
if the XML contains encrypted data, or utils::NullStreamCipher
if it does not (such as an export from the official client).