diff options
author | Pavel Grafov <pgrafov@google.com> | 2020-11-12 21:17:47 +0000 |
---|---|---|
committer | Pavel Grafov <pgrafov@google.com> | 2020-12-01 12:57:45 +0000 |
commit | b73e15249b43d812f0a5a8b403c6a65c9b61584d (patch) | |
tree | e354e4d8cc9ffc1747d5f72d2f891b1d3d323f3a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions