MySQL 9.0.0
Source Code Documentation
|
Functions | |
bool | init_keyring_services (const mysql_service_registry_t *reg_srv) |
Initialize keyring component service handles. More... | |
void | deinit_keyring_services (const mysql_service_registry_t *reg_srv) |
Deinitialize keyring component service handles. More... | |
bool | generate_key (const char *key_id, const char *key_type, size_t key_length) |
Generate a new key. More... | |
void | remove_key (const char *key_id) |
Remove a key from keyring. More... | |
void innobase::encryption::deinit_keyring_services | ( | const mysql_service_registry_t * | reg_srv | ) |
Deinitialize keyring component service handles.
[in] | reg_srv | Handle to registry service |
bool innobase::encryption::generate_key | ( | const char * | key_id, |
const char * | key_type, | ||
size_t | key_length | ||
) |
Generate a new key.
[in] | key_id | Key identifier |
[in] | key_type | Type of the key |
[in] | key_length | Length of the key |
true | Success |
false | Error. No error is raised. |
bool innobase::encryption::init_keyring_services | ( | const mysql_service_registry_t * | reg_srv | ) |
Initialize keyring component service handles.
[in] | reg_srv | Handle to registry service |
true | Success |
false | Error |
void innobase::encryption::remove_key | ( | const char * | key_id | ) |
Remove a key from keyring.
[in] | key_id | Key to be removed |
const mysql_service_keyring_generator_t* innobase::encryption::keyring_generator_service = nullptr |
const mysql_service_keyring_reader_with_status_t* innobase::encryption::keyring_reader_service = nullptr |
const mysql_service_keyring_writer_t* innobase::encryption::keyring_writer_service = nullptr |