7ef5ec50f2
- updateSubcomponent - getSecurityLevel 1. Generate asymmetric key and update its public certificate and certificate chain. Test should load the updated key and verify whether its certificate and cert-chain are updated successfully. 2. Try to update non-existing key's public cert and cert-chain. Test should fail to update with error response code `KEY_NOT_FOUND`. 3. Try to update the certificate in a grantee context which doesn't possess UPDATE access permission for the specified key. Test should fail to update with error response code `PERMISSION_DENIED`. Test should also verify that the gratee context which possess the `UPDATE` access permission should be able to update the certificate successfully. 4. Try to get `TRUSTED_ENVIRONMENT` security level instance. Test should successfully get the instance. 5. Try to get `SOFTWARE` security level instance. Test should fail with error response code `HARDWARE_TYPE_UNAVAILABLE`. Bug: 194359114 Test: atest keystore2_client_test Change-Id: I92635c6c1fafde4e1cd4f5654f0164e45c145961 |
||
---|---|---|
.. | ||
aaid | ||
aidl | ||
apc_compat | ||
legacykeystore | ||
selinux | ||
src | ||
test_utils | ||
tests | ||
Android.bp | ||
android.system.keystore2-service.xml | ||
keystore2.rc | ||
rustfmt.toml | ||
TEST_MAPPING |