diff options
author | Narayan Kamath <narayan@google.com> | 2014-08-15 12:25:52 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-08-15 12:25:52 +0000 |
commit | f75aadc028f2e79541a269bf2c74dcb3482e2ec7 (patch) | |
tree | c3f363ba74a9f6ce48ca3318b8672dea2a43ff0d /keystore | |
parent | 1e7bc0def8c62b91d3eb985a51bec54063ce83f5 (diff) | |
download | frameworks_base-f75aadc028f2e79541a269bf2c74dcb3482e2ec7.zip frameworks_base-f75aadc028f2e79541a269bf2c74dcb3482e2ec7.tar.gz frameworks_base-f75aadc028f2e79541a269bf2c74dcb3482e2ec7.tar.bz2 |
Revert "Revert "Revert "Update Trusted Credentials screen in settings"""
This reverts commit 19c8ce291e89a9ef1442a20e1feab421b11536d7.
Change-Id: Ie5a5571127311e0a29f314c0566e779cfe940b53
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"); } |