Home
last modified time | relevance | path

Searched refs:ApkSections (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Virtualization/libs/apkverify/src/
Dsigutil.rs43 pub struct ApkSections<R> { struct
53 impl<R: Read + Seek> ApkSections<R> { argument
54 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 …]
Dv3.rs32 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()