MySQL 8.4.2
Source Code Documentation
certificate_generator.h File Reference
#include <memory>
#include <string>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/pem.h>
#include <openssl/rsa.h>
#include <openssl/x509v3.h>
#include "dim.h"
#include "mysql/harness/filesystem.h"
#include "mysql/harness/stdx/expected.h"

Go to the source code of this file.

Classes

struct  std::is_error_code_enum< cert_errc >
 
class  CertificateGenerator
 
struct  CertificateGenerator::EvpPkeyDeleter
 
struct  CertificateGenerator::X509Deleter
 

Namespaces

namespace  std
 

Enumerations

enum class  cert_errc {
  rsa_generation_failed , evp_pkey_generation_failed , cert_alloc_failed , cert_set_version_failed ,
  cert_set_serial_failed , cert_set_validity_failed , cert_set_public_key_failed , cert_set_cn_failed ,
  cert_set_issuer_failed , cert_set_v3_extensions_failed , cert_could_not_be_signed
}
 

Functions

const std::error_category & cert_err_category () noexcept
 
std::error_code make_error_code (cert_errc e) noexcept
 

Enumeration Type Documentation

◆ cert_errc

enum class cert_errc
strong
Enumerator
rsa_generation_failed 
evp_pkey_generation_failed 
cert_alloc_failed 
cert_set_version_failed 
cert_set_serial_failed 
cert_set_validity_failed 
cert_set_public_key_failed 
cert_set_cn_failed 
cert_set_issuer_failed 
cert_set_v3_extensions_failed 
cert_could_not_be_signed 

Function Documentation

◆ cert_err_category()

const std::error_category & cert_err_category ( )
inlinenoexcept

◆ make_error_code()

std::error_code make_error_code ( cert_errc  e)
inlinenoexcept