MySQL 26.7.0
Source Code Documentation
ssl_acceptor_context_data.cc File Reference
#include <algorithm>
#include <utility>
#include "openssl/ssl.h"
#include "openssl/x509_vfy.h"
#include "mysql/components/services/log_builtins.h"
#include "mysqld_error.h"
#include "sql/ssl_acceptor_context_data.h"

Functions

static void report_errors ()
 
static bool verify_individual_certificate (const char *ssl_cert, const char *ssl_ca, const char *ssl_capath, const char *crl, const char *crl_path)
 
static bool verify_ca_certificates (const char *ssl_ca, const char *ssl_capath, const char *ssl_crl, const char *ssl_crl_path)
 
static char * my_asn1_time_to_string (ASN1_TIME *time, char *buf, int len)
 
std::string Ssl_ctx_property_name (Ssl_acceptor_context_property_type property_type)
 Note: Add new value before "last" and update Ssl_acceptor_context_propert_type_names. More...
 
static void log_tls_channel_without_force_pqc (const std::string &channel, bool force_pqc)
 
Ssl_acceptor_context_property_typeoperator++ (Ssl_acceptor_context_property_type &property_type)
 Increment operator for Ssl_acceptor_context_type Used by iterator. More...
 

Variables

static std::string Ssl_acceptor_context_propert_type_names []
 

Function Documentation

◆ log_tls_channel_without_force_pqc()

static void log_tls_channel_without_force_pqc ( const std::string &  channel,
bool  force_pqc 
)
static

◆ my_asn1_time_to_string()

static char * my_asn1_time_to_string ( ASN1_TIME *  time,
char *  buf,
int  len 
)
static

◆ operator++()

Increment operator for Ssl_acceptor_context_type Used by iterator.

Parameters
[in,out]property_typeCurrent position in Ssl_acceptor_context_type
Returns
incremented value for property_type

◆ report_errors()

static void report_errors ( )
static

◆ Ssl_ctx_property_name()

std::string Ssl_ctx_property_name ( Ssl_acceptor_context_property_type  property_type)

Note: Add new value before "last" and update Ssl_acceptor_context_propert_type_names.

Fetch a string representation of SSL acceptor context property

Parameters
[in]property_typeProperty type
Returns
name of the property

◆ verify_ca_certificates()

static bool verify_ca_certificates ( const char *  ssl_ca,
const char *  ssl_capath,
const char *  ssl_crl,
const char *  ssl_crl_path 
)
static

◆ verify_individual_certificate()

static bool verify_individual_certificate ( const char *  ssl_cert,
const char *  ssl_ca,
const char *  ssl_capath,
const char *  crl,
const char *  crl_path 
)
static

Variable Documentation

◆ Ssl_acceptor_context_propert_type_names

std::string Ssl_acceptor_context_propert_type_names[]
static