Crate apksig

Source
Expand description

§APK Signing Block

This library is used to extract the APK Signing Block from an APK file.

CLI usage:

cargo install apksig
apksig <filename>

Re-exports§

pub use signing_block::digest::digest_apk;
pub use apk::Apk;
pub use signing_block::algorithms::Algorithms;
pub use signing_block::scheme_v2::SignatureSchemeV2;
pub use signing_block::scheme_v2::SIGNATURE_SCHEME_V2_BLOCK_ID;
pub use signing_block::scheme_v3::SignatureSchemeV3;
pub use signing_block::scheme_v3::SIGNATURE_SCHEME_V3_BLOCK_ID;
pub use signing_block::scheme_v2;
pub use signing_block::scheme_v3;
pub use signing_block::RawData;
pub use signing_block::SigningBlock;
pub use signing_block::ValueSigningBlock;
pub use signing_block::MAGIC;
pub use signing_block::MAGIC_LEN;
pub use utils::MyReader;

Modules§

apk
Handling the APK file by providing methods as Apk struct.
common
Common types for scheme
signing_block
Module for the APK Signing Block https://source.android.com/docs/security/features/apksigning
utils
Utils
zip
Zip file utilities - an APK is a zip file