MySQL 8.0.40
Source Code Documentation
keyring_proxy Namespace Reference

Classes

class  Callback
 Class that stores callback function reference as well as the result of the callback function call (invoke method). More...
 
class  Keyring_proxy_imp
 A class that implements proxy keyring component services and calls keyring plugin APIs underneath. More...
 

Functions

static bool key_plugin_cb_fn (THD *, plugin_ref plugin, void *arg)
 Callback function that is called on the plugin. More...
 
static bool 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 oom_error ("Failed to allocate required memory")
 

Function Documentation

◆ iterate_plugins()

static bool keyring_proxy::iterate_plugins ( std::function< bool(st_mysql_keyring *keyring)>  fn)
static

Iterate over plugins of the MYSQL_KEYRING_PLUGIN type and call the function specified by the argument.

Parameters
fnFunction that can call plugin defined function.
Returns
Result of the fn call.

◆ key_plugin_cb_fn()

static bool keyring_proxy::key_plugin_cb_fn ( THD ,
plugin_ref  plugin,
void *  arg 
)
static

Callback function that is called on the plugin.

Parameters
pluginPlugin reference.
argOpaque Callback pointer.
Returns
This function always returns true.

◆ oom_error()

static const std::string keyring_proxy::oom_error ( "Failed to allocate required memory"  )
static