MySQL 8.4.2
Source Code Documentation
TLS_channel Class Reference

TLS context manager. More...

#include <ssl_acceptor_context_operator.h>

Static Public Member Functions

static bool singleton_init (Ssl_acceptor_context_container **out, std::string channel, Ssl_init_callback *callbacks, bool db_init)
 Initialize the single instance of the acceptor. More...
 
static void singleton_deinit (Ssl_acceptor_context_container *container)
 De-initialize the single instance of the acceptor. More...
 
static void singleton_flush (Ssl_acceptor_context_container *container, std::string channel, Ssl_init_callback *callbacks, enum enum_ssl_init_error *error, bool force)
 Re-initialize the single instance of the acceptor. More...
 

Detailed Description

TLS context manager.

Member Function Documentation

◆ singleton_deinit()

void TLS_channel::singleton_deinit ( Ssl_acceptor_context_container container)
static

De-initialize the single instance of the acceptor.

Parameters
[in]containerTLS acceptor context object

◆ singleton_flush()

void TLS_channel::singleton_flush ( Ssl_acceptor_context_container container,
std::string  channel,
Ssl_init_callback callbacks,
enum enum_ssl_init_error error,
bool  force 
)
static

Re-initialize the single instance of the acceptor.

Parameters
[in,out]containerTLS acceptor context object
[in]channelName of the channel
[in]callbacksHandle to the initialization callback object
[out]errorSSL Error information
[in]forceActivate the SSL settings even if this will lead to disabling SSL

◆ singleton_init()

bool TLS_channel::singleton_init ( Ssl_acceptor_context_container **  out,
std::string  channel,
Ssl_init_callback callbacks,
bool  db_init 
)
static

Initialize the single instance of the acceptor.

Parameters
[out]outObject initialized by the function
[in]channelName of the channel
[in]callbacksHandle to the initialization callback object
[in]db_initWhether database is being initialized or not
Returns
Initialization status
Return values
truefailure to init
falseinitialized ok

The documentation for this class was generated from the following files: