summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Eran Messeri <eranm@google.com> 2023-02-06 22:18:30 +0000
committer Eran Messeri <eranm@google.com> 2023-03-20 15:07:21 +0000
commit17ad506f0eea49c2e8e0721ce6f754fe3f6003a3 (patch)
treef7976e2ad953c74d496290bbfeac115c1a80ba89 /api/api.go
parent042dc5fb98fea62a5e9f774b7df897037a64fce4 (diff)
Batch fetching of key descriptors from Keystore
Change interaction with Keystore2 in the following manner: * Return an enumerator over the entries in Keystore2 rather than attempting to get all of them into one single data structure. * Use a new Keystore2 method for getting the count of entries rather than count the size of the array returned. The enumerator reads a batch of key descriptors from Keystore2. Once the batch has been exhausted, the enumerator added asks Keystore2 for the next batch of keys starting with the last alias it has processed, until it receives an empty array. Bug: 222287335 Test: atest KeystoreTests Change-Id: I309b3188df998825557a3c5e6d777b1c0807a924
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions