tree: a2d0d5d7a9b63f7f8a32b5173958df09dc6f6de0 [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-empty.apk
  6. v3-only-no-certs-in-sig.apk
  7. v3-only-no-supported-sig-algs.apk
  8. v3-only-signatures-and-digests-block-mismatch.apk
  9. v3-only-unknown-additional-attr.apk
  10. v3-only-unknown-pair-in-apk-sig-block.apk
  11. v3-only-with-dsa-sha256-1024.apk
  12. v3-only-with-dsa-sha256-2048-sig-does-not-verify.apk
  13. v3-only-with-dsa-sha256-2048.apk
  14. v3-only-with-dsa-sha256-3072-digest-mismatch.apk
  15. v3-only-with-dsa-sha256-3072.apk
  16. v3-only-with-ecdsa-sha256-p256.apk
  17. v3-only-with-ecdsa-sha256-p384.apk
  18. v3-only-with-ecdsa-sha256-p521.apk
  19. v3-only-with-ecdsa-sha512-p256.apk
  20. v3-only-with-ecdsa-sha512-p384-wrong-apk-sig-block-magic.apk
  21. v3-only-with-ecdsa-sha512-p384.apk
  22. v3-only-with-ecdsa-sha512-p521-sig-does-not-verify.apk
  23. v3-only-with-ecdsa-sha512-p521.apk
  24. v3-only-with-ignorable-unsupported-sig-algs.apk
  25. v3-only-with-rsa-pkcs1-sha256-1024.apk
  26. v3-only-with-rsa-pkcs1-sha256-16384.apk
  27. v3-only-with-rsa-pkcs1-sha256-2048.apk
  28. v3-only-with-rsa-pkcs1-sha256-3072-sig-does-not-verify.apk
  29. v3-only-with-rsa-pkcs1-sha256-3072.apk
  30. v3-only-with-rsa-pkcs1-sha256-4096.apk
  31. v3-only-with-rsa-pkcs1-sha256-8192.apk
  32. v3-only-with-rsa-pkcs1-sha512-1024.apk
  33. v3-only-with-rsa-pkcs1-sha512-16384.apk
  34. v3-only-with-rsa-pkcs1-sha512-2048.apk
  35. v3-only-with-rsa-pkcs1-sha512-3072.apk
  36. v3-only-with-rsa-pkcs1-sha512-4096-apk-sig-block-size-mismatch.apk
  37. v3-only-with-rsa-pkcs1-sha512-4096.apk
  38. v3-only-with-rsa-pkcs1-sha512-8192-digest-mismatch.apk
  39. v3-only-with-rsa-pkcs1-sha512-8192.apk
  40. v3-only-with-stamp.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/.