26#ifndef ROUTER_KEYRING_MASTER_KEY_FILE_INCLUDED
27#define ROUTER_KEYRING_MASTER_KEY_FILE_INCLUDED
34#include "harness_export.h"
72 void add(
const std::string &
id,
const std::string &value,
73 const std::string &
key);
80 void add_encrypted(
const std::string &
id,
const std::string &
buf);
88 std::string
get(
const std::string &
id,
const std::string &
key)
const;
96 std::string get_encrypted(
const std::string &
id)
const;
105 bool remove(
const std::string &
id);
110 const auto &
entries()
const {
return entries_; }
114 std::vector<std::pair<std::string, std::string>>
entries_;
Definition: master_key_file.h:47
std::string path_
Definition: master_key_file.h:113
std::vector< std::pair< std::string, std::string > > entries_
Definition: master_key_file.h:114
MasterKeyFile(const std::string &file)
Definition: master_key_file.h:49
const auto & entries() const
get entries.
Definition: master_key_file.h:110
Definition: master_key_file.h:41
invalid_master_keyfile(const std::string &w)
Definition: master_key_file.h:43
Header for compiler-dependent features.
#define MY_COMPILER_MSVC_DIAGNOSTIC_IGNORE(X)
Definition: my_compiler.h:255
#define MY_COMPILER_DIAGNOSTIC_PUSH()
save the compiler's diagnostic (enabled warnings, errors, ...) state
Definition: my_compiler.h:285
#define MY_COMPILER_DIAGNOSTIC_POP()
restore the compiler's diagnostic (enabled warnings, errors, ...) state
Definition: my_compiler.h:286
Definition: buf0block_hint.cc:30
bool load(THD *, const dd::String_type &fname, dd::String_type *buf)
Read an sdi file from disk and store in a buffer.
Definition: sdi_file.cc:308
void get(PSI_field *, PSI_longlong *) noexcept
Definition: pfs_plugin_column_bigint_v1_all_empty.cc:32
static mysql_service_status_t remove(reference_caching_channel channel, const char *implementation_name) noexcept
Definition: component.cc:137
Definition: gcs_xcom_synode.h:64
required string key
Definition: replication_asynchronous_connection_failover.proto:60