diff options
author | Eran Messeri <eranm@google.com> | 2017-11-08 01:03:30 +0000 |
---|---|---|
committer | Eran Messeri <eranm@google.com> | 2017-11-09 20:51:35 +0000 |
commit | 7039f416c3db02bafc43dda0fc6db87b6ace2745 (patch) | |
tree | e32cadf31e53155c2a3451eaa4c6e549d4681d1e /keystore/java/android/security/IKeyChainService.aidl | |
parent | 2b267dfbe967661879b54c638e1f72ab85c5b2f5 (diff) |
KeyChain: Adding methods for user-visibility.
Add to the KeyChain aidl two methods for getting and setting whether
a key can be selectable by the user or not.
See
https://googleplex-android-review.git.corp.google.com/#/c/platform/packages/apps/KeyChain/+/3199414/
Test: To be determined.
Bug: 65624467
Change-Id: Ib31a11ca432a5d29fdb8ed5349598dbff4bcb516
Diffstat (limited to 'keystore/java/android/security/IKeyChainService.aidl')
-rw-r--r-- | keystore/java/android/security/IKeyChainService.aidl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keystore/java/android/security/IKeyChainService.aidl b/keystore/java/android/security/IKeyChainService.aidl index c4bb72c71d17..635432da7942 100644 --- a/keystore/java/android/security/IKeyChainService.aidl +++ b/keystore/java/android/security/IKeyChainService.aidl @@ -28,6 +28,8 @@ interface IKeyChainService { String requestPrivateKey(String alias); byte[] getCertificate(String alias); byte[] getCaCertificates(String alias); + boolean isUserSelectable(String alias); + void setUserSelectable(String alias, boolean isUserSelectable); // APIs used by CertInstaller and DevicePolicyManager String installCaCertificate(in byte[] caCertificate); |