MySQL 8.0.40
Source Code Documentation
|
#include <cstring>
#include <memory>
#include "keyring_file.h"
#include <components/keyrings/common/component_helpers/include/keyring_encryption_service_definition.h>
#include <components/keyrings/common/component_helpers/include/keyring_generator_service_definition.h>
#include <components/keyrings/common/component_helpers/include/keyring_load_service_definition.h>
#include <components/keyrings/common/component_helpers/include/keyring_keys_metadata_iterator_service_definition.h>
#include <components/keyrings/common/component_helpers/include/keyring_log_builtins_definition.h>
#include <components/keyrings/common/component_helpers/include/keyring_metadata_query_service_definition.h>
#include <components/keyrings/common/component_helpers/include/keyring_reader_service_definition.h>
#include <components/keyrings/common/component_helpers/include/keyring_writer_service_definition.h>
Namespaces | |
namespace | keyring_file |
Functions | |
REQUIRES_SERVICE_PLACEHOLDER (log_builtins) | |
Dependencies. More... | |
REQUIRES_SERVICE_PLACEHOLDER (log_builtins_string) | |
bool | keyring_file::set_paths (const char *component_path, const char *instance_path) |
Set path to component. More... | |
bool | keyring_file::init_or_reinit_keyring () |
Initialize or re-initialize keyring. More... | |
static mysql_service_status_t | keyring_file::keyring_file_init () |
Initialization function for component - Used when loading the component. More... | |
static mysql_service_status_t | keyring_file::keyring_file_deinit () |
De-initialization function for component - Used when unloading the component. More... | |
KEYRING_AES_IMPLEMENTOR (component_keyring_file) | |
======================================================================= More... | |
KEYRING_GENERATOR_IMPLEMENTOR (component_keyring_file) | |
KEYRING_LOAD_IMPLEMENTOR (component_keyring_file) | |
KEYRING_KEYS_METADATA_FORWARD_ITERATOR_IMPLEMENTOR (component_keyring_file) | |
KEYRING_COMPONENT_STATUS_IMPLEMENTOR (component_keyring_file) | |
KEYRING_COMPONENT_METADATA_QUERY_IMPLEMENTOR (component_keyring_file) | |
KEYRING_READER_IMPLEMENTOR (component_keyring_file) | |
KEYRING_WRITER_IMPLEMENTOR (component_keyring_file) | |
KEYRING_LOG_BUILTINS_IMPLEMENTOR (component_keyring_file) | |
KEYRING_LOG_BUILTINS_STRING_IMPLEMENTOR (component_keyring_file) | |
PROVIDES_SERVICE (component_keyring_file, keyring_aes) | |
Component provides. More... | |
PROVIDES_SERVICE (component_keyring_file, keyring_generator) | |
PROVIDES_SERVICE (component_keyring_file, keyring_load) | |
PROVIDES_SERVICE (component_keyring_file, keyring_keys_metadata_iterator) | |
PROVIDES_SERVICE (component_keyring_file, keyring_component_status) | |
PROVIDES_SERVICE (component_keyring_file, keyring_component_metadata_query) | |
PROVIDES_SERVICE (component_keyring_file, keyring_reader_with_status) | |
PROVIDES_SERVICE (component_keyring_file, keyring_writer) | |
PROVIDES_SERVICE (component_keyring_file, log_builtins) | |
PROVIDES_SERVICE (component_keyring_file, log_builtins_string) | |
END_COMPONENT_PROVIDES () | |
REQUIRES_SERVICE (registry) | |
List of dependencies. More... | |
REQUIRES_SERVICE (log_builtins) | |
REQUIRES_SERVICE (log_builtins_string) | |
END_COMPONENT_REQUIRES () | |
METADATA ("mysql.author", "Oracle Corporation") | |
Component description. More... | |
METADATA ("mysql.license", "GPL") | |
METADATA ("component_keyring_file_service", "1") | |
END_COMPONENT_METADATA () | |
Variables | |
const mysql_service_log_builtins_t * | log_bi |
const mysql_service_log_builtins_string_t * | log_bs |
Keyring_operations< Keyring_file_backend > * | keyring_file::g_keyring_operations = nullptr |
Keyring operations object. More... | |
Config_pod * | keyring_file::g_config_pod = nullptr |
Keyring data source. More... | |
bool | keyring_file::g_keyring_file_inited = false |
Keyring state. More... | |
mysql_component_t | mysql_component_component_keyring_file |
Component declaration. More... | |
END_COMPONENT_METADATA | ( | ) |
END_COMPONENT_PROVIDES | ( | ) |
END_COMPONENT_REQUIRES | ( | ) |
KEYRING_AES_IMPLEMENTOR | ( | component_keyring_file | ) |
=======================================================================
Component declaration related stuff This component provides implementation of following component services
KEYRING_COMPONENT_METADATA_QUERY_IMPLEMENTOR | ( | component_keyring_file | ) |
KEYRING_COMPONENT_STATUS_IMPLEMENTOR | ( | component_keyring_file | ) |
KEYRING_GENERATOR_IMPLEMENTOR | ( | component_keyring_file | ) |
KEYRING_KEYS_METADATA_FORWARD_ITERATOR_IMPLEMENTOR | ( | component_keyring_file | ) |
KEYRING_LOAD_IMPLEMENTOR | ( | component_keyring_file | ) |
KEYRING_LOG_BUILTINS_IMPLEMENTOR | ( | component_keyring_file | ) |
KEYRING_LOG_BUILTINS_STRING_IMPLEMENTOR | ( | component_keyring_file | ) |
KEYRING_READER_IMPLEMENTOR | ( | component_keyring_file | ) |
KEYRING_WRITER_IMPLEMENTOR | ( | component_keyring_file | ) |
METADATA | ( | "component_keyring_file_service" | , |
"1" | |||
) |
METADATA | ( | "mysql.author" | , |
"Oracle Corporation" | |||
) |
Component description.
METADATA | ( | "mysql.license" | , |
"GPL" | |||
) |
PROVIDES_SERVICE | ( | component_keyring_file | , |
keyring_aes | |||
) |
Component provides.
PROVIDES_SERVICE | ( | component_keyring_file | , |
keyring_component_metadata_query | |||
) |
PROVIDES_SERVICE | ( | component_keyring_file | , |
keyring_component_status | |||
) |
PROVIDES_SERVICE | ( | component_keyring_file | , |
keyring_generator | |||
) |
PROVIDES_SERVICE | ( | component_keyring_file | , |
keyring_keys_metadata_iterator | |||
) |
PROVIDES_SERVICE | ( | component_keyring_file | , |
keyring_load | |||
) |
PROVIDES_SERVICE | ( | component_keyring_file | , |
keyring_reader_with_status | |||
) |
PROVIDES_SERVICE | ( | component_keyring_file | , |
keyring_writer | |||
) |
PROVIDES_SERVICE | ( | component_keyring_file | , |
log_builtins | |||
) |
PROVIDES_SERVICE | ( | component_keyring_file | , |
log_builtins_string | |||
) |
REQUIRES_SERVICE | ( | log_builtins | ) |
REQUIRES_SERVICE | ( | log_builtins_string | ) |
REQUIRES_SERVICE | ( | registry | ) |
List of dependencies.
REQUIRES_SERVICE_PLACEHOLDER | ( | log_builtins | ) |
Dependencies.
REQUIRES_SERVICE_PLACEHOLDER | ( | log_builtins_string | ) |
const mysql_service_log_builtins_t* log_bi |
const mysql_service_log_builtins_string_t* log_bs |
mysql_component_t mysql_component_component_keyring_file |
Component declaration.