Searched refs:ApkSections (Results 1 – 2 of 2) sorted by relevance
43 pub struct ApkSections<R> { struct53 impl<R: Read + Seek> ApkSections<R> { argument54 pub fn new(mut reader: R) -> Result<ApkSections<R>> { in new()58 Ok(ApkSections { in new()92 ApkSections::zip_entries, in compute_digest()93 ApkSections::central_directory, in compute_digest()94 ApkSections::eocd_for_verification, in compute_digest()245 let apk_sections = ApkSections::new(apk_file).unwrap(); in test_apk_sections()276 let mut apk_sections = ApkSections::new(apk_file).unwrap(); in test_apk_digest()287 let mut apk_sections = ApkSections::new(apk_file).unwrap(); in test_apk_sections_cannot_find_signature()[all …]
32 use crate::sigutil::ApkSections;92 ) -> Result<(Signer, ApkSections<R>)> { in extract_signer_and_apk_sections()93 let mut sections = ApkSections::new(apk)?; in extract_signer_and_apk_sections()150 fn verify<R: Read + Seek>(&self, sections: &mut ApkSections<R>) -> Result<SignedData> { in verify()