MySQL 8.4.2
Source Code Documentation
keyring_common::service_definition::Keyring_reader_service_impl Class Reference

#include <keyring_reader_service_definition.h>

Static Public Member Functions

static mysql_service_status_t init (const char *data_id, const char *auth_id, my_h_keyring_reader_object *reader_object) noexcept
 Initialize reader. More...
 
static mysql_service_status_t deinit (my_h_keyring_reader_object reader_object) noexcept
 Deinitialize reader. More...
 
static mysql_service_status_t fetch_length (my_h_keyring_reader_object reader_object, size_t *data_size, size_t *data_type_size) noexcept
 Fetch length of the data. More...
 
static mysql_service_status_t fetch (my_h_keyring_reader_object reader_object, unsigned char *data_buffer, size_t data_buffer_length, size_t *data_size, char *data_type, size_t data_type_buffer_length, size_t *data_type_size) noexcept
 Fetches data from keyring. More...
 

Member Function Documentation

◆ deinit()

mysql_service_status_t keyring_lockable::keyring_common::service_definition::Keyring_reader_service_impl::deinit ( my_h_keyring_reader_object  reader_object)
staticnoexcept

Deinitialize reader.

Parameters
[in]reader_objectReader object
Returns
status of the operation
Return values
falseSuccess
trueFailure

◆ fetch()

mysql_service_status_t keyring_lockable::keyring_common::service_definition::Keyring_reader_service_impl::fetch ( my_h_keyring_reader_object  reader_object,
unsigned char *  data_buffer,
size_t  data_buffer_length,
size_t *  data_size,
char *  data_type,
size_t  data_type_buffer_length,
size_t *  data_type_size 
)
staticnoexcept

Fetches data from keyring.

Parameters
[in]reader_objectReader object
[out]data_bufferOut buffer for data
[in]data_buffer_lengthLength of out buffer
[out]data_sizeSize of fetched data
[out]data_typeType of data
[in]data_type_buffer_lengthLength of data type buffer
[out]data_type_sizeSize of data type
Returns
status of the operation
Return values
falseSuccess
trueFailure

◆ fetch_length()

mysql_service_status_t keyring_lockable::keyring_common::service_definition::Keyring_reader_service_impl::fetch_length ( my_h_keyring_reader_object  reader_object,
size_t *  data_size,
size_t *  data_type_size 
)
staticnoexcept

Fetch length of the data.

Parameters
[in]reader_objectReader object
[out]data_sizeSize of fetched data
[out]data_type_sizeSize of data type
Returns
status of the operation
Return values
falseSuccess
trueFailure

◆ init()

mysql_service_status_t keyring_lockable::keyring_common::service_definition::Keyring_reader_service_impl::init ( const char *  data_id,
const char *  auth_id,
my_h_keyring_reader_object reader_object 
)
staticnoexcept

Initialize reader.

Parameters
[in]data_idData Identifier
[in]auth_idAuthorization ID
[out]reader_objectReader object
Returns
status of the operation
Return values
falseSuccess
trueFailure

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