MySQL 8.0.39
Source Code Documentation
oci Namespace Reference

Namespaces

namespace  ssl
 

Classes

struct  OCI_config_file
 
class  Signing_Key
 

Typedefs

using Data = std::vector< unsigned char >
 

Functions

static void SSL_memory_deallocator (void *p)
 
void log_error (const std::string &message)
 
std::string get_home_folder ()
 Return the realpath(~) More...
 
OCI_config_file parse_oci_config_file (const std::string &oci_config, const char *oci_profile, const std::string &expanded_path, std::string &err_msg)
 Parse oci config file to extract key fingerprint, location of private key file and security token file. More...
 
std::string get_oci_config_file_location (const char *oci_config)
 Return the default location of ~/.oci/config file if not specified. More...
 
std::string prepare_response (const std::string &fingerprint, const std::string &signature, const std::string &token)
 JSON format the client signed response. More...
 

Typedef Documentation

◆ Data

using oci::Data = typedef std::vector<unsigned char>

Function Documentation

◆ get_home_folder()

std::string oci::get_home_folder ( )

Return the realpath(~)

◆ get_oci_config_file_location()

std::string oci::get_oci_config_file_location ( const char *  oci_config)

Return the default location of ~/.oci/config file if not specified.

◆ log_error()

void oci::log_error ( const std::string &  message)

◆ parse_oci_config_file()

OCI_config_file oci::parse_oci_config_file ( const std::string &  oci_config,
const char *  oci_profile,
const std::string &  expanded_path,
std::string &  err_msg 
)

Parse oci config file to extract key fingerprint, location of private key file and security token file.

Parameters
[in]oci_configPath to oci config file
[in]oci_profileConfig profile whose config options is to be read
[in]expanded_pathResolved path for '~'
[out]err_msgError message in case of failure
Returns
values extracted

◆ prepare_response()

std::string oci::prepare_response ( const std::string &  fingerprint,
const std::string &  signature,
const std::string &  token 
)

JSON format the client signed response.

◆ SSL_memory_deallocator()

static void oci::SSL_memory_deallocator ( void *  p)
static