diff options
author | Fred Quintana <fredq@google.com> | 2011-07-13 14:55:39 -0700 |
---|---|---|
committer | Fred Quintana <fredq@google.com> | 2011-07-13 22:45:07 -0700 |
commit | ab8b84ad3847788d83da557606aa27d4102e6b52 (patch) | |
tree | 1e9ecca2953c3c8b4fe39c374a4d86e0ed8303c2 /keystore/java/android/security/IKeyChainService.aidl | |
parent | 8c55a9a57e4f13ec420c3de7b3abfdcf454f6633 (diff) |
Make the KeyChain handled its own grants rather than having
AccountManagerService handle them.
Change-Id: I89d272b22766f85019c1f947153d69e6dbb74c68
Diffstat (limited to 'keystore/java/android/security/IKeyChainService.aidl')
-rw-r--r-- | keystore/java/android/security/IKeyChainService.aidl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/keystore/java/android/security/IKeyChainService.aidl b/keystore/java/android/security/IKeyChainService.aidl index 23ffd59f2fa6..f38f6ceb3ed7 100644 --- a/keystore/java/android/security/IKeyChainService.aidl +++ b/keystore/java/android/security/IKeyChainService.aidl @@ -23,8 +23,8 @@ package android.security; */ interface IKeyChainService { // APIs used by KeyChain - byte[] getPrivateKey(String alias, String authToken); - byte[] getCertificate(String alias, String authToken); + byte[] getPrivateKey(String alias); + byte[] getCertificate(String alias); // APIs used by CertInstaller void installCaCertificate(in byte[] caCertificate); @@ -32,4 +32,8 @@ interface IKeyChainService { // APIs used by Settings boolean deleteCaCertificate(String alias); boolean reset(); + + // APIs used by KeyChainActivity + void setGrant(int uid, String alias, boolean value); + boolean hasGrant(int uid, String alias); } |