summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2015-09-09 14:55:03 -0700
committerAlex Klyubin <klyubin@google.com>2015-09-10 15:35:06 -0700
commit3876b1be27e3aefde9a72eb2e4f856e94fc5f946 (patch)
tree5783b18f074f1971a83a615ef805f5483f6cfb90 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent435acfc88917e3535462ea520b01d0868266acd2 (diff)
Support cross-UID access from AndroidKeyStore.
This is meant for exposing the pre-existing cross-UID access to keys backed by the keystore service via higher-level JCA API. For example, this lets system_server use Wi-Fi or VPN UID keys via JCA API. To obtain a JCA AndroidKeyStore KeyStore for another UID, use the hidden system API AndroidKeyStoreProvider.getKeyStoreForUid(uid). To generate a key owned by another UID, invoke setUid(uid) on KeyGenParameterSpec.Builder. This CL does not change the security policy, such as which UID can access/modify which UIDs' keys. The policy is that only certain system UIDs are permitted to access keys of certain other system UIDs. Bug: 23978113 Change-Id: Ie381530f41dc41c50d52f675fb9e68bc87c006de
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions