24#ifndef SSL_INIT_CALLBACK_INCLUDED
25#define SSL_INIT_CALLBACK_INCLUDED
ssl_artifacts_status
Definition: auth_common.h:902
helper class to deal with optionally empty strings
Definition: ssl_init_callback.h:38
OptionalString & assign(const char *s)
Definition: ssl_init_callback.h:46
~OptionalString()=default
OptionalString(const char *s)
Definition: ssl_init_callback.h:41
std::string value_
Definition: ssl_init_callback.h:53
OptionalString(const OptionalString &)=default
bool empty_
Definition: ssl_init_callback.h:54
OptionalString()
Definition: ssl_init_callback.h:40
const char * c_str() const
Definition: ssl_init_callback.h:45
Class to encasulate callbacks for init/reinit for admin connection port.
Definition: ssl_init_callback.h:103
bool warn_self_signed_ca() override
Definition: ssl_init_callback.cc:494
~Ssl_init_callback_server_admin() override=default
void read_parameters(OptionalString *ca, OptionalString *capath, OptionalString *version, OptionalString *cert, OptionalString *cipher, OptionalString *ciphersuites, OptionalString *key, OptionalString *crl, OptionalString *crl_path, bool *session_cache_mode, long *session_cache_timeout) override
Definition: ssl_init_callback.cc:469
bool provision_certs() override
Definition: ssl_init_callback.h:112
Class to encasulate callbacks for init/reinit for client server connection port.
Definition: ssl_init_callback.h:80
bool provision_certs() override
Definition: ssl_init_callback.cc:450
bool warn_self_signed_ca() override
Definition: ssl_init_callback.cc:462
~Ssl_init_callback_server_main() override=default
void read_parameters(OptionalString *ca, OptionalString *capath, OptionalString *version, OptionalString *cert, OptionalString *cipher, OptionalString *ciphersuites, OptionalString *key, OptionalString *crl, OptionalString *crl_path, bool *session_cache_mode, long *session_cache_timeout) override
Definition: ssl_init_callback.cc:391
ssl_artifacts_status auto_detect_ssl()
Definition: ssl_init_callback.cc:411
Definition: ssl_init_callback.h:58
virtual void read_parameters(OptionalString *ca, OptionalString *capath, OptionalString *version, OptionalString *cert, OptionalString *cipher, OptionalString *ciphersuites, OptionalString *key, OptionalString *crl, OptionalString *crl_path, bool *session_cache_mode, long *session_cache_timeout)=0
virtual bool warn_self_signed_ca()=0
virtual bool provision_certs()=0
virtual ~Ssl_init_callback()=default
Fido Client Authentication nullptr
Definition: fido_client_plugin.cc:222
required string key
Definition: replication_asynchronous_connection_failover.proto:60
required uint64 version
Definition: replication_group_member_actions.proto:41
std::string mysql_admin_channel
std::string mysql_main_channel
Ssl_init_callback_server_admin server_admin_callback
Definition: ssl_init_callback.cc:500
void validate_ciphers(const char *option, const char *val, TLS_version version)
Helper method to validate values of –ssl-cipher and –admin-ssl-cipher.
Definition: ssl_init_callback.cc:92
TLS_version
Definition: ssl_init_callback.h:133
bool validate_tls_version(const char *val)
Helper method to validate values of –tls-version and –admin-tls-version.
Definition: ssl_init_callback.cc:71
std::atomic_bool g_admin_ssl_configured
Ssl_init_callback_server_main server_main_callback
Definition: ssl_init_callback.cc:499