tree: 5b527d072c039e3d53194cec67c924c36dd4b28d [path history] [tgz]
  1. README.md
  2. test.apex
  3. v2-only-truncated-cd.apk
  4. v3-only-cert-and-public-key-mismatch.apk
  5. v3-only-with-ecdsa-sha256-p256.apk
  6. v3-only-with-rsa-pkcs1-sha512-8192-digest-mismatch.apk
libs/apkverify/tests/data/README.md

test.apex is copied from ADBD apex built in AOSP.

$ apksigner verify -v test.apex
Verifies
Verified using v1 scheme (JAR signing): false
Verified using v2 scheme (APK Signature Scheme v2): false
Verified using v3 scheme (APK Signature Scheme v3): true
Verified using v4 scheme (APK Signature Scheme v4): false
Verified for SourceStamp: false
Number of signers: 1

APK files are copied from tools/apksig/src/test/resources/com/android/apksig/.