apksig
🔙 👨💻
apksig is a tiny tool to explore the APK Signing Block
Try the demo at https://n4n5.dev/apksig/!
Links:
- https://docs.rs/apksig - documentation
- https://n4n5.dev/apksig/ - online demo
- https://github.com/Its-Just-Nans/apksig - repository
- https://source.android.com/docs/security/features/apksigning - documentation on APK signing

To get the same result as
apksigner verify --print-certs example.apk
you need to hash the certificate value of the scheme from the APK Signing Block.
Fortunately, the demo (https://n4n5.dev/apksig/) hashes every array, so you can effectively see the hashes of the certificate value.