OpenDDS
Snapshot(2023/04/05-13:10)
|
Modules | |
CommonUtilities | |
SSL | |
XmlUtils | |
Classes | |
class | AccessControlBuiltInImpl |
Implements the DDS built-in version of the Access Control plugin for the DDS Security Specification. More... | |
class | AuthenticationBuiltInImpl |
Implements the DDS built-in version of the Authentication plugin for the DDS Security Specification. More... | |
class | BuiltInPluginLoader |
class | BuiltinPluginsInitializer |
class | BuiltInSecurityPluginInst |
Factory object to create interfaces for the BuiltIn plugin. More... | |
class | CredentialHash |
class | CryptoBuiltInImpl |
struct | CryptoContent |
struct | CryptoFooter |
struct | CryptoHeader |
struct | CryptoTransformIdentifier |
class | Governance |
class | HandleRegistry |
struct | has_property |
struct | KeyMaterial_AES_GCM_GMAC |
class | LocalAccessCredentialData |
class | LocalAuthCredentialData |
struct | Permissions |
struct | ReceiverSpecificMAC |
class | SecurityConfig |
class | SecurityPluginInst |
Base class for concrete security plugins to provide new objects. More... | |
class | SecurityRegistry |
struct | SharedSecret |
struct | SPDPdiscoveredParticipantData |
class | TokenReader |
Implements some simple wrapper functions to provide a const API around the Token data structure as specified in the DDS security specification. More... | |
class | TokenWriter |
Implements some simple wrapper functions to provide a non-const API around the Token data structure as specified in the DDS security specification. More... | |
class | Utility |
class | UtilityImpl |
Typedefs | |
typedef DCPS::DisjointSequence::OrderedRanges< DDS::Security::DomainId_t > | DomainIdSet |
typedef Governance::GovernanceAccessRules::iterator | gov_iter |
typedef Permissions::Grants::iterator | grant_iter |
typedef Permissions::Rules::iterator | perm_topic_rules_iter |
typedef Permissions::Actions::iterator | perm_topic_actions_iter |
typedef octet | CryptoTransformKind[4] |
typedef octet | CryptoTransformKeyId[4] |
typedef sequence< octet, 32 > | KeyOctetSeq |
typedef sequence< KeyMaterial_AES_GCM_GMAC > | KeyMaterial_AES_GCM_GMAC_Seq |
typedef octet | SessionIdType[4] |
typedef octet | IV_SuffixType[8] |
typedef octet | ReceiverMAC_Type[16] |
typedef sequence< ReceiverSpecificMAC > | ReceiverSpecificMACSeq |
typedef octet | CommonMAC_Type[16] |
typedef DCPS::RcHandle< HandleRegistry > | HandleRegistry_rch |
typedef DCPS::RcHandle< SecurityConfig > | SecurityConfig_rch |
typedef std::pair< OPENDDS_STRING, OPENDDS_STRING > | ConfigProperty |
typedef DCPS::RcHandle< SecurityPluginInst > | SecurityPluginInst_rch |
Enumerations | |
enum | DiscoveredParticipantDataKind { DPDK_NONE, DPDK_ORIGINAL, DPDK_ENHANCED, DPDK_SECURE } |
Functions | |
static const std::string | PermissionsTokenClassId ("DDS:Access:Permissions:1.0") |
static const std::string | AccessControl_Plugin_Name ("DDS:Access:Permissions") |
static const std::string | AccessControl_Major_Version ("1") |
static const std::string | AccessControl_Minor_Version ("0") |
static const std::string | PermissionsCredentialTokenClassId ("DDS:Access:PermissionsCredential") |
static bool | challenges_match (const DDS::OctetSeq &c1, const DDS::OctetSeq &c2) |
static void | extract_participant_guid_from_cpdata (const DDS::OctetSeq &cpdata, DCPS::GUID_t &dst) |
static bool | validate_topic_data_guid (const DDS::OctetSeq &cpdata, const std::vector< unsigned char > &subject_name_hash, DDS::Security::SecurityException &ex) |
const std::string | Auth_Plugin_Name ("DDS:Auth:PKI-DH") |
const std::string | Auth_Plugin_Major_Version ("1") |
const std::string | Auth_Plugin_Minor_Version ("0") |
const std::string | Auth_Request_Class_Ext ("AuthReq") |
const std::string | Handshake_Request_Class_Ext ("Req") |
const std::string | Handshake_Reply_Class_Ext ("Reply") |
const std::string | Handshake_Final_Class_Ext ("Final") |
static void | make_reply_signature_sequence (const DDS::OctetSeq &hash_c2, const DDS::OctetSeq &challenge2, const DDS::OctetSeq &dh2, const DDS::OctetSeq &challenge1, const DDS::OctetSeq &dh1, const DDS::OctetSeq &hash_c1, DDS::BinaryPropertySeq &dst) |
static void | make_final_signature_sequence (const DDS::OctetSeq &hash_c1, const DDS::OctetSeq &challenge1, const DDS::OctetSeq &dh1, const DDS::OctetSeq &challenge2, const DDS::OctetSeq &dh2, const DDS::OctetSeq &hash_c2, DDS::BinaryPropertySeq &dst) |
ACE_FACTORY_DEFINE (OpenDDS_Security, BuiltInPluginLoader) | |
typedef | OPENDDS_VECTOR (ConfigProperty) ConfigPropertyList |
Variables | |
const DDS::Security::DomainId_t | domain_id_min = 0 |
const DDS::Security::DomainId_t | domain_id_max = ACE_INT32_MAX |
const char | Identity_Status_Token_Class_Id [] = "DDS:Auth:PKI-DH:1.0" |
const char | Auth_Peer_Cred_Token_Class_Id [] = "DDS:Auth:PKI-DH:1.0" |
const char | dds_cert_sn [] = "dds.cert.sn" |
const char | dds_cert_algo [] = "dds.cert.algo" |
const char | dds_ca_sn [] = "dds.ca.sn" |
const char | dds_ca_algo [] = "dds.ca.algo" |
static BuiltinPluginsInitializer | builtin_plugins_init |
const unsigned long | TransformKindIndex = 3 |
const octet | CRYPTO_TRANSFORMATION_KIND_NONE = 0 |
const octet | CRYPTO_TRANSFORMATION_KIND_AES128_GMAC = 1 |
const octet | CRYPTO_TRANSFORMATION_KIND_AES128_GCM = 2 |
const octet | CRYPTO_TRANSFORMATION_KIND_AES256_GMAC = 3 |
const octet | CRYPTO_TRANSFORMATION_KIND_AES256_GCM = 4 |
const unsigned long | FLAG_IS_SUBMESSAGE_ENCRYPTED = 1 |
const unsigned long | FLAG_IS_PAYLOAD_ENCRYPTED = 2 |
typedef octet OpenDDS::Security::CommonMAC_Type[16] |
Definition at line 92 of file CryptoBuiltIn.idl.
typedef std::pair<OPENDDS_STRING, OPENDDS_STRING> OpenDDS::Security::ConfigProperty |
Definition at line 20 of file SecurityConfigPropertyList.h.
typedef octet OpenDDS::Security::CryptoTransformKeyId[4] |
Definition at line 51 of file CryptoBuiltIn.idl.
typedef octet OpenDDS::Security::CryptoTransformKind[4] |
Definition at line 50 of file CryptoBuiltIn.idl.
typedef DCPS::DisjointSequence::OrderedRanges<DDS::Security::DomainId_t> OpenDDS::Security::DomainIdSet |
Definition at line 20 of file DomainIdSet.h.
typedef Governance::GovernanceAccessRules::iterator OpenDDS::Security::gov_iter |
Definition at line 38 of file AccessControlBuiltInImpl.cpp.
typedef Permissions::Grants::iterator OpenDDS::Security::grant_iter |
Definition at line 39 of file AccessControlBuiltInImpl.cpp.
Definition at line 107 of file HandleRegistry.h.
typedef octet OpenDDS::Security::IV_SuffixType[8] |
Definition at line 73 of file CryptoBuiltIn.idl.
typedef sequence<KeyMaterial_AES_GCM_GMAC> OpenDDS::Security::KeyMaterial_AES_GCM_GMAC_Seq |
Definition at line 70 of file CryptoBuiltIn.idl.
typedef sequence<octet, 32> OpenDDS::Security::KeyOctetSeq |
Definition at line 57 of file CryptoBuiltIn.idl.
typedef Permissions::Actions::iterator OpenDDS::Security::perm_topic_actions_iter |
Definition at line 41 of file AccessControlBuiltInImpl.cpp.
typedef Permissions::Rules::iterator OpenDDS::Security::perm_topic_rules_iter |
Definition at line 40 of file AccessControlBuiltInImpl.cpp.
typedef octet OpenDDS::Security::ReceiverMAC_Type[16] |
Definition at line 85 of file CryptoBuiltIn.idl.
typedef sequence<ReceiverSpecificMAC> OpenDDS::Security::ReceiverSpecificMACSeq |
Definition at line 91 of file CryptoBuiltIn.idl.
Definition at line 23 of file SecurityConfig_rch.h.
Definition at line 19 of file SecurityPluginInst_rch.h.
typedef octet OpenDDS::Security::SessionIdType[4] |
Definition at line 72 of file CryptoBuiltIn.idl.
Enumerator | |
---|---|
DPDK_NONE | |
DPDK_ORIGINAL | |
DPDK_ENHANCED | |
DPDK_SECURE |
Definition at line 18 of file RtpsSecurity.idl.
|
static |
|
static |
|
static |
OpenDDS::Security::ACE_FACTORY_DEFINE | ( | OpenDDS_Security | , |
BuiltInPluginLoader | |||
) |
Referenced by OpenDDS::Security::BuiltInPluginLoader::init().
const std::string OpenDDS::Security::Auth_Plugin_Major_Version | ( | "1" | ) |
const std::string OpenDDS::Security::Auth_Plugin_Minor_Version | ( | "0" | ) |
const std::string OpenDDS::Security::Auth_Plugin_Name | ( | "DDS:Auth:PKI-DH" | ) |
const std::string OpenDDS::Security::Auth_Request_Class_Ext | ( | "AuthReq" | ) |
|
static |
|
static |
Definition at line 422 of file AuthenticationBuiltInImpl.cpp.
References ACE_ERROR, ACE_TEXT(), OpenDDS::DCPS::ENDIAN_BIG, OpenDDS::RTPS::Parameter::guid, OpenDDS::DCPS::GUID_UNKNOWN, OpenDDS::DCPS::Encoding::KIND_XCDR1, LM_WARNING, OpenDDS::RTPS::PID_PARTICIPANT_GUID, and ACE_Message_Block::wr_ptr().
Referenced by validate_topic_data_guid().
const std::string OpenDDS::Security::Handshake_Final_Class_Ext | ( | "Final" | ) |
const std::string OpenDDS::Security::Handshake_Reply_Class_Ext | ( | "Reply" | ) |
const std::string OpenDDS::Security::Handshake_Request_Class_Ext | ( | "Req" | ) |
|
static |
Definition at line 550 of file AuthenticationBuiltInImpl.cpp.
References DDS::BinaryProperty_t::name, DDS::BinaryProperty_t::propagate, and DDS::BinaryProperty_t::value.
Referenced by OpenDDS::Security::AuthenticationBuiltInImpl::process_final_handshake(), and OpenDDS::Security::AuthenticationBuiltInImpl::process_handshake_reply().
|
static |
Definition at line 491 of file AuthenticationBuiltInImpl.cpp.
References DDS::BinaryProperty_t::name, DDS::BinaryProperty_t::propagate, and DDS::BinaryProperty_t::value.
Referenced by OpenDDS::Security::AuthenticationBuiltInImpl::begin_handshake_reply(), and OpenDDS::Security::AuthenticationBuiltInImpl::process_handshake_reply().
typedef OpenDDS::Security::OPENDDS_VECTOR | ( | ConfigProperty | ) |
|
static |
|
static |
|
static |
Definition at line 451 of file AuthenticationBuiltInImpl.cpp.
References extract_participant_guid_from_cpdata(), OpenDDS::DCPS::GUID_t::guidPrefix, OpenDDS::Security::SSL::offset_1bit(), and OpenDDS::Security::CommonUtilities::set_security_error().
Referenced by OpenDDS::Security::AuthenticationBuiltInImpl::begin_handshake_reply(), and OpenDDS::Security::AuthenticationBuiltInImpl::process_handshake_reply().
const char OpenDDS::Security::Auth_Peer_Cred_Token_Class_Id[] = "DDS:Auth:PKI-DH:1.0" |
Definition at line 40 of file AuthenticationBuiltInImpl.h.
Referenced by OpenDDS::Security::AuthenticationBuiltInImpl::get_authenticated_peer_credential_token().
|
static |
Definition at line 23 of file BuiltInPlugins.h.
const octet OpenDDS::Security::CRYPTO_TRANSFORMATION_KIND_AES128_GCM = 2 |
Definition at line 31 of file CryptoBuiltIn.idl.
Referenced by OpenDDS::Security::CommonUtilities::ctk_to_dds_string(), and OpenDDS::Security::CryptoBuiltInImpl::return_crypto_tokens().
const octet OpenDDS::Security::CRYPTO_TRANSFORMATION_KIND_AES128_GMAC = 1 |
Definition at line 23 of file CryptoBuiltIn.idl.
Referenced by OpenDDS::Security::CommonUtilities::ctk_to_dds_string(), and OpenDDS::Security::CryptoBuiltInImpl::return_crypto_tokens().
const octet OpenDDS::Security::CRYPTO_TRANSFORMATION_KIND_AES256_GCM = 4 |
const octet OpenDDS::Security::CRYPTO_TRANSFORMATION_KIND_AES256_GMAC = 3 |
const octet OpenDDS::Security::CRYPTO_TRANSFORMATION_KIND_NONE = 0 |
Definition at line 16 of file CryptoBuiltIn.idl.
Referenced by OpenDDS::Security::CommonUtilities::ctk_to_dds_string().
const char OpenDDS::Security::dds_ca_algo[] = "dds.ca.algo" |
Definition at line 46 of file AuthenticationBuiltInImpl.h.
Referenced by OpenDDS::Security::AuthenticationBuiltInImpl::get_identity_token().
const char OpenDDS::Security::dds_ca_sn[] = "dds.ca.sn" |
Definition at line 45 of file AuthenticationBuiltInImpl.h.
Referenced by OpenDDS::Security::AuthenticationBuiltInImpl::get_identity_token().
const char OpenDDS::Security::dds_cert_algo[] = "dds.cert.algo" |
Definition at line 43 of file AuthenticationBuiltInImpl.h.
Referenced by OpenDDS::Security::AuthenticationBuiltInImpl::get_identity_token().
const char OpenDDS::Security::dds_cert_sn[] = "dds.cert.sn" |
Definition at line 42 of file AuthenticationBuiltInImpl.h.
Referenced by OpenDDS::Security::AuthenticationBuiltInImpl::get_identity_token(), and OpenDDS::Security::AccessControlBuiltInImpl::validate_local_permissions().
const DDS::Security::DomainId_t OpenDDS::Security::domain_id_max = ACE_INT32_MAX |
Definition at line 22 of file DomainIdSet.h.
Referenced by OpenDDS::Security::XmlUtils::parse_domain_id_set(), and OpenDDS::Security::XmlUtils::parse_time().
const DDS::Security::DomainId_t OpenDDS::Security::domain_id_min = 0 |
Definition at line 21 of file DomainIdSet.h.
Referenced by OpenDDS::Security::XmlUtils::parse_domain_id_set().
const unsigned long OpenDDS::Security::FLAG_IS_PAYLOAD_ENCRYPTED = 2 |
Definition at line 101 of file CryptoBuiltIn.idl.
Referenced by OpenDDS::Security::CryptoBuiltInImpl::register_local_datawriter().
const unsigned long OpenDDS::Security::FLAG_IS_SUBMESSAGE_ENCRYPTED = 1 |
Definition at line 100 of file CryptoBuiltIn.idl.
Referenced by OpenDDS::Security::CryptoBuiltInImpl::register_local_datareader(), and OpenDDS::Security::CryptoBuiltInImpl::register_local_datawriter().
const char OpenDDS::Security::Identity_Status_Token_Class_Id[] = "DDS:Auth:PKI-DH:1.0" |
Definition at line 39 of file AuthenticationBuiltInImpl.h.
Referenced by OpenDDS::Security::AuthenticationBuiltInImpl::get_identity_token().
const unsigned long OpenDDS::Security::TransformKindIndex = 3 |