MySQL 8.4.2
Source Code Documentation
|
Container of SSL Acceptor context data. More...
#include <ssl_acceptor_context_data.h>
Public Member Functions | |
Ssl_acceptor_context_data (std::string channel, Ssl_init_callback *callbacks, bool report_ssl_error=true, enum enum_ssl_init_error *out_error=nullptr) | |
Ctor. More... | |
~Ssl_acceptor_context_data () | |
Destructor. More... | |
Protected Member Functions | |
Ssl_acceptor_context_data (const Ssl_acceptor_context_data &)=delete | |
Ssl_acceptor_context_data | operator= (const Ssl_acceptor_context_data &)=delete |
Ssl_acceptor_context_data (Ssl_acceptor_context_data &&)=delete | |
Ssl_acceptor_context_data | operator= (Ssl_acceptor_context_data &&)=delete |
std::string | show_property (Ssl_acceptor_context_property_type property_type) const |
Fetch given property from underlying TLS context. More... | |
bool | have_ssl () const |
TLS context validity. More... | |
const char * | channel_name () const |
Get channel name. More... | |
operator struct st_VioSSLFd * () | |
Get Acceptor context. More... | |
operator SSL * () | |
Get SSL handle. More... | |
const char * | current_ca () const |
Get current CA. More... | |
const char * | current_capath () const |
Get current CA Path. More... | |
const char * | current_cert () const |
Get current Certificate. More... | |
const char * | current_key () const |
Get current Key. More... | |
const char * | current_crl () const |
Get current CRL certificate. More... | |
const char * | current_crlpath () const |
Get current CRL Path. More... | |
const char * | current_version () const |
Get current TLS version. More... | |
const char * | current_cipher () const |
Get current TLSv1.2 ciphers. More... | |
const char * | current_ciphersuites () const |
Get current TLSv1.3 ciphers. More... | |
Private Attributes | |
std::string | channel_ |
Channel name. More... | |
struct st_VioSSLFd * | ssl_acceptor_fd_ |
SSL_CTX barerer. More... | |
SSL * | acceptor_ |
An SSL for ssl_acceptor_fd_ to allow access to parameters not in SSL_CTX to be available even if the current connection is not encrypted. More... | |
OptionalString | current_ca_ |
Copies of the current effective values for quick return via the status vars. More... | |
OptionalString | current_capath_ |
OptionalString | current_version_ |
OptionalString | current_cert_ |
OptionalString | current_cipher_ |
OptionalString | current_ciphersuites_ |
OptionalString | current_key_ |
OptionalString | current_crl_ |
OptionalString | current_crlpath_ |
long | current_tls_session_cache_timeout_ |
bool | current_tls_session_cache_mode_ |
Friends | |
class | Ssl_acceptor_context_container |
class | TLS_channel |
class | Lock_and_access_ssl_acceptor_context |
Container of SSL Acceptor context data.
Ssl_acceptor_context_data::Ssl_acceptor_context_data | ( | std::string | channel, |
Ssl_init_callback * | callbacks, | ||
bool | report_ssl_error = true , |
||
enum enum_ssl_init_error * | out_error = nullptr |
||
) |
Ctor.
[in] | channel | Name of the channel |
[in] | callbacks | TLS context initialization callbacks to get values of various options and perform validation |
[in] | report_ssl_error | Report any SSL errors resulting from trying to initialize the SSL_CTX to error log |
[out] | out_error | An optional slot to return SSL_CTX initialization error information |
Ssl_acceptor_context_data::~Ssl_acceptor_context_data | ( | ) |
Destructor.
|
protecteddelete |
|
protecteddelete |
|
inlineprotected |
Get channel name.
|
inlineprotected |
Get current CA.
|
inlineprotected |
Get current CA Path.
|
inlineprotected |
Get current Certificate.
|
inlineprotected |
Get current TLSv1.2 ciphers.
|
inlineprotected |
Get current TLSv1.3 ciphers.
|
inlineprotected |
Get current CRL certificate.
|
inlineprotected |
Get current CRL Path.
|
inlineprotected |
Get current Key.
|
inlineprotected |
Get current TLS version.
|
inlineprotected |
TLS context validity.
|
inlineprotected |
Get SSL handle.
|
inlineprotected |
Get Acceptor context.
|
protecteddelete |
|
protecteddelete |
|
protected |
Fetch given property from underlying TLS context.
[in] | property_type | Property to be fetched |
|
friend |
|
friend |
|
friend |
|
private |
An SSL for ssl_acceptor_fd_ to allow access to parameters not in SSL_CTX to be available even if the current connection is not encrypted.
|
private |
Channel name.
|
private |
Copies of the current effective values for quick return via the status vars.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
SSL_CTX barerer.