platform_build/tools/signapk
Alex Klyubin dd910c5945 Make signapk sign using APK Signature Scheme v2.
APKs are now signed with the usual JAR signature scheme and then
with the APK Signature Scheme v2.

APK Signature Scheme v2 is a whole-file signature scheme which aims
to protect every single bit of the APK as opposed to the JAR signature
scheme which protects only the names and uncompressed contents of ZIP
entries.

The two main goals of APK Signature Scheme v2 are:
1. Detect any unauthorized modifications to the APK. This is achieved
   by making the signature cover every byte of the APK being signed.
2. Enable much faster signature and integrity verification. This is
   achieved by requiring only a minimal amount of APK parsing before
   the signature is verified, thus completely bypassing ZIP entry
   decompression and by making integrity verification parallelizable
   by employing a hash tree.

Bug: 25794543
Change-Id: I275d2a6d0a98504891985309b9dfff2e0e44b878
2016-01-20 13:35:21 -08:00
..
src/com/android/signapk Make signapk sign using APK Signature Scheme v2. 2016-01-20 13:35:21 -08:00
test auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
Android.mk Move signapk sources to src dir. 2015-12-15 09:08:45 -08:00
SignApk.mf auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00