Cargo Features
[dependencies]
apksig = { version = "0.3.0", default-features = false, features = ["signing", "serde", "directprint", "hash"] }
- default = directprint, hash, serde, signing
-
by default, very opinionated features are enabled
used mostly for main.rs - signing default = hash
-
verify the APK Signing Block
Enables rsa
- serde default
-
allows to serialize and deserialize structs with serde
Enables serde
- directprint default
-
print the APK Signing Block while parsing
- hash default signing
-
allows to calculate the hash of Certificate
provides the functions sha1_cert(), sha256_cert(), md5_cert() for the Certificate struct