26#ifndef MYSQL_HARNESS_KEYRING_MEMORY_INCLUDED
27#define MYSQL_HARNESS_KEYRING_MEMORY_INCLUDED
50 constexpr static unsigned int kFormatVersion = 0;
63 std::vector<char>
serialize(
const std::string &
key)
const;
78 void store(
const std::string &uid,
const std::string &attribute,
79 const std::string &value)
override;
81 std::string fetch(
const std::string &uid,
82 const std::string &attribute)
const override;
84 bool remove(
const std::string &uid)
override;
86 bool remove_attribute(
const std::string &uid,
87 const std::string &attribute)
override;
89 const std::map<std::string, std::map<std::string, std::string>> &
entries()
95 std::map<std::string, std::map<std::string, std::string>>
entries_;
KeyringMemory class.
Definition: keyring_memory.h:48
std::map< std::string, std::map< std::string, std::string > > entries_
Definition: keyring_memory.h:95
const std::map< std::string, std::map< std::string, std::string > > & entries() const
Definition: keyring_memory.h:89
Keyring interface.
Definition: keyring.h:41
Definition: keyring_memory.h:36
decryption_error(const char *_what)
Definition: keyring_memory.h:38
native_mutex_t serialize
Definition: debug_lock_order.cc:2884
bool store(THD *thd, const Table *tp)
Stores the SDI for a table.
Definition: sdi.cc:607
mutable_buffer buffer(void *p, size_t n) noexcept
Definition: buffer.h:418
size_t buffer_size(const ConstBufferSequence &buffers) noexcept
Definition: buffer.h:313
static mysql_service_status_t remove(reference_caching_channel channel, const char *implementation_name) noexcept
Definition: component.cc:137
bool parse(MYSQL_THD thd, const string &query, bool is_prepared, Condition_handler *handler)
Definition: services.cc:81
Definition: gcs_xcom_synode.h:64
required string key
Definition: replication_asynchronous_connection_failover.proto:60