MySQL 8.0.39
Source Code Documentation
|
#include <functional>
#include <string>
#include <mysql/components/component_implementation.h>
#include <mysql/components/my_service.h>
#include <mysql/components/services/keyring_generator.h>
#include <mysql/components/services/keyring_keys_metadata_iterator.h>
#include <mysql/components/services/keyring_reader_with_status.h>
#include <mysql/components/services/keyring_writer.h>
#include <mysql/plugin.h>
#include <mysql/plugin_keyring.h>
#include <mysql_com.h>
#include "sql/current_thd.h"
#include "sql/mysqld.h"
#include "sql/server_component/mysql_server_keyring_lockable_imp.h"
#include "sql/sql_plugin.h"
#include "sql/sql_plugin_ref.h"
Classes | |
struct | my_h_keyring_reader_object_keyring_proxy |
struct | my_h_keyring_keys_metadata_iterator_keyring_proxy |
class | keyring_proxy::Callback |
Class that stores callback function reference as well as the result of the callback function call (invoke method). More... | |
class | keyring_proxy::Keyring_proxy_imp |
A class that implements proxy keyring component services and calls keyring plugin APIs underneath. More... | |
Namespaces | |
namespace | keyring_proxy |
Enumerations | |
enum | proxy_keyring_services_enum { GENERATOR = 0 , KEYS_METADATA_ITERATOR , COMPONENT_STATUS , READER_WITH_STATUS , WRITER } |
Functions | |
static bool | keyring_proxy::key_plugin_cb_fn (THD *, plugin_ref plugin, void *arg) |
Callback function that is called on the plugin. More... | |
static bool | keyring_proxy::iterate_plugins (std::function< bool(st_mysql_keyring *keyring)> fn) |
Iterate over plugins of the MYSQL_KEYRING_PLUGIN type and call the function specified by the argument. More... | |
static const std::string | keyring_proxy::oom_error ("Failed to allocate required memory") |
static int | daemon_keyring_proxy_plugin_init (void *) |
Initializes the plugin. More... | |
static int | daemon_keyring_proxy_plugin_deinit (void *) |
De-initializes the plugin. More... | |
mysql_declare_plugin (daemon_keyring_proxy) | |
Plugin Descriptor. More... | |
Variables | |
const size_t | KEYRING_PROXY_MAX_ID_LENGTH = 1024 + 1 |
const mysql_service_keyring_generator_t | imp_daemon_keyring_proxy_keyring_generator |
======================================================================= More... | |
const mysql_service_keyring_keys_metadata_iterator_t | imp_daemon_keyring_proxy_keyring_keys_metadata_iterator |
const mysql_service_keyring_component_status_t | imp_daemon_keyring_proxy_keyring_component_status |
const mysql_service_keyring_reader_with_status_t | imp_daemon_keyring_proxy_keyring_reader_with_status |
const mysql_service_keyring_writer_t | imp_daemon_keyring_proxy_keyring_writer |
struct st_mysql_daemon | daemon_keyring_proxy_plugin |
======================================================================= More... | |
static const char * | proxy_keyring_service_names [] |
static my_h_service | proxy_keyring_service_handles [] |
mysql_declare_plugin_end | |
|
static |
De-initializes the plugin.
Unregisters services.
|
static |
Initializes the plugin.
Registers the proxy keyring services.
mysql_declare_plugin | ( | daemon_keyring_proxy | ) |
Plugin Descriptor.
struct st_mysql_daemon daemon_keyring_proxy_plugin |
=======================================================================
Plugin related stuff
const mysql_service_keyring_component_status_t imp_daemon_keyring_proxy_keyring_component_status |
const mysql_service_keyring_generator_t imp_daemon_keyring_proxy_keyring_generator |
=======================================================================
Component declaration related stuff This component provides implementation of following component services
const mysql_service_keyring_keys_metadata_iterator_t imp_daemon_keyring_proxy_keyring_keys_metadata_iterator |
const mysql_service_keyring_reader_with_status_t imp_daemon_keyring_proxy_keyring_reader_with_status |
const mysql_service_keyring_writer_t imp_daemon_keyring_proxy_keyring_writer |
const size_t KEYRING_PROXY_MAX_ID_LENGTH = 1024 + 1 |
mysql_declare_plugin_end |
|
static |
|
static |