MySQL 8.4.2
Source Code Documentation
|
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... | |
using oci::Data = typedef std::vector<unsigned char> |
std::string oci::get_home_folder | ( | ) |
Return the realpath(~)
std::string oci::get_oci_config_file_location | ( | const char * | oci_config | ) |
Return the default location of ~/.oci/config file if not specified.
void oci::log_error | ( | const std::string & | message | ) |
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.
[in] | oci_config | Path to oci config file |
[in] | oci_profile | Config profile whose config options is to be read |
[in] | expanded_path | Resolved path for '~' |
[out] | err_msg | Error message in case of failure |
std::string oci::prepare_response | ( | const std::string & | fingerprint, |
const std::string & | signature, | ||
const std::string & | token | ||
) |
JSON format the client signed response.
|
static |