26#ifndef COMPONENTS_INCLUDED
27#define COMPONENTS_INCLUDED
78 const std::string &instance_path);
94 const std::string &instance_path);
114 const std::string &instance_path);
Definition: components.h:111
my_service< const_keyring_writer_t > keyring_writer_service_
Definition: components.h:121
~Destination_keyring_services() override
Definition: components.cc:175
const_keyring_writer_t * writer()
Definition: components.h:118
Destination_keyring_services(const std::string &implementation_name, const std::string &instance_path)
Definition: components.cc:159
Definition: components.h:60
bool ok_
Definition: components.h:72
std::string component_path_
Definition: components.h:70
bool ok() const
Definition: components.h:66
std::string type_
Definition: components.h:71
dynamic_loader_type_t * dynamic_loader_
Definition: components.h:69
~Keyring_component_load()
Definition: components.cc:81
Keyring_component_load(const std::string &component_name, std::string type)
Definition: components.cc:59
Definition: components.h:124
options::Mysql_connection mysql_connection_
Definition: components.h:141
bool ok_
Definition: components.h:142
const size_t maximum_size_
Definition: components.h:143
bool lock_source_keyring()
Definition: components.cc:200
my_h_keyring_keys_metadata_iterator iterator_
Definition: components.h:140
Keyring_migrate(Source_keyring_services &src, Destination_keyring_services &dst, bool online_migration)
Definition: components.cc:182
Source_keyring_services & src_
Definition: components.h:138
bool migrate_keys()
Definition: components.cc:213
bool ok() const
Definition: components.h:135
~Keyring_migrate()
Definition: components.cc:374
Destination_keyring_services & dst_
Definition: components.h:139
bool unlock_source_keyring()
Definition: components.cc:207
Definition: components.h:75
my_service< const_keyring_load_t > keyring_load_service_
Definition: components.h:87
std::string implementation_name_
Definition: components.h:86
virtual ~Keyring_services()
Definition: components.cc:123
registry_type_t * registry_
Definition: components.h:85
bool ok() const
Definition: components.h:82
Keyring_services(const std::string &implementation_name, const std::string &instance_path)
Definition: components.cc:96
bool ok_
Definition: components.h:88
Definition: components.h:91
Source_keyring_services(const std::string &implementation_name, const std::string &instance_path)
Definition: components.cc:131
const_keyring_reader_with_status_t * reader()
Definition: components.h:101
const_keyring_keys_metadata_iterator_t * metadata_iterator()
Definition: components.h:98
my_service< const_keyring_reader_with_status_t > keyring_reader_service_
Definition: components.h:108
~Source_keyring_services() override
Definition: components.cc:151
my_service< const_keyring_keys_metadata_iterator_t > keyring_keys_metadata_service_
Definition: components.h:107
Wraps my_h_service struct conforming ABI into RAII C++ object with ability to cast to desired service...
Definition: my_service.h:35
Definition: components.cc:41
void deinit_components_subsystem()
Definition: components.cc:53
void init_components_subsystem()
Definition: components.cc:46
required string type
Definition: replication_group_member_actions.proto:34
#define SERVICE_TYPE(name)
Generates the standard Service type name.
Definition: service.h:76
#define SERVICE_TYPE_NO_CONST(name)
Generates the standard Service type name.
Definition: service.h:71
Service for managing the list of loaded Components.
Definition: dynamic_loader.h:41
Keyring load service provides way to initialize or reiniitalize keyring component.
Definition: keyring_load.h:52
Keyring reader with status service provides APIs to fetch sensitive data from keyring backend.
Definition: keyring_reader_with_status.h:128
Keyring writer service provides APIs to add/remove sensitive data to/from keyring backend.
Definition: keyring_writer.h:70
Service for acquiring and releasing references to all registered Service Implementations.
Definition: registry.h:48