#include <keyring_keys_metadata_iterator_service_definition.h>
◆ deinit()
Iterator deinitialization.
Note: forward_iterator should not be used after call to deinit
- Parameters
-
| [in,out] | forward_iterator | metadata iterator |
- Returns
- Status of the operation
- Return values
-
◆ get()
Fetch metadata for current key pointed by iterator.
- Parameters
-
| [in] | forward_iterator | forward_iterator metadata iterator |
| [out] | data_id | ID information of current data |
| [in] | data_id_length | Length of data_id buffer |
| [out] | auth_id | Owner of the key |
| [in] | auth_id_length | Length of auth_id buffer |
- Returns
- Status of the operation
- Return values
-
◆ get_length()
Fetch length metadata for current key pointed by iterator.
- Parameters
-
| [in] | forward_iterator | forward_iterator metadata iterator |
| [out] | data_id_length | Length of data_id buffer |
| [out] | auth_id_length | Length of auth_id buffer |
- Returns
- Status of the operation
- Return values
-
◆ init()
Forward iterator initialization.
- Parameters
-
| [out] | forward_iterator | metadata iterator |
- Returns
- Status of the operation
- Return values
-
◆ is_valid()
Check validity of the iterator.
- Parameters
-
| [in] | forward_iterator | metadata iterator |
- Returns
- Validty of the iterator
- Return values
-
| true | Iterator is valid |
| false | Iterator is invalid |
◆ next()
Move iterator forward.
- Parameters
-
| [in,out] | forward_iterator | metadata iterator |
- Returns
- Status of the operation
- Return values
-
| false | Success - indicates that iterator is pointing to next entry |
| true | Failure - indicates that iterator has reached the end |
The documentation for this class was generated from the following files: