platform_build/tools/signapk
Lingfeng Guan 8e7cdf65d1 SignApk - support loading private keys from pkcs#11 keystore
Summary:
Add two flags to load the keys from pkcs#11 keystore. When the option
-loadPrivateKeysFromKeyStore is specified, will load private keys from
the keystore with specified keyStoreName instead of load from file.

Test: make dist for arm_sunfish-user, which includes apk
and ota (wholefile) signing
Test:
- manually call signapk in Java11 (java9 may need additional
change to support), with statically registered pkcs#11 keystore, signed
both apk and ota-package.
- verified using apksigner and extracting otacert from ota-package, both
correct

Change-Id: I3efb8017f73d3d992c07ed4562acfef016a109fe
2021-10-26 12:13:40 -07:00
..
src/com/android/signapk SignApk - support loading private keys from pkcs#11 keystore 2021-10-26 12:13:40 -07:00
test auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
OWNERS Update OWNERS for signapk. 2021-06-17 15:06:44 -07:00
SignApk.mf auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00