MySQL 8.0.39
Source Code Documentation
|
#include "mysql/harness/tls_server_context.h"
#include <memory>
#include <string>
#include <vector>
#include <openssl/dh.h>
#include <openssl/err.h>
#include <openssl/pem.h>
#include <openssl/safestack.h>
#include <openssl/ssl.h>
#include "mysql/harness/stdx/expected.h"
#include "mysql/harness/tls_error.h"
#include "mysql/harness/utility/string.h"
#include "openssl_version.h"
#include <openssl/core_names.h>
#include <openssl/decoder.h>
#include <dh_ecdh_config.h>
Namespaces | |
namespace | anonymous_namespace{tls_server_context.cc} |
Typedefs | |
template<class T > | |
using | anonymous_namespace{tls_server_context.cc}::OsslUniquePtr = std::unique_ptr< T, OsslDeleter< T > > |
Functions | |
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. More... | |
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. More... | |
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. More... | |
Variables | |
constexpr int | kMinRsaKeySize {2048} |
constexpr int | kMinDhKeySize {1024} |
constexpr int | kMaxSecurityLevel {5} |
const SSL_METHOD * | anonymous_namespace{tls_server_context.cc}::server_method |
|
constexpr |
|
constexpr |
|
constexpr |