MySQL 8.0.39
Source Code Documentation
ssl_init_callback.h File Reference
#include <atomic>
#include <string>
#include <sql/auth/auth_common.h>

Go to the source code of this file.

Classes

class  OptionalString
 helper class to deal with optionally empty strings More...
 
class  Ssl_init_callback
 
class  Ssl_init_callback_server_main
 Class to encasulate callbacks for init/reinit for client server connection port. More...
 
class  Ssl_init_callback_server_admin
 Class to encasulate callbacks for init/reinit for admin connection port. More...
 

Enumerations

enum class  TLS_version { TLSv12 = 0 , TLSv13 }
 

Functions

bool validate_tls_version (const char *val)
 Helper method to validate values of –tls-version and –admin-tls-version. More...
 
void validate_ciphers (const char *option, const char *val, TLS_version version)
 Helper method to validate values of –ssl-cipher and –admin-ssl-cipher. More...
 

Variables

std::atomic_bool g_admin_ssl_configured
 
std::string mysql_main_channel
 
std::string mysql_admin_channel
 
Ssl_init_callback_server_main server_main_callback
 
Ssl_init_callback_server_admin server_admin_callback
 

Enumeration Type Documentation

◆ TLS_version

enum class TLS_version
strong
Enumerator
TLSv12 
TLSv13 

Function Documentation

◆ validate_ciphers()

void validate_ciphers ( const char *  option,
const char *  val,
TLS_version  version 
)

Helper method to validate values of –ssl-cipher and –admin-ssl-cipher.

◆ validate_tls_version()

bool validate_tls_version ( const char *  val)

Helper method to validate values of –tls-version and –admin-tls-version.

Variable Documentation

◆ g_admin_ssl_configured

std::atomic_bool g_admin_ssl_configured
extern

◆ mysql_admin_channel

std::string mysql_admin_channel
extern

◆ mysql_main_channel

std::string mysql_main_channel
extern

◆ server_admin_callback

Ssl_init_callback_server_admin server_admin_callback
extern

◆ server_main_callback

Ssl_init_callback_server_main server_main_callback
extern