commit | 7039f416c3db02bafc43dda0fc6db87b6ace2745 | [log] [tgz] |
---|---|---|
author | Eran Messeri <eranm@google.com> | Wed Nov 08 01:03:30 2017 +0000 |
committer | Eran Messeri <eranm@google.com> | Thu Nov 09 20:51:35 2017 +0000 |
tree | e32cadf31e53155c2a3451eaa4c6e549d4681d1e | |
parent | 2b267dfbe967661879b54c638e1f72ab85c5b2f5 [diff] [blame] |
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
diff --git a/keystore/java/android/security/IKeyChainService.aidl b/keystore/java/android/security/IKeyChainService.aidl index c4bb72c..635432d 100644 --- a/keystore/java/android/security/IKeyChainService.aidl +++ b/keystore/java/android/security/IKeyChainService.aidl
@@ -28,6 +28,8 @@ 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);