History log of /frameworks/base/keystore/java/android/security/AndroidKeyStore.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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