MySQL 9.1.0
Source Code Documentation
mysql_keyring_iterator_imp Class Reference

Keyring iterator component service implementation. More...

#include <keyring_iterator_service_imp.h>

Static Public Member Functions

static mysql_service_status_t init (my_h_keyring_iterator *iterator) noexcept
 Initialize an iterator. More...
 
static mysql_service_status_t deinit (my_h_keyring_iterator iterator) noexcept
 Deinitialize an iterator. More...
 
static mysql_service_status_t get (my_h_keyring_iterator iterator, char *key_id, size_t key_id_size, char *user_id, size_t user_id_size) noexcept
 Fetch key info stored under key iterator and move it forward. More...
 

Detailed Description

Keyring iterator component service implementation.

Member Function Documentation

◆ deinit()

mysql_service_status_t mysql_keyring_iterator_imp::deinit ( my_h_keyring_iterator  iterator)
staticnoexcept

Deinitialize an iterator.

Parameters
iteratorIterator pointer.
Returns
Return values
falseSucceeded.
trueFailed.
See also
plugin_keyring.h

◆ get()

mysql_service_status_t mysql_keyring_iterator_imp::get ( my_h_keyring_iterator  iterator,
char *  key_id,
size_t  key_id_size,
char *  user_id,
size_t  user_id_size 
)
staticnoexcept

Fetch key info stored under key iterator and move it forward.

Parameters
iteratorIterator pointer.
[out]key_idThe buffer pointer for storing key id.
key_id_sizekey_id buffer size. Value must not be less than 64 bytes.
[out]user_idThe buffer pointer for storing user id.
user_id_sizeuser_id buffer size. Value must not be less than 64 bytes.
Returns
Return values
falseSucceeded.
trueFailed.
See also
plugin_keyring.h

◆ init()

mysql_service_status_t mysql_keyring_iterator_imp::init ( my_h_keyring_iterator iterator)
staticnoexcept

Initialize an iterator.

Parameters
[out]iteratorIterator pointer.
Returns
Return values
falseSucceeded.
trueFailed.
See also
plugin_keyring.h

The documentation for this class was generated from the following files: