24#ifndef MYSQL_PLUGIN_KEYRING_INCLUDED
25#define MYSQL_PLUGIN_KEYRING_INCLUDED
32#define MYSQL_KEYRING_INTERFACE_VERSION 0x0101
60 const char *user_id,
const void *
key,
size_t key_len);
81 const char *user_id,
void **
key,
size_t *key_len);
114 const char *user_id,
size_t key_len);
int key_type
Definition: method.h:38
required string key
Definition: replication_asynchronous_connection_failover.proto:60
The descriptor structure for the plugin, that is referred from st_mysql_plugin.
Definition: plugin_keyring.h:39
void(* mysql_key_iterator_init)(void **key_iterator)
Keys_iterator object refers to an iterator which is used to iterate on a list which refers to Key_met...
Definition: plugin_keyring.h:160
bool(* mysql_key_remove)(const char *key_id, const char *user_id)
Removes key from the keyring.
Definition: plugin_keyring.h:96
bool(* mysql_key_fetch)(const char *key_id, char **key_type, const char *user_id, void **key, size_t *key_len)
Fetches key from the keyring.
Definition: plugin_keyring.h:80
void(* mysql_key_iterator_deinit)(void *key_iterator)
Deinitialize an iterator.
Definition: plugin_keyring.h:168
bool(* mysql_key_store)(const char *key_id, const char *key_type, const char *user_id, const void *key, size_t key_len)
Add key to the keyring.
Definition: plugin_keyring.h:59
bool(* mysql_key_iterator_get_key)(void *key_iterator, char *key_id, char *user_id)
Get details of key.
Definition: plugin_keyring.h:185
int interface_version
Definition: plugin_keyring.h:40
bool(* mysql_key_generate)(const char *key_id, const char *key_type, const char *user_id, size_t key_len)
Generates and stores the key.
Definition: plugin_keyring.h:113