OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <SecurityConfig.h>
Public Member Functions | |
OPENDDS_STRING | name () const |
Authentication_var | get_authentication () const |
AccessControl_var | get_access_control () const |
CryptoKeyExchange_var | get_crypto_key_exchange () const |
CryptoKeyFactory_var | get_crypto_key_factory () const |
CryptoTransform_var | get_crypto_transform () const |
DCPS::RcHandle< Utility > | get_utility () const |
HandleRegistry_rch | get_handle_registry (const DCPS::GUID_t &participant_id) |
void | erase_handle_registry (const DCPS::GUID_t &participant_id) |
void | get_properties (DDS::PropertyQosPolicy &properties) const |
bool | qos_implies_security (const DDS::DomainParticipantQos &qos) const |
SecurityConfig (const OPENDDS_STRING &name, Authentication_var authentication_plugin, AccessControl_var access_ctrl_plugin, CryptoKeyExchange_var key_exchange_plugin, CryptoKeyFactory_var key_factory_plugin, CryptoTransform_var transform_plugin, DCPS::RcHandle< Utility > utility_plugin, const ConfigPropertyList &properties) | |
![]() | |
virtual | ~RcObject () |
virtual void | _add_ref () |
virtual void | _remove_ref () |
long | ref_count () const |
WeakObject * | _get_weak_object () const |
Private Member Functions | |
~SecurityConfig () | |
typedef | OPENDDS_MAP_CMP (DCPS::GUID_t, HandleRegistry_rch, DCPS::GUID_tKeyLessThan) HandleRegistryMap |
Private Attributes | |
const OPENDDS_STRING | name_ |
Authentication_var | authentication_plugin_ |
AccessControl_var | access_control_plugin_ |
CryptoKeyExchange_var | key_exchange_plugin_ |
CryptoKeyFactory_var | key_factory_plugin_ |
CryptoTransform_var | transform_plugin_ |
DCPS::RcHandle< Utility > | utility_plugin_ |
HandleRegistryMap | handle_registry_map_ |
ACE_Thread_Mutex | mutex_ |
ConfigPropertyList | properties_ |
Friends | |
class | SecurityRegistry |
template<typename T , typename U > | |
DCPS::RcHandle< T > | DCPS::make_rch (U const &) |
Additional Inherited Members | |
![]() | |
RcObject () | |
Definition at line 50 of file SecurityConfig.h.
OpenDDS::Security::SecurityConfig::SecurityConfig | ( | const OPENDDS_STRING & | name, |
Authentication_var | authentication_plugin, | ||
AccessControl_var | access_ctrl_plugin, | ||
CryptoKeyExchange_var | key_exchange_plugin, | ||
CryptoKeyFactory_var | key_factory_plugin, | ||
CryptoTransform_var | transform_plugin, | ||
DCPS::RcHandle< Utility > | utility_plugin, | ||
const ConfigPropertyList & | properties | ||
) |
Definition at line 20 of file SecurityConfig.cpp.
|
private |
Definition at line 42 of file SecurityConfig.cpp.
References ACE_DEBUG, ACE_TEXT(), handle_registry_map_, LM_DEBUG, and OpenDDS::DCPS::security_debug.
|
inline |
Definition at line 113 of file SecurityConfig.h.
References ACE_DEBUG, ACE_GUARD, ACE_TEXT(), LM_DEBUG, name, OPENDDS_STRING, and OpenDDS::DCPS::security_debug.
Referenced by OpenDDS::RTPS::Sedp::~Sedp().
|
inline |
Definition at line 65 of file SecurityConfig.h.
Referenced by OpenDDS::RTPS::Sedp::init_security().
|
inline |
Definition at line 60 of file SecurityConfig.h.
Referenced by OpenDDS::RTPS::Sedp::init_security().
|
inline |
Definition at line 70 of file SecurityConfig.h.
Referenced by OpenDDS::RTPS::Sedp::create_datareader_crypto_tokens(), OpenDDS::RTPS::Sedp::create_datawriter_crypto_tokens(), OpenDDS::RTPS::Sedp::handle_datareader_crypto_tokens(), OpenDDS::RTPS::Sedp::handle_datawriter_crypto_tokens(), OpenDDS::RTPS::Sedp::init_security(), OpenDDS::RTPS::Sedp::local_has_remote_endpoint_token_i(), OpenDDS::RTPS::Sedp::local_has_remote_participant_token_i(), OpenDDS::RTPS::Sedp::remote_has_local_endpoint_token_i(), and OpenDDS::RTPS::Sedp::remote_has_local_participant_token_i().
|
inline |
Definition at line 75 of file SecurityConfig.h.
Referenced by OpenDDS::RTPS::Sedp::disassociate(), OpenDDS::RTPS::Sedp::generate_remote_matched_reader_crypto_handle(), OpenDDS::RTPS::Sedp::generate_remote_matched_writer_crypto_handle(), OpenDDS::RTPS::Sedp::init_security(), and OpenDDS::RTPS::Sedp::remove_remote_crypto_handle().
|
inline |
Definition at line 80 of file SecurityConfig.h.
|
inline |
Definition at line 90 of file SecurityConfig.h.
References ACE_DEBUG, ACE_GUARD_RETURN, ACE_TEXT(), LM_DEBUG, and OpenDDS::DCPS::security_debug.
Referenced by OpenDDS::RTPS::Sedp::init_security().
void OpenDDS::Security::SecurityConfig::get_properties | ( | DDS::PropertyQosPolicy & | properties | ) | const |
Definition at line 53 of file SecurityConfig.cpp.
References DDS::Property_t::name, properties_, DDS::Property_t::value, and DDS::PropertyQosPolicy::value.
|
inline |
Definition at line 85 of file SecurityConfig.h.
|
inline |
|
private |
bool OpenDDS::Security::SecurityConfig::qos_implies_security | ( | const DDS::DomainParticipantQos & | qos | ) | const |
Definition at line 71 of file SecurityConfig.cpp.
References DDS::Security::Properties::AccessGovernance, DDS::Security::Properties::AccessPermissions, DDS::Security::Properties::AccessPermissionsCA, DDS::Security::Properties::AuthIdentityCA, DDS::Security::Properties::AuthIdentityCertificate, DDS::Security::Properties::AuthPrivateKey, name(), OPENDDS_END_VERSIONED_NAMESPACE_DECL, DDS::DomainParticipantQos::property, and DDS::PropertyQosPolicy::value.
|
friend |
|
friend |
Definition at line 143 of file SecurityConfig.h.
|
private |
Definition at line 154 of file SecurityConfig.h.
|
private |
Definition at line 153 of file SecurityConfig.h.
|
private |
Definition at line 160 of file SecurityConfig.h.
Referenced by ~SecurityConfig().
|
private |
Definition at line 155 of file SecurityConfig.h.
|
private |
Definition at line 156 of file SecurityConfig.h.
|
mutableprivate |
Definition at line 161 of file SecurityConfig.h.
|
private |
Definition at line 150 of file SecurityConfig.h.
|
private |
Definition at line 164 of file SecurityConfig.h.
Referenced by get_properties().
|
private |
Definition at line 157 of file SecurityConfig.h.
|
private |
Definition at line 158 of file SecurityConfig.h.