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
This commit is contained in:
Kenny Root
2013-04-10 11:30:58 -07:00
parent a3788b00bb
commit 2eeda7286f
10 changed files with 750 additions and 138 deletions

View File

@@ -33,7 +33,6 @@ public class AndroidKeyStoreProvider extends Provider {
put("KeyStore." + AndroidKeyStore.NAME, AndroidKeyStore.class.getName());
// java.security.KeyPairGenerator
put("KeyPairGenerator." + AndroidKeyPairGenerator.NAME,
AndroidKeyPairGenerator.class.getName());
put("KeyPairGenerator." + AndroidKeyStore.NAME, AndroidKeyPairGenerator.class.getName());
}
}