History log of /frameworks/base/keystore/java/android/security/AndroidKeyStore.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e9ae6822a80cb1f3bd13c785f1727c03d35da52e 30-Apr-2013 Kenny Root <kroot@google.com> resolved conflicts for merge of 1f6e789b to jb-mr2-dev-plus-aosp

Change-Id: I06c05d637613215b6d83df3e29cd495f6a5a0176
12e752225aa96888358294be0d725d499a1c9f03 24-Apr-2013 Kenny Root <kroot@google.com> Track change to JSSE provider

Change-Id: I35e824e47ad758ab6408e91e2ba5dcda053a82f5
/frameworks/base/keystore/java/android/security/AndroidKeyStore.java
1c219f619291ba818bc2542390a2988539d94ed0 19-Apr-2013 Kenny Root <kroot@google.com> Rename API AndroidKey* -> Key*

Bug: 8657552
Change-Id: Id9102b7c2c2f6d27fba7645f0629750cfe1eb510
/frameworks/base/keystore/java/android/security/AndroidKeyStore.java
bf2147669e295384df17b50afc53a4d450b05bdd 10-Apr-2013 Kenny Root <kroot@google.com> AndroidKeyStore: Add encrypted flag

Add the encrypted flag for the KeyPairGenerator and the KeyStore so that
applications can choose to allow entries when there is no lockscreen.

(partial cherry pick from commit 2eeda7286f3c7cb79f7eb71ae6464cad213d12a3)

Bug: 8122243
Change-Id: I5ecd9251ec79ec53a3b68c0fff8dfba10873e36e
/frameworks/base/keystore/java/android/security/AndroidKeyStore.java
2eeda7286f3c7cb79f7eb71ae6464cad213d12a3 10-Apr-2013 Kenny Root <kroot@google.com> AndroidKeyStore: Add encrypted flag

Add the encrypted flag for the KeyPairGenerator and the KeyStore so that
applications can choose to allow entries when there is no lockscreen.

Bug: 8122243
Change-Id: Ia802afe965f2377ad3f282dab8c512388c705850
/frameworks/base/keystore/java/android/security/AndroidKeyStore.java
78ad849163a7b01073b46fbd7d818392720005d1 14-Feb-2013 Kenny Root <kroot@google.com> 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
/frameworks/base/keystore/java/android/security/AndroidKeyStore.java
cc1fc6b6adc1edc2acaa42205b4ec5ca00bfd353 22-Jan-2013 Kenny Root <kroot@google.com> Track libcore changes for OpenSSLKey

Change-Id: I39f60c34daa9ccc633efb02988ea238a84e6bbf1
/frameworks/base/keystore/java/android/security/AndroidKeyStore.java
a4640c082c8ccf66ebfb50ace5747409ab6aee55 31-Aug-2012 Kenny Root <kroot@google.com> Add some NullPointerExceptions to AndroidKeyStore

Existing KeyStore implementations throw NullPointerExceptions beacuse
the KeyStoreSpi doesn't check these arguments for null. Add in checks so
we don't accidentally check some bogus values.

Also switch a RuntimeException to a KeyStoreException

Change-Id: I18f4d4474d607cb2057ea8069b901e0992275e78
/frameworks/base/keystore/java/android/security/AndroidKeyStore.java
802768dd86c4e8a933dbfbac2e9f1a1daa5f93fa 22-Aug-2012 Kenny Root <kroot@google.com> Add ability to replace chain for PrivateKeyEntry

For the AndroidKeyStore API, allow entries to have their certificate
chain replaced without destroying the underlying PrivateKey. Since
entries are backed by unexportable private keys, requiring them to be
supplied again doesn't make sense and is impossible.

Change-Id: I629ce2a625315c8d8020a082892650ac5eba22ae
/frameworks/base/keystore/java/android/security/AndroidKeyStore.java
db026710ec0adcf7f72dfb24c65d38a882ee26d8 20-Aug-2012 Kenny Root <kroot@google.com> Add KeyPairGenerator for Android keystore

This allows end-users to generate keys in the keystore without the
private part of the key ever needing to leave the device. The generation
process also generates a self-signed certificate.

Change-Id: I114ffb8e0cbe3b1edaae7e69e8aa578cb835efc9
/frameworks/base/keystore/java/android/security/AndroidKeyStore.java
e29df16cb57b69995df597e8a6d95d986c1c43fc 10-Aug-2012 Kenny Root <kroot@google.com> Add AndroidKeyStore provider for KeyStore API

This introduces a public API for the Android keystore that is accessible
via java.security.KeyStore API. This allows programs to store
PrivateKeyEntry and TrustedCertificateEntry items visible only to
themselves.

Future work should include:

* Implement KeyStore.CallbackHandlerProtection parameter to allow the
caller to request that the keystore daemon unlock itself via the
system password input dialog.

* Implement SecretKeyEntry once that support is in keystore daemon

Change-Id: I382ffdf742d3f9f7647c5f5a429244a340b6bb0a
/frameworks/base/keystore/java/android/security/AndroidKeyStore.java