MySQL 9.1.0
Source Code Documentation
keyring_file.cc File Reference

Namespaces

namespace  keyring_file
 

Functions

 REQUIRES_SERVICE_PLACEHOLDER (log_builtins)
 Dependencies. More...
 
 REQUIRES_SERVICE_PLACEHOLDER (log_builtins_string)
 
 REQUIRES_SERVICE_PLACEHOLDER (registry_registration)
 
 REQUIRES_SERVICE_PLACEHOLDER_AS (registry, mysql_service_registry_no_lock)
 
 REQUIRES_SERVICE_PLACEHOLDER_AS (registry_registration, mysql_service_registration_no_lock)
 
bool keyring_file::set_paths (const char *component_path, const char *instance_path)
 Set path to component. More...
 
bool keyring_file::init_or_reinit_keyring (std::string &err)
 Initialize or re-initialize keyring. More...
 
static mysql_service_status_t keyring_file::keyring_file_init ()
 Initialization function for component - Used when loading the component. More...
 
static mysql_service_status_t keyring_file::keyring_file_deinit ()
 De-initialization function for component - Used when unloading the component. More...
 
 KEYRING_AES_IMPLEMENTOR (component_keyring_file)
 ======================================================================= More...
 
 KEYRING_GENERATOR_IMPLEMENTOR (component_keyring_file)
 
 KEYRING_LOAD_IMPLEMENTOR (component_keyring_file)
 
 KEYRING_KEYS_METADATA_FORWARD_ITERATOR_IMPLEMENTOR (component_keyring_file)
 
 KEYRING_COMPONENT_STATUS_IMPLEMENTOR (component_keyring_file)
 
 KEYRING_COMPONENT_METADATA_QUERY_IMPLEMENTOR (component_keyring_file)
 
 KEYRING_READER_IMPLEMENTOR (component_keyring_file)
 
 KEYRING_WRITER_IMPLEMENTOR (component_keyring_file)
 
 KEYRING_LOG_BUILTINS_IMPLEMENTOR (component_keyring_file)
 
 KEYRING_LOG_BUILTINS_STRING_IMPLEMENTOR (component_keyring_file)
 
 PROVIDES_SERVICE (component_keyring_file, keyring_aes)
 Component provides. More...
 
 PROVIDES_SERVICE (component_keyring_file, keyring_generator)
 
 PROVIDES_SERVICE (component_keyring_file, keyring_load)
 
 PROVIDES_SERVICE (component_keyring_file, keyring_keys_metadata_iterator)
 
 PROVIDES_SERVICE (component_keyring_file, keyring_component_status)
 
 PROVIDES_SERVICE (component_keyring_file, keyring_component_metadata_query)
 
 PROVIDES_SERVICE (component_keyring_file, keyring_reader_with_status)
 
 PROVIDES_SERVICE (component_keyring_file, keyring_writer)
 
 PROVIDES_SERVICE (component_keyring_file, log_builtins)
 
 PROVIDES_SERVICE (component_keyring_file, log_builtins_string)
 
 END_COMPONENT_PROVIDES ()
 
 REQUIRES_SERVICE (log_builtins)
 List of dependencies. More...
 
 REQUIRES_SERVICE (log_builtins_string)
 
 REQUIRES_SERVICE (registry_registration)
 
 REQUIRES_SERVICE_IMPLEMENTATION_AS (registry_registration, mysql_minimal_chassis_no_lock, mysql_service_registration_no_lock)
 
 REQUIRES_SERVICE_IMPLEMENTATION_AS (registry, mysql_minimal_chassis_no_lock, mysql_service_registry_no_lock)
 
 END_COMPONENT_REQUIRES ()
 
 METADATA ("mysql.author", "Oracle Corporation")
 Component description. More...
 
 METADATA ("mysql.license", "GPL")
 
 METADATA ("component_keyring_file_service", "1")
 
 END_COMPONENT_METADATA ()
 

Variables

const mysql_service_log_builtins_tlog_bi
 
const mysql_service_log_builtins_string_tlog_bs
 
Keyring_operations< Keyring_file_backend > * keyring_file::g_keyring_operations = nullptr
 Keyring operations object. More...
 
Config_podkeyring_file::g_config_pod = nullptr
 Keyring data source. More...
 
bool keyring_file::g_keyring_file_inited = false
 Keyring state. More...
 
mysql_component_t mysql_component_component_keyring_file
 Component declaration. More...
 

Function Documentation

◆ END_COMPONENT_METADATA()

END_COMPONENT_METADATA ( )

◆ END_COMPONENT_PROVIDES()

END_COMPONENT_PROVIDES ( )

◆ END_COMPONENT_REQUIRES()

END_COMPONENT_REQUIRES ( )

◆ KEYRING_AES_IMPLEMENTOR()

KEYRING_AES_IMPLEMENTOR ( component_keyring_file  )

=======================================================================

Component declaration related stuff This component provides implementation of following component services

◆ KEYRING_COMPONENT_METADATA_QUERY_IMPLEMENTOR()

KEYRING_COMPONENT_METADATA_QUERY_IMPLEMENTOR ( component_keyring_file  )

◆ KEYRING_COMPONENT_STATUS_IMPLEMENTOR()

KEYRING_COMPONENT_STATUS_IMPLEMENTOR ( component_keyring_file  )

◆ KEYRING_GENERATOR_IMPLEMENTOR()

KEYRING_GENERATOR_IMPLEMENTOR ( component_keyring_file  )

◆ KEYRING_KEYS_METADATA_FORWARD_ITERATOR_IMPLEMENTOR()

KEYRING_KEYS_METADATA_FORWARD_ITERATOR_IMPLEMENTOR ( component_keyring_file  )

◆ KEYRING_LOAD_IMPLEMENTOR()

KEYRING_LOAD_IMPLEMENTOR ( component_keyring_file  )

◆ KEYRING_LOG_BUILTINS_IMPLEMENTOR()

KEYRING_LOG_BUILTINS_IMPLEMENTOR ( component_keyring_file  )

◆ KEYRING_LOG_BUILTINS_STRING_IMPLEMENTOR()

KEYRING_LOG_BUILTINS_STRING_IMPLEMENTOR ( component_keyring_file  )

◆ KEYRING_READER_IMPLEMENTOR()

KEYRING_READER_IMPLEMENTOR ( component_keyring_file  )

◆ KEYRING_WRITER_IMPLEMENTOR()

KEYRING_WRITER_IMPLEMENTOR ( component_keyring_file  )

◆ METADATA() [1/3]

METADATA ( "component_keyring_file_service"  ,
"1"   
)

◆ METADATA() [2/3]

METADATA ( "mysql.author"  ,
"Oracle Corporation"   
)

Component description.

◆ METADATA() [3/3]

METADATA ( "mysql.license"  ,
"GPL"   
)

◆ PROVIDES_SERVICE() [1/10]

PROVIDES_SERVICE ( component_keyring_file  ,
keyring_aes   
)

Component provides.

◆ PROVIDES_SERVICE() [2/10]

PROVIDES_SERVICE ( component_keyring_file  ,
keyring_component_metadata_query   
)

◆ PROVIDES_SERVICE() [3/10]

PROVIDES_SERVICE ( component_keyring_file  ,
keyring_component_status   
)

◆ PROVIDES_SERVICE() [4/10]

PROVIDES_SERVICE ( component_keyring_file  ,
keyring_generator   
)

◆ PROVIDES_SERVICE() [5/10]

PROVIDES_SERVICE ( component_keyring_file  ,
keyring_keys_metadata_iterator   
)

◆ PROVIDES_SERVICE() [6/10]

PROVIDES_SERVICE ( component_keyring_file  ,
keyring_load   
)

◆ PROVIDES_SERVICE() [7/10]

PROVIDES_SERVICE ( component_keyring_file  ,
keyring_reader_with_status   
)

◆ PROVIDES_SERVICE() [8/10]

PROVIDES_SERVICE ( component_keyring_file  ,
keyring_writer   
)

◆ PROVIDES_SERVICE() [9/10]

PROVIDES_SERVICE ( component_keyring_file  ,
log_builtins   
)

◆ PROVIDES_SERVICE() [10/10]

PROVIDES_SERVICE ( component_keyring_file  ,
log_builtins_string   
)

◆ REQUIRES_SERVICE() [1/3]

REQUIRES_SERVICE ( log_builtins  )

List of dependencies.

◆ REQUIRES_SERVICE() [2/3]

REQUIRES_SERVICE ( log_builtins_string  )

◆ REQUIRES_SERVICE() [3/3]

REQUIRES_SERVICE ( registry_registration  )

◆ REQUIRES_SERVICE_IMPLEMENTATION_AS() [1/2]

REQUIRES_SERVICE_IMPLEMENTATION_AS ( registry  ,
mysql_minimal_chassis_no_lock  ,
mysql_service_registry_no_lock   
)

◆ REQUIRES_SERVICE_IMPLEMENTATION_AS() [2/2]

REQUIRES_SERVICE_IMPLEMENTATION_AS ( registry_registration  ,
mysql_minimal_chassis_no_lock  ,
mysql_service_registration_no_lock   
)

◆ REQUIRES_SERVICE_PLACEHOLDER() [1/3]

REQUIRES_SERVICE_PLACEHOLDER ( log_builtins  )

Dependencies.

◆ REQUIRES_SERVICE_PLACEHOLDER() [2/3]

REQUIRES_SERVICE_PLACEHOLDER ( log_builtins_string  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [3/3]

REQUIRES_SERVICE_PLACEHOLDER ( registry_registration  )

◆ REQUIRES_SERVICE_PLACEHOLDER_AS() [1/2]

REQUIRES_SERVICE_PLACEHOLDER_AS ( registry  ,
mysql_service_registry_no_lock   
)

◆ REQUIRES_SERVICE_PLACEHOLDER_AS() [2/2]

REQUIRES_SERVICE_PLACEHOLDER_AS ( registry_registration  ,
mysql_service_registration_no_lock   
)

Variable Documentation

◆ log_bi

◆ log_bs

◆ mysql_component_component_keyring_file

mysql_component_t mysql_component_component_keyring_file
Initial value:
= { "component_keyring_file" , __component_keyring_file_provides, __component_keyring_file_requires, __component_keyring_file_metadata,
static mysql_service_status_t keyring_file_deinit()
De-initialization function for component - Used when unloading the component.
Definition: keyring_file.cc:246
static mysql_service_status_t keyring_file_init()
Initialization function for component - Used when loading the component.
Definition: keyring_file.cc:233

Component declaration.