OSDN Git Service

add whole-file signature mode to SignApk
authorDoug Zongker <dougz@android.com>
Thu, 13 Aug 2009 01:20:24 +0000 (18:20 -0700)
committerDoug Zongker <dougz@android.com>
Fri, 14 Aug 2009 19:25:05 +0000 (12:25 -0700)
commitc6cf01a1170c3a7a5b03135b01cf97f06e1b953d
tree72160be40b0cf88c3e70cabc1aa62c378b0c956e
parent9af298ec82fb93d0259e2080ce022204fe49e640
add whole-file signature mode to SignApk

Make SignApk generate a signature for (nearly) the entire zip file
when run with the -w option.  The signature covers all of the zip file
except for the archive comment (conveniently the last thing in a zip
file); the archive comment field is used to contain the signature
itself.
tools/signapk/SignApk.java