diff options
author | Kenny Root <kroot@google.com> | 2013-04-12 17:37:37 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2013-04-12 18:09:04 -0700 |
commit | e7cf8c230208beef0c3a5f83a1e1d2c36ac5ca12 (patch) | |
tree | bc70a5697a261dc198cb8b13b761ceb66f545599 /keystore | |
parent | b2c0ff64d8ff92dab53e969a44fa12427d145952 (diff) | |
download | frameworks_base-e7cf8c230208beef0c3a5f83a1e1d2c36ac5ca12.zip frameworks_base-e7cf8c230208beef0c3a5f83a1e1d2c36ac5ca12.tar.gz frameworks_base-e7cf8c230208beef0c3a5f83a1e1d2c36ac5ca12.tar.bz2 |
keystore: remove old APIs
Remove the APIs that don't specify the flags so callers know what
they're getting.
Bug: 8122243
Change-Id: Ifaef6fb1d16010237c01f9d11f2053bb6b3980c0
Diffstat (limited to 'keystore')
-rw-r--r-- | keystore/java/android/security/KeyStore.java | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/keystore/java/android/security/KeyStore.java b/keystore/java/android/security/KeyStore.java index 45385ee..fb5e039 100644 --- a/keystore/java/android/security/KeyStore.java +++ b/keystore/java/android/security/KeyStore.java @@ -103,14 +103,6 @@ public class KeyStore { } } - public boolean put(String key, byte[] value, int uid) { - return put(key, value, uid, FLAG_ENCRYPTED); - } - - public boolean put(String key, byte[] value) { - return put(key, value, UID_SELF); - } - public boolean delete(String key, int uid) { try { return mBinder.del(key, uid) == NO_ERROR; @@ -205,14 +197,6 @@ public class KeyStore { } } - public boolean generate(String key, int uid) { - return generate(key, uid, FLAG_ENCRYPTED); - } - - public boolean generate(String key) { - return generate(key, UID_SELF); - } - public boolean importKey(String keyName, byte[] key, int uid, int flags) { try { return mBinder.import_key(keyName, key, uid, flags) == NO_ERROR; @@ -222,14 +206,6 @@ public class KeyStore { } } - public boolean importKey(String keyName, byte[] key, int uid) { - return importKey(keyName, key, uid, FLAG_ENCRYPTED); - } - - public boolean importKey(String keyName, byte[] key) { - return importKey(keyName, key, UID_SELF); - } - public byte[] getPubkey(String key) { try { return mBinder.get_pubkey(key); |