diff options
| author | 2022-12-31 20:25:54 +0000 | |
|---|---|---|
| committer | 2022-12-31 21:09:51 +0000 | |
| commit | 10770c150969527b8740337b5f4c0ea39b442d50 (patch) | |
| tree | 18c35e3db743b09a586e4d1a7acecd7abd64b164 /api/api_test.go | |
| parent | d469322a84b7e4ca05f8510148852804238b3291 (diff) | |
Handle unparsable public keys
Handle the case where a KeyMint implementation produced an invalid
X.509 certificate that is the container for the generated key's public
portion.
There's not much for the caller to do other than re-generate the key.
Bug: 261788762
Test: Not tested yet.
Change-Id: Ia883df4f5e29a7d75929d37a68b015e857b90560
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions