platform_system_security/keystore2/test_utils
Rajesh Nyamagoud a42dee61ce Added tests to attest keys with attestation id.
- Generate an RSA/EC attested keys with attestation of the device's
  identifiers. Test should succeed in generatating a attested key with
  attestation of device identifier. Test might fail on devices which
  doesn't support device id attestation with error response code
  `CANNOT_ATTEST_IDS or INVALID_TAG`.

- Try to generate an attested key with attestation of invalid device's
  identifiers. Test should fail with error response `CANNOT_ATTEST_IDS`

- Test to make sure `CANNOT_ATTEST_IDS` error code is returned while
  trying to generate a key on a device which doesn't support
  `FEATURE_DEVICE_ID_ATTESTATION`.

Bug: 194359114
Test: atest keystore2_client_test
Change-Id: Ib57c58d3ea89279eb69db342c3343b8d99ddc639
2023-06-20 19:07:27 +00:00
..
authorizations.rs Added tests to attest keys with attestation id. 2023-06-20 19:07:27 +00:00
key_generations.rs Added tests to attest keys with attestation id. 2023-06-20 19:07:27 +00:00
lib.rs Create authorizations and key_generations test modules - 2022-03-25 19:51:23 +00:00
run_as.rs Keystore2 Tests: Revisit run_as function. 2022-03-16 13:21:56 -07:00