OSDN Git Service

Add methods for managing CAs to DevicePolicyManager(Service)
authorMaggie Benthall <mbenthall@google.com>
Fri, 9 Aug 2013 02:35:44 +0000 (22:35 -0400)
committerMaggie Benthall <mbenthall@google.com>
Tue, 20 Aug 2013 18:30:36 +0000 (14:30 -0400)
commitda51e68e582ffa017543982297c831680d201a91
tree569121a5f1c7d504a6f499f6249de09e016b7d8e
parent0a94b9ce277ef2ec79902e3c576a50ab438dca97
Add methods for managing CAs to DevicePolicyManager(Service)

Guard install/uninstall by enforcing that the caller have the new system-only permission MANAGE_CA_CERTIFICATES.
Also include API methods for asking whether there are any User CA certs
installed, or if one by a particular name is installed in the keystore.

CA certs will be installed via KeyChain into the TrustedCertificateStore.

Bug: 8232670

Change-Id: I17b47a452e72eb4fe556dc6db823a46c6e854be8
core/java/android/app/admin/DevicePolicyManager.java
core/java/android/app/admin/IDevicePolicyManager.aidl
core/res/AndroidManifest.xml
core/res/res/values/strings.xml
keystore/java/android/security/KeyChain.java
services/java/Android.mk
services/java/com/android/server/DevicePolicyManagerService.java