MySQL 8.0.40
Source Code Documentation
s_mysql_mysql_keyring_native_key_id Struct Reference

A service to read native keybackend id. More...

#include <mysql_keyring_native_key_id.h>

Public Attributes

mysql_service_status_t(* get_backend_key_id )(const char *key_id, const char *user_id, char *backend_key_id, size_t max_key_len)
 Read a backend key id. More...
 

Detailed Description

A service to read native keybackend id.

Typically there'll be just one implementation of this by the main application.

Member Data Documentation

◆ get_backend_key_id

mysql_service_status_t(* s_mysql_mysql_keyring_native_key_id::get_backend_key_id) (const char *key_id, const char *user_id, char *backend_key_id, size_t max_key_len)

Read a backend key id.

Parameters
key_idthe mysql key id
user_idthe mysql user id
outbackend_key_id a buffer to store the backend key id in
inoutkey_len: on input the size of the buffer in backend_key_id, on output: the number of chars returned in the buffer
Returns
Status of performed operation
Return values
falsesuccess (valid password)
truefailure (invalid password)
See also
my_host_application_signal

The documentation for this struct was generated from the following file: