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 2eeda7286f)
Bug: 8122243
Change-Id: I5ecd9251ec79ec53a3b68c0fff8dfba10873e36e
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user