rcl
master
C API providing common ROS client library functionality.
|
Go to the documentation of this file.
17 #ifndef RCL__SECURITY_H_
18 #define RCL__SECURITY_H_
29 #include "rcl/visibility_control.h"
32 #ifndef ROS_SECURITY_ENCLAVE_OVERRIDE
33 # define ROS_SECURITY_ENCLAVE_OVERRIDE "ROS_SECURITY_ENCLAVE_OVERRIDE"
37 #ifndef ROS_SECURITY_KEYSTORE_VAR_NAME
38 # define ROS_SECURITY_KEYSTORE_VAR_NAME "ROS_SECURITY_KEYSTORE"
42 #ifndef ROS_SECURITY_STRATEGY_VAR_NAME
43 # define ROS_SECURITY_STRATEGY_VAR_NAME "ROS_SECURITY_STRATEGY"
47 #ifndef ROS_SECURITY_ENABLE_VAR_NAME
48 # define ROS_SECURITY_ENABLE_VAR_NAME "ROS_SECURITY_ENABLE"
133 #endif // RCL__SECURITY_H_
rmw_ret_t rcl_ret_t
The type that holds an rcl return code.
Definition: types.h:23
rcl_ret_t rcl_get_enforcement_policy(rmw_security_enforcement_policy_t *policy)
Get security enforcement policy from the environment.
char * rcl_get_secure_root(const char *name, const rcl_allocator_t *allocator)
Return the secure root given a enclave name.
rcl_ret_t rcl_security_enabled(bool *use_security)
Check if security has to be used, according to the environment.
enum RMW_PUBLIC_TYPE rmw_security_enforcement_policy_t rmw_security_enforcement_policy_t
rcl_ret_t rcl_get_security_options_from_environment(const char *name, const rcutils_allocator_t *allocator, rmw_security_options_t *security_options)
Initialize security options from values in the environment variables and given names.