MySQL 9.1.0
Source Code Documentation
service_mysql_keyring.h File Reference
#include <cstddef>

Go to the source code of this file.

Classes

struct  mysql_keyring_service_st
 This service allows plugins to interact with key store backends. More...
 

Functions

int my_key_store (const char *, const char *, const char *, const void *, size_t)
 Iterates over all active keyring plugins calls the mysql_key_store API for the first one found. More...
 
int my_key_fetch (const char *, char **, const char *, void **, size_t *)
 Iterates over all active keyring plugins and calls the mysql_key_fetch API for the first one found. More...
 
int my_key_remove (const char *, const char *)
 Iterates over all active keyring plugins and calls the mysql_key_remove API for the first one found. More...
 
int my_key_generate (const char *, const char *, const char *, size_t)
 Iterates over all active keyring plugins and calls the mysql_key_generate API for the first one found. More...
 

Variables

struct mysql_keyring_service_stmysql_keyring_service
 

Function Documentation

◆ my_key_fetch()

int my_key_fetch ( const char *  key_id,
char **  key_type,
const char *  user_id,
void **  key,
size_t *  key_len 
)

Iterates over all active keyring plugins and calls the mysql_key_fetch API for the first one found.

See also
st_mysql_keyring::mysql_key_fetch, mysql_keyring_service_st

◆ my_key_generate()

int my_key_generate ( const char *  key_id,
const char *  key_type,
const char *  user_id,
size_t  key_len 
)

Iterates over all active keyring plugins and calls the mysql_key_generate API for the first one found.

See also
st_mysql_keyring::mysql_key_generate, mysql_keyring_service_st

◆ my_key_remove()

int my_key_remove ( const char *  key_id,
const char *  user_id 
)

Iterates over all active keyring plugins and calls the mysql_key_remove API for the first one found.

See also
st_mysql_keyring::mysql_key_remove, mysql_keyring_service_st

◆ my_key_store()

int my_key_store ( const char *  key_id,
const char *  key_type,
const char *  user_id,
const void *  key,
size_t  key_len 
)

Iterates over all active keyring plugins calls the mysql_key_store API for the first one found.

See also
st_mysql_keyring::mysql_key_store, mysql_keyring_service_st