summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEran Messeri <eranm@google.com>2017-12-11 12:32:13 +0000
committerEran Messeri <eranm@google.com>2017-12-18 13:26:01 +0000
commitecf0f22e5831832afb48c86abfaa81234c8db619 (patch)
tree06616aa20a0ffe77805d314c2b24bae9a3866534 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent171fec8c356ffa8cd4837092fce3b5cd5e2712fe (diff)
DPM: Implement installing certificates for generated keys
Add a new method in the DevicePolicyManager to associate certificates (and set the user-visibility) with a given key alias. Conceptually, the new method, setKeyPairCertificate is very similar to installKeyPair, except it does not install a key, only certificates. (The new setKeyPairCertificate, together with generateKeyPair is functionally equivalent to installKeyPair, except the keys are generated in hardware rather than supplied externally). Bug: 63388672 Test: cts-tradefed run commandAndExit cts-dev -a armeabi-v7a -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testKeyManagement -l DEBUG Change-Id: Idbfe151f6e5311766decbc1a010bff78dc60249f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions