summaryrefslogtreecommitdiffstats
path: root/keystore/java/android/security/IKeyChainService.aidl
diff options
context:
space:
mode:
authorZoltan Szatmary-Ban <szatmz@google.com>2014-08-18 10:48:33 +0100
committerZoltan Szatmary-Ban <szatmz@google.com>2014-09-08 17:59:42 +0100
commitf0ae135049048424bceccb0799b12377181b25f0 (patch)
treee4a86db25d50e83db28a0b58cc79eaaadcb72004 /keystore/java/android/security/IKeyChainService.aidl
parent97e75e1da97f01e82c0105b1f915821a99dda196 (diff)
downloadframeworks_base-f0ae135049048424bceccb0799b12377181b25f0.zip
frameworks_base-f0ae135049048424bceccb0799b12377181b25f0.tar.gz
frameworks_base-f0ae135049048424bceccb0799b12377181b25f0.tar.bz2
Extend IKeyChainService AIDL with CACert retrieval
Bug:16029580 Change-Id: I41a3bd2f3bd95550e59f1d0d0acd0e765d7b62d7
Diffstat (limited to 'keystore/java/android/security/IKeyChainService.aidl')
-rw-r--r--keystore/java/android/security/IKeyChainService.aidl7
1 files changed, 7 insertions, 0 deletions
diff --git a/keystore/java/android/security/IKeyChainService.aidl b/keystore/java/android/security/IKeyChainService.aidl
index 60fd7f7..a93891a 100644
--- a/keystore/java/android/security/IKeyChainService.aidl
+++ b/keystore/java/android/security/IKeyChainService.aidl
@@ -15,6 +15,8 @@
*/
package android.security;
+import android.content.pm.ParceledListSlice;
+
/**
* Caller is required to ensure that {@link KeyStore#unlock
* KeyStore.unlock} was successful.
@@ -32,6 +34,11 @@ interface IKeyChainService {
// APIs used by Settings
boolean deleteCaCertificate(String alias);
boolean reset();
+ ParceledListSlice getUserCaAliases();
+ ParceledListSlice getSystemCaAliases();
+ boolean containsCaAlias(String alias);
+ byte[] getEncodedCaCertificate(String alias, boolean includeDeletedSystem);
+ List<String> getCaCertificateChainAliases(String rootAlias, boolean includeDeletedSystem);
// APIs used by KeyChainActivity
void setGrant(int uid, String alias, boolean value);