MySQL  8.0.27
Source Code Documentation
mysql_server_keyring_lockable_imp.h
Go to the documentation of this file.
1 /* Copyright (c) 2021, Oracle and/or its affiliates.
2 
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License, version 2.0,
5 as published by the Free Software Foundation.
6 
7 This program is also distributed with certain software (including
8 but not limited to OpenSSL) that is licensed under separate terms,
9 as designated in a particular file or component or in included license
10 documentation. The authors of MySQL hereby grant you an additional
11 permission to link the program and your derivative works with the
12 separately licensed software that they have included with MySQL.
13 
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License, version 2.0, for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, 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 
42 extern SERVICE_TYPE(keyring_aes) * srv_keyring_aes;
43 extern SERVICE_TYPE(keyring_generator) * srv_keyring_generator;
44 extern SERVICE_TYPE(keyring_keys_metadata_iterator) *
46 extern SERVICE_TYPE(keyring_component_status) * srv_keyring_component_status;
47 extern SERVICE_TYPE(keyring_component_metadata_query) *
49 extern SERVICE_TYPE(keyring_reader_with_status) * srv_keyring_reader;
50 extern SERVICE_TYPE(keyring_load) * srv_keyring_load;
51 extern SERVICE_TYPE(keyring_writer) * srv_keyring_writer;
52 
53 namespace 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 
76 
77 #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
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.