MySQL 8.4.2
Source Code Documentation
|
TLS context access wrapper for ease of use. More...
#include <ssl_acceptor_context_operator.h>
Public Member Functions | |
Lock_and_access_ssl_acceptor_context (Ssl_acceptor_context_container *context) | |
~Lock_and_access_ssl_acceptor_context ()=default | |
operator const Ssl_acceptor_context_data * () | |
Access protected Ssl_acceptor_context_data. More... | |
operator SSL_CTX * () | |
Access to the SSL_CTX from the protected Ssl_acceptor_context_data. More... | |
operator SSL * () | |
Access to the SSL from the protected Ssl_acceptor_context_data. More... | |
operator struct st_VioSSLFd * () | |
Access to st_VioSSLFd from the protected Ssl_acceptor_context_data. More... | |
std::string | show_property (Ssl_acceptor_context_property_type property_type) |
Fetch given property from underlying TLS context. More... | |
std::string | channel_name () |
Fetch channel name. More... | |
bool | have_ssl () |
TLS context validity. More... | |
Private Attributes | |
Ssl_acceptor_context_data_lock::ReadLock | read_lock_ |
Read lock over TLS context. More... | |
TLS context access wrapper for ease of use.
|
inline |
|
default |
std::string Lock_and_access_ssl_acceptor_context::channel_name | ( | ) |
Fetch channel name.
bool Lock_and_access_ssl_acceptor_context::have_ssl | ( | ) |
TLS context validity.
true | Valid |
false | Invalid |
|
inline |
Access protected Ssl_acceptor_context_data.
|
inline |
Access to the SSL from the protected Ssl_acceptor_context_data.
|
inline |
Access to the SSL_CTX from the protected Ssl_acceptor_context_data.
|
inline |
Access to st_VioSSLFd from the protected Ssl_acceptor_context_data.
std::string Lock_and_access_ssl_acceptor_context::show_property | ( | Ssl_acceptor_context_property_type | property_type | ) |
Fetch given property from underlying TLS context.
[in] | property_type | Property to be fetched |
|
private |
Read lock over TLS context.