diff options
author | Zoltan Szatmary-Ban <szatmz@google.com> | 2014-08-15 14:01:14 +0000 |
---|---|---|
committer | Zoltan Szatmary-Ban <szatmz@google.com> | 2014-08-15 14:01:14 +0000 |
commit | 3291de8f6c8bc7ffa5992a2a5a5c2cf8bb0adf4b (patch) | |
tree | c3f363ba74a9f6ce48ca3318b8672dea2a43ff0d /keystore | |
parent | f8d72cc14f70f5af13342c4c7b107a8ab60dfe23 (diff) | |
download | frameworks_base-3291de8f6c8bc7ffa5992a2a5a5c2cf8bb0adf4b.zip frameworks_base-3291de8f6c8bc7ffa5992a2a5a5c2cf8bb0adf4b.tar.gz frameworks_base-3291de8f6c8bc7ffa5992a2a5a5c2cf8bb0adf4b.tar.bz2 |
Revert "Revert "Revert "Revert "Revert "Update Trusted Credentials screen in settings"""""
This reverts commit c9249c69813c6fb889d71d84583c67ae2942e6de.
Change-Id: I5504fddaf7b18efb73cd6c76678b3b39ce9b0229
Diffstat (limited to 'keystore')
-rw-r--r-- | keystore/java/android/security/IKeyChainService.aidl | 7 | ||||
-rw-r--r-- | keystore/java/android/security/KeyChain.java | 3 |
2 files changed, 1 insertions, 9 deletions
diff --git a/keystore/java/android/security/IKeyChainService.aidl b/keystore/java/android/security/IKeyChainService.aidl index a93891a..60fd7f7 100644 --- a/keystore/java/android/security/IKeyChainService.aidl +++ b/keystore/java/android/security/IKeyChainService.aidl @@ -15,8 +15,6 @@ */ package android.security; -import android.content.pm.ParceledListSlice; - /** * Caller is required to ensure that {@link KeyStore#unlock * KeyStore.unlock} was successful. @@ -34,11 +32,6 @@ 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); diff --git a/keystore/java/android/security/KeyChain.java b/keystore/java/android/security/KeyChain.java index 131e689..0da2b99 100644 --- a/keystore/java/android/security/KeyChain.java +++ b/keystore/java/android/security/KeyChain.java @@ -397,8 +397,7 @@ public final class KeyChain { return KeyStore.getInstance().isHardwareBacked(algorithm); } - /** @hide */ - public static X509Certificate toCertificate(byte[] bytes) { + private static X509Certificate toCertificate(byte[] bytes) { if (bytes == null) { throw new IllegalArgumentException("bytes == null"); } |