diff options
author | Bernhard Bauer <bauerb@google.com> | 2014-09-08 14:07:31 +0100 |
---|---|---|
committer | Robin Lee <rgl@google.com> | 2014-09-11 19:17:00 +0100 |
commit | 26408ccd8e852d947e58021792bfc3b315e5948d (patch) | |
tree | 8ac7bc2fe43ccf5639015a688ace43ae544b1a2e /keystore | |
parent | 2f67e237383ae6e76c44333ab79c6f0d1e3e568d (diff) | |
download | frameworks_base-26408ccd8e852d947e58021792bfc3b315e5948d.zip frameworks_base-26408ccd8e852d947e58021792bfc3b315e5948d.tar.gz frameworks_base-26408ccd8e852d947e58021792bfc3b315e5948d.tar.bz2 |
Add DevicePolicyManager PrivateKey mgmt
Additional device policy API to install keypairs to the keychain
silently.
Bug: 15065444
Change-Id: Idc25774c9ab1a61080290bebd6f5c4f24e6ee2e0
Diffstat (limited to 'keystore')
-rw-r--r-- | keystore/java/android/security/IKeyChainService.aidl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/keystore/java/android/security/IKeyChainService.aidl b/keystore/java/android/security/IKeyChainService.aidl index a93891a..20c94c5 100644 --- a/keystore/java/android/security/IKeyChainService.aidl +++ b/keystore/java/android/security/IKeyChainService.aidl @@ -31,6 +31,9 @@ interface IKeyChainService { // APIs used by CertInstaller void installCaCertificate(in byte[] caCertificate); + // APIs used by DevicePolicyManager + boolean installKeyPair(in byte[] privateKey, in byte[] userCert, String alias); + // APIs used by Settings boolean deleteCaCertificate(String alias); boolean reset(); |