OSDN Git Service

KeyStore: add API to uid versions
authorKenny Root <kroot@google.com>
Thu, 14 Feb 2013 01:02:57 +0000 (17:02 -0800)
committerKenny Root <kroot@android.com>
Wed, 20 Mar 2013 16:50:06 +0000 (16:50 +0000)
commit78ad849163a7b01073b46fbd7d818392720005d1
tree8b177dc6137d8264e6e1a288e726de2aab6f040a
parentebebb80b4a629756128b5a4fcf483133f01dbfd7
KeyStore: add API to uid versions

In previous commits, we added the ability to specify which UID we want to
target on certain operations. This commit adds the ability to reach those
binder calls from the KeyStore class.

Also fix a problem where saw() was not reading all the values returned via
the Binder call. This changes the semantics to return a null instead of
failing silently when it's not possible to search.

Change-Id: I32098dc0eb42e09ace89f6b7455766842a72e9f4
core/java/android/security/IKeystoreService.java
keystore/java/android/security/AndroidKeyStore.java
keystore/java/android/security/KeyStore.java
keystore/tests/src/android/security/AndroidKeyPairGeneratorTest.java
keystore/tests/src/android/security/KeyStoreTest.java