commit | b73e15249b43d812f0a5a8b403c6a65c9b61584d | [log] [tgz] |
---|---|---|
author | Pavel Grafov <pgrafov@google.com> | Thu Nov 12 21:17:47 2020 +0000 |
committer | Pavel Grafov <pgrafov@google.com> | Tue Dec 01 12:57:45 2020 +0000 |
tree | e354e4d8cc9ffc1747d5f72d2f891b1d3d323f3a | |
parent | 3a9b54f70487cd139c9c4d1bf740cf30a3564aba [diff] |
Add DPM.hasKeyPair() The method returns true if a private key and a user certifiate are present in KeyChain under this alias. Bug: 160457441 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