commit | b3a13e1e2ceb8ed7d607a5fc146a799438bfa52e | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Tue Dec 24 13:35:02 2019 +0000 |
committer | Rubin Xu <rubinxu@google.com> | Tue Jan 14 17:10:18 2020 +0000 |
tree | 4ff2cc4203b10c6eb4052730dc523edc294705dc | |
parent | d69517ebf1b4684988fcf719fa59c650ca412d53 [diff] |
Add KeyGenParameterSpec.setCriticalToDeviceEncryption Mirror KeyProtection.setCriticalToDeviceEncryption so the flag can also be set on keys generated by keystore. Bug: 72178550 Test: atest android.security.keystore.KeyGenParameterSpecTest Test: atest android.security.ParcelableKeyGenParameterSpecTest Change-Id: I7f102c82e60f211028c694d499ffd2838b89bb2b