MySQL 8.0.30
Source Code Documentation
mysql_server_keyring_lockable_imp.h
Go to the documentation of this file.
1/* Copyright (c) 2021, 2022, Oracle and/or its affiliates.
2
3This program is free software; you can redistribute it and/or modify
4it under the terms of the GNU General Public License, version 2.0,
5as published by the Free Software Foundation.
6
7This program is also distributed with certain software (including
8but not limited to OpenSSL) that is licensed under separate terms,
9as designated in a particular file or component or in included license
10documentation. The authors of MySQL hereby grant you an additional
11permission to link the program and your derivative works with the
12separately licensed software that they have included with MySQL.
13
14This program is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17GNU General Public License, version 2.0, for more details.
18
19You should have received a copy of the GNU General Public License
20along with this program; if not, write to the Free Software
21Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
22
23#ifndef MYSQL_SERVER_KEYRING_LOCKABLE_IMP_INCLUDED
24#define MYSQL_SERVER_KEYRING_LOCKABLE_IMP_INCLUDED
25
26#include <atomic>
27#include <string>
28
30
33
41
42extern SERVICE_TYPE(keyring_aes) * srv_keyring_aes;
43extern SERVICE_TYPE(keyring_generator) * srv_keyring_generator;
44extern SERVICE_TYPE(keyring_keys_metadata_iterator) *
46extern SERVICE_TYPE(keyring_component_status) * srv_keyring_component_status;
47extern SERVICE_TYPE(keyring_component_metadata_query) *
49extern SERVICE_TYPE(keyring_reader_with_status) * srv_keyring_reader;
50extern SERVICE_TYPE(keyring_load) * srv_keyring_load;
51extern SERVICE_TYPE(keyring_writer) * srv_keyring_writer;
52
53namespace keyring_lockable {
54
55/* Keyring_encryption_service_impl */
57/* Keyring_generator_service_impl */
59/* Keyring_keys_metadata_iterator_service_impl */
61/* Keyring_metadata_query_service_impl */
63/* Keyring_reader_service_impl */
65/* Keyring_load_service_impl */
67/* Keyring_writer_service_impl */
69
70} // namespace keyring_lockable
71
77
78#endif /* MYSQL_SERVER_KEYRING_LOCKABLE_IMP_INCLUDED */
Specifies macros to define Components.
const mysql_service_keyring_load_t * srv_keyring_load
Server handle for keyring load service.
Definition: mysql_server_keyring_lockable_imp.cc:102
void keyring_lockable_init()
Initialize lockable keyring component.
Definition: mysql_server_keyring_lockable_imp.cc:589
const mysql_service_keyring_aes_t * srv_keyring_aes
Server handle for keyring AES encryption service.
Definition: mysql_server_keyring_lockable_imp.cc:82
void release_keyring_handles()
Definition: mysql_server_keyring_lockable_imp.cc:871
void keyring_lockable_deinit()
Deinitialize lockable keyring component.
Definition: mysql_server_keyring_lockable_imp.cc:595
void set_srv_keyring_implementation_as_default()
Set server's implementation of keyring as default.
Definition: mysql_server_keyring_lockable_imp.cc:660
const mysql_service_keyring_keys_metadata_iterator_t * srv_keyring_keys_metadata_iterator
Server handle for keyring keys metadata service.
Definition: mysql_server_keyring_lockable_imp.cc:89
const mysql_service_keyring_component_metadata_query_t * srv_keyring_component_metadata_query
Server handle for keyring component metadata service.
Definition: mysql_server_keyring_lockable_imp.cc:96
const mysql_service_keyring_reader_with_status_t * srv_keyring_reader
Server handle for keyring reader service.
Definition: mysql_server_keyring_lockable_imp.cc:99
const mysql_service_keyring_writer_t * srv_keyring_writer
Server handle for keyring writer service.
Definition: mysql_server_keyring_lockable_imp.cc:105
const mysql_service_keyring_generator_t * srv_keyring_generator
Server handle for keyring generator service.
Definition: mysql_server_keyring_lockable_imp.cc:85
const mysql_service_keyring_component_status_t * srv_keyring_component_status
Server handle for keyring status service.
Definition: mysql_server_keyring_lockable_imp.cc:92
bool keyring_status_no_error()
Definition: mysql_server_keyring_lockable_imp.cc:946
Definition: mysql_server_keyring_lockable_imp.cc:127
#define SERVICE_TYPE(name)
Generates the standard Service type name.
Definition: service.h:75
Specifies macros to define Service Implementations.