summaryrefslogtreecommitdiffstats
path: root/keystore/java/android/security/IKeyChainService.aidl
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2011-05-17 00:40:28 -0700
committerBrian Carlstrom <bdc@google.com>2011-05-17 11:33:37 -0700
commit8e9929c4d0730de4c9f01435a7cfe2db8855e24d (patch)
treea3075eb3d8b915d47de2f1a7bb31a14acced0e5f /keystore/java/android/security/IKeyChainService.aidl
parent7f2250d59a81f20627c31a661696ccc4c020fa75 (diff)
downloadframeworks_base-8e9929c4d0730de4c9f01435a7cfe2db8855e24d.zip
frameworks_base-8e9929c4d0730de4c9f01435a7cfe2db8855e24d.tar.gz
frameworks_base-8e9929c4d0730de4c9f01435a7cfe2db8855e24d.tar.bz2
Simplify KeyChain API by removing now unneeded CA certificate lookup (1 of 3)
frameworks/base Remove getCaCertificates and findIssuer from IKeyChainService, these are now done via libcore's TrustedCertificateStore (as part of the default TrustManager implementation) keystore/java/android/security/IKeyChainService.aidl Simplify KeyChain API. Now that the CA certificates are visible through the default TrustManager, the KeyChain is solely focused on retrieving PrivateKeys and their associated certificates. The calling API for KeyChain to simply a single KeyChain.get() call that returns a KeyChainResult, removing the need for a KeyChain instance that needs to be closed. keystore/java/android/security/KeyChain.java keystore/java/android/security/KeyChainResult.java master/libcore Remove getDefaultIndexedPKIXParameters and getIndexedPKIXParameters which was used as part of the prototype of looking up CAs via the KeyChain but is obsoleted by the new default TrustManager implementation. luni/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLParametersImpl.java luni/src/main/java/org/apache/harmony/xnet/provider/jsse/TrustManagerImpl.java packages/apps/KeyChain Tracking simplified IKeyChainService, removing now unneeded implementation, updating tests. src/com/android/keychain/KeyChainService.java tests/src/com/android/keychain/tests/KeyChainServiceTest.java tests/src/com/android/keychain/tests/KeyChainTestActivity.java Change-Id: I847b28c2f467c85f24d2b693a2fecc1cb46426b4
Diffstat (limited to 'keystore/java/android/security/IKeyChainService.aidl')
-rw-r--r--keystore/java/android/security/IKeyChainService.aidl4
1 files changed, 1 insertions, 3 deletions
diff --git a/keystore/java/android/security/IKeyChainService.aidl b/keystore/java/android/security/IKeyChainService.aidl
index 0bca5b5..be59f23 100644
--- a/keystore/java/android/security/IKeyChainService.aidl
+++ b/keystore/java/android/security/IKeyChainService.aidl
@@ -25,10 +25,8 @@ import android.os.Bundle;
*/
interface IKeyChainService {
// APIs used by KeyChain
- byte[] getPrivate(String alias, String authToken);
+ byte[] getPrivateKey(String alias, String authToken);
byte[] getCertificate(String alias, String authToken);
- byte[] getCaCertificate(String alias, String authToken);
- String findIssuer(in Bundle cert);
// APIs used by CertInstaller
void installCaCertificate(in byte[] caCertificate);