MySQL 8.0.39
Source Code Documentation
|
Classes | |
struct | OsslDeleter |
struct | OsslDeleter< BIO > |
struct | OsslDeleter< EVP_PKEY > |
struct | OsslDeleter< EVP_PKEY_CTX > |
struct | OsslDeleter< OSSL_DECODER_CTX > |
Typedefs | |
template<class T > | |
using | OsslUniquePtr = std::unique_ptr< T, OsslDeleter< T > > |
Functions | |
stdx::expected< int, std::error_code > | get_rsa_key_size (X509 *x509) |
get the key size of an RSA key. More... | |
stdx::expected< void, std::error_code > | set_dh_params_from_filename (SSL_CTX *ssl_ctx, const std::string &dh_params) |
set DH params from filename to a SSL_CTX. More... | |
stdx::expected< void, std::error_code > | set_auto_dh_params (SSL_CTX *ssl_ctx) |
set auto DH params at SSL_CTX. More... | |
Variables | |
const SSL_METHOD * | server_method |
using anonymous_namespace{tls_server_context.cc}::OsslUniquePtr = typedef std::unique_ptr<T, OsslDeleter<T> > |
stdx::expected< int, std::error_code > anonymous_namespace{tls_server_context.cc}::get_rsa_key_size | ( | X509 * | x509 | ) |
get the key size of an RSA key.
x509 | a non-null pointer to RSA-key wrapped in a X509 struct. |
stdx::expected< void, std::error_code > anonymous_namespace{tls_server_context.cc}::set_auto_dh_params | ( | SSL_CTX * | ssl_ctx | ) |
set auto DH params at SSL_CTX.
stdx::expected< void, std::error_code > anonymous_namespace{tls_server_context.cc}::set_dh_params_from_filename | ( | SSL_CTX * | ssl_ctx, |
const std::string & | dh_params | ||
) |
set DH params from filename to a SSL_CTX.
ensures that the DH param has at least kMinDhKeySize bits.
const SSL_METHOD* anonymous_namespace{tls_server_context.cc}::server_method |