diff options
author | Rubin Xu <rubinxu@google.com> | 2021-01-10 15:22:25 +0000 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2021-02-02 22:00:05 +0000 |
commit | 835170e397bcc9165537cb30c8ac212e9bb2708f (patch) | |
tree | 162cf99d24d0e86db1cc49f4f6b30f88e85cbde3 /keystore/java/android/security/KeyStoreSecurityLevel.java | |
parent | e980914d426d6d1edcefda0025f445b58884ff17 (diff) |
Add DPM.hasKeyPair()
(trimmed down to only contain IKeyChainService.aidl change)
The method returns true if a private key and a user certifiate are
present in KeyChain under this alias.
Bug: 179180345
Test: atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testKeyManagement
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegatedCertInstallerDirectly
Test: atest android.admin.cts.DevicePolicyManagerTest
Change-Id: I15ca6190db1ef4dbf0caabe9d46008d92f758df5
Merged-In: I15ca6190db1ef4dbf0caabe9d46008d92f758df5
Diffstat (limited to 'keystore/java/android/security/KeyStoreSecurityLevel.java')
0 files changed, 0 insertions, 0 deletions