MySQL 8.0.40
Source Code Documentation
keyring_common::service_definition::Keyring_writer_service_impl Class Reference

#include <keyring_writer_service_definition.h>

Static Public Member Functions

static mysql_service_status_t store (const char *data_id, const char *auth_id, const unsigned char *data, size_t data_size, const char *data_type) noexcept
 Store data in keyring. More...
 
static mysql_service_status_t remove (const char *data_id, const char *auth_id) noexcept
 Remove data from keyring. More...
 

Member Function Documentation

◆ remove()

mysql_service_status_t keyring_lockable::keyring_common::service_definition::Keyring_writer_service_impl::remove ( const char *  data_id,
const char *  auth_id 
)
staticnoexcept

Remove data from keyring.

Parameters
[in]data_idData Identifier
[in]auth_idAuthorization ID
Returns
status of the operation
Return values
falseSuccess - Key removed successfully or key not present.
trueFailure

◆ store()

mysql_service_status_t keyring_lockable::keyring_common::service_definition::Keyring_writer_service_impl::store ( const char *  data_id,
const char *  auth_id,
const unsigned char *  data,
size_t  data_size,
const char *  data_type 
)
staticnoexcept

Store data in keyring.

Parameters
[in]data_idData Identifier
[in]auth_idAuthorization ID
[in]dataData to be stored
[in]data_sizeSize of data to be stored
[in]data_typeType of data
Returns
status of the operation
Return values
falseSuccess
trueFailure

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