MySQL 9.1.0
Source Code Documentation
certificate_generator.cc File Reference
#include "certificate_generator.h"
#include <array>
#include <stdexcept>
#include <openssl/evp.h>
#include "harness_assert.h"
#include "mysql/harness/stdx/expected.h"
#include "mysql/harness/tls_server_context.h"
#include "openssl_version.h"
#include "scope_guard.h"
#include <openssl/decoder.h>
#include <openssl/encoder.h>

Classes

struct  anonymous_namespace{certificate_generator.cc}::OsslDeleter< OSSL_DECODER_CTX >
 
struct  anonymous_namespace{certificate_generator.cc}::OsslDeleter< OSSL_ENCODER_CTX >
 
struct  anonymous_namespace{certificate_generator.cc}::OsslDeleter< BIO >
 
struct  anonymous_namespace{certificate_generator.cc}::OsslDeleter< X509_EXTENSION >
 

Namespaces

namespace  anonymous_namespace{certificate_generator.cc}
 

Typedefs

template<class T >
using anonymous_namespace{certificate_generator.cc}::OsslUniquePtr = std::unique_ptr< T, OsslDeleter< T > >
 
using anonymous_namespace{certificate_generator.cc}::EvpPkey = CertificateGenerator::EvpPkey
 
using anonymous_namespace{certificate_generator.cc}::X509Cert = CertificateGenerator::X509Cert
 

Functions

std::string anonymous_namespace{certificate_generator.cc}::read_bio_to_string (BIO *bio)
 
template<typename F , typename... Args>
std::string anonymous_namespace{certificate_generator.cc}::write_custom_pem_to_string (F &&pem_to_bio_func, Args &&...args)
 Get string representation of a PEM (certificate or key) object. More...
 

Variables

constexpr const std::array anonymous_namespace{certificate_generator.cc}::rsa_key_sizes {2048, 2048, 2048, 3072, 7680, 15360}