OpenDDS
Snapshot(2023/04/28-20:55)
|
#include <CryptoBuiltInImpl.h>
Classes | |
struct | EncryptOpts |
struct | EntityInfo |
struct | Session |
Private Types | |
typedef KeyMaterial_AES_GCM_GMAC | KeyMaterial |
typedef KeyMaterial_AES_GCM_GMAC_Seq | KeySeq |
typedef std::map< DDS::Security::NativeCryptoHandle, KeySeq > | KeyTable_t |
typedef std::pair< DDS::Security::NativeCryptoHandle, DDS::Security::NativeCryptoHandle > | HandlePair_t |
typedef std::map< HandlePair_t, DDS::Security::NativeCryptoHandle > | DerivedKeyIndex_t |
typedef std::pair< DDS::Security::NativeCryptoHandle, unsigned int > | KeyId_t |
typedef std::map< KeyId_t, Session > | SessionTable_t |
Private Attributes | |
ACE_Thread_Mutex | mutex_ |
int | next_handle_ |
KeyTable_t | keys_ |
std::multimap< DDS::Security::ParticipantCryptoHandle, EntityInfo > | participant_to_entity_ |
DerivedKeyIndex_t | derived_key_handles_ |
SessionTable_t | sessions_ |
typedef std::map< DDS::Security::NativeCryptoHandle, EncryptOpts > | EncryptOptions_t |
EncryptOptions_t | encrypt_options_ |
Definition at line 32 of file CryptoBuiltInImpl.h.
|
private |
Definition at line 281 of file CryptoBuiltInImpl.h.
|
private |
Definition at line 266 of file CryptoBuiltInImpl.h.
|
private |
Definition at line 280 of file CryptoBuiltInImpl.h.
|
private |
Definition at line 296 of file CryptoBuiltInImpl.h.
Definition at line 251 of file CryptoBuiltInImpl.h.
Definition at line 252 of file CryptoBuiltInImpl.h.
|
private |
Definition at line 253 of file CryptoBuiltInImpl.h.
|
private |
Definition at line 297 of file CryptoBuiltInImpl.h.
OpenDDS::Security::CryptoBuiltInImpl::CryptoBuiltInImpl | ( | ) |
Definition at line 51 of file CryptoBuiltInImpl.cpp.
References openssl_init().
|
virtual |
Definition at line 58 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), derived_key_handles_, encrypt_options_, keys_, LM_DEBUG, openssl_cleanup(), participant_to_entity_, OpenDDS::DCPS::security_debug, and sessions_.
|
private |
|
privatevirtual |
Reimplemented from CORBA::Object.
Definition at line 80 of file CryptoBuiltInImpl.cpp.
|
privatevirtual |
Reimplemented from CORBA::Object.
Definition at line 73 of file CryptoBuiltInImpl.cpp.
|
private |
Definition at line 1280 of file CryptoBuiltInImpl.cpp.
References ACE_CDR_BYTE_ORDER, common_encoding, OpenDDS::Security::CryptoFooter::common_mac, OpenDDS::RTPS::MessageParser::current(), encauth_setup(), EVP_CTRL_AEAD_GET_TAG, OpenDDS::RTPS::FLAG_E, OpenDDS::RTPS::MessageParser::hasNextSubmessage(), OpenDDS::Security::CryptoBuiltInImpl::Session::id_, OpenDDS::Security::CryptoBuiltInImpl::Session::iv_suffix_, OpenDDS::Security::CryptoBuiltInImpl::Session::key_, OpenDDS::RTPS::MessageParser::parseSubmessageHeader(), OpenDDS::RTPS::MessageParser::remaining(), OpenDDS::Security::CommonUtilities::set_security_error(), OpenDDS::DCPS::Serializer::skip(), OpenDDS::RTPS::MessageParser::skipToNextSubmessage(), OpenDDS::RTPS::SM_ALIGN, OpenDDS::RTPS::SMHDR_SZ, OpenDDS::DCPS::Serializer::swap_bytes(), and ACE_Message_Block::wr_ptr().
Referenced by encode_rtps_message(), encode_serialized_payload(), and encode_submessage().
|
private |
Definition at line 668 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), keys_, LM_DEBUG, OpenDDS::DCPS::security_debug, and sessions_.
Referenced by clear_endpoint_data(), and unregister_participant().
|
private |
Definition at line 687 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), clear_common_data(), encrypt_options_, LM_DEBUG, participant_to_entity_, and OpenDDS::DCPS::security_debug.
Referenced by unregister_datareader(), and unregister_datawriter().
|
privatevirtual |
Definition at line 969 of file CryptoBuiltInImpl.cpp.
References DDS::HANDLE_NIL, keys_, mutex_, and OpenDDS::Security::CommonUtilities::set_security_error().
|
privatevirtual |
Definition at line 884 of file CryptoBuiltInImpl.cpp.
References DDS::HANDLE_NIL, keys_, mutex_, and OpenDDS::Security::CommonUtilities::set_security_error().
|
privatevirtual |
Definition at line 798 of file CryptoBuiltInImpl.cpp.
References DDS::HANDLE_NIL, keys_, mutex_, and OpenDDS::Security::CommonUtilities::set_security_error().
|
privatevirtual |
Definition at line 2215 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), decode_submessage(), OpenDDS::DCPS::SecurityDebug::encdec_debug, DDS::HANDLE_NIL, LM_DEBUG, OpenDDS::DCPS::security_debug, and OpenDDS::Security::CommonUtilities::set_security_error().
|
privatevirtual |
Definition at line 2190 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), decode_submessage(), OpenDDS::DCPS::SecurityDebug::encdec_debug, DDS::HANDLE_NIL, LM_DEBUG, OpenDDS::DCPS::security_debug, and OpenDDS::Security::CommonUtilities::set_security_error().
|
privatevirtual |
Definition at line 1950 of file CryptoBuiltInImpl.cpp.
References OpenDDS::RTPS::MessageParser::current(), decrypt(), OpenDDS::DCPS::ENDIAN_BIG, OpenDDS::DCPS::Serializer::endianness(), DDS::HANDLE_NIL, OpenDDS::RTPS::MessageParser::hasNextSubmessage(), OpenDDS::RTPS::INFO_SRC, OpenDDS::RTPS::INFO_SRC_SZ, keys_, mutex_, DDS::Security::OPENDDS_EXCEPTION_CODE_NO_KEY, DDS::Security::OPENDDS_EXCEPTION_MINOR_CODE_NO_KEY, OpenDDS::RTPS::MessageParser::parseHeader(), OpenDDS::RTPS::MessageParser::parseSubmessageHeader(), OpenDDS::RTPS::PROTOCOL_RTPS, OpenDDS::RTPS::MessageParser::remaining(), OpenDDS::RTPS::SEC_BODY, OpenDDS::RTPS::MessageParser::serializer(), sessions_, OpenDDS::Security::CommonUtilities::set_security_error(), OpenDDS::RTPS::MessageParser::skipToNextSubmessage(), OpenDDS::RTPS::SMHDR_SZ, OpenDDS::RTPS::SRTPS_POSTFIX, OpenDDS::RTPS::SRTPS_PREFIX, OpenDDS::RTPS::MessageParser::submessageHeader(), OpenDDS::RTPS::SubmessageHeader::submessageId, OpenDDS::RTPS::SubmessageHeader::submessageLength, OpenDDS::DCPS::uint32_cdr_size, and verify().
|
privatevirtual |
Definition at line 2240 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), common_encoding, decrypt(), OpenDDS::DCPS::SecurityDebug::encdec_debug, encrypt_options_, DDS::HANDLE_NIL, keys_, LM_DEBUG, mutex_, OPENDDS_END_VERSIONED_NAMESPACE_DECL, OpenDDS::DCPS::security_debug, sessions_, OpenDDS::Security::CommonUtilities::set_security_error(), OpenDDS::DCPS::Serializer::skip(), and ACE_Message_Block::wr_ptr().
|
private |
Definition at line 2095 of file CryptoBuiltInImpl.cpp.
References ACE_CDR_BYTE_ORDER, ACE_ERROR, common_encoding, decrypt(), OpenDDS::DCPS::ENDIAN_BIG, OpenDDS::DCPS::Serializer::endianness(), OpenDDS::RTPS::FLAG_E, OpenDDS::DCPS::Serializer::good_bit(), keys_, LM_ERROR, mutex_, ACE_Message_Block::rd_ptr(), sessions_, OpenDDS::Security::CommonUtilities::set_security_error(), OpenDDS::DCPS::Serializer::skip(), OpenDDS::RTPS::SMHDR_SZ, OpenDDS::DCPS::Serializer::swap_bytes(), verify(), and ACE_Message_Block::wr_ptr().
Referenced by decode_datareader_submessage(), and decode_datawriter_submessage().
|
private |
Definition at line 1826 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_ERROR, ACE_TEXT(), OpenDDS::Security::CryptoFooter::common_mac, OpenDDS::Security::CRYPTO_TRANSFORMATION_KIND_AES256_GCM, OpenDDS::DCPS::SecurityDebug::fake_encryption, OpenDDS::Security::CryptoBuiltInImpl::Session::get_key(), LM_DEBUG, LM_ERROR, OpenDDS::DCPS::security_debug, OpenDDS::Security::CryptoHeader::session_id, OpenDDS::Security::CommonUtilities::set_security_error(), OpenDDS::DCPS::SecurityDebug::showkeys, OpenDDS::DCPS::to_dds_string(), OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::transformation_kind, and OpenDDS::Security::TransformKindIndex.
Referenced by decode_rtps_message(), decode_serialized_payload(), and decode_submessage().
|
private |
Definition at line 1203 of file CryptoBuiltInImpl.cpp.
References OpenDDS::Security::CryptoBuiltInImpl::Session::counter_, OpenDDS::Security::CryptoBuiltInImpl::Session::create_key(), OpenDDS::Security::CryptoBuiltInImpl::Session::id_, OpenDDS::Security::CryptoBuiltInImpl::Session::inc_iv(), OpenDDS::Security::CryptoHeader::initialization_vector_suffix, OpenDDS::Security::CryptoBuiltInImpl::Session::iv_suffix_, OpenDDS::Security::CryptoBuiltInImpl::Session::key_, OpenDDS::Security::CryptoBuiltInImpl::Session::next_id(), OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::sender_key_id, OpenDDS::Security::CryptoHeader::session_id, OpenDDS::Security::CryptoHeader::transform_identifier, OpenDDS::Security::CryptoTransformIdentifier::transformation_key_id, OpenDDS::Security::CryptoTransformIdentifier::transformation_kind, and OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::transformation_kind.
Referenced by authtag(), and encrypt().
|
privatevirtual |
Definition at line 1534 of file CryptoBuiltInImpl.cpp.
References encode_submessage(), DDS::HANDLE_NIL, keys_, mutex_, and OpenDDS::Security::CommonUtilities::set_security_error().
|
privatevirtual |
Definition at line 1474 of file CryptoBuiltInImpl.cpp.
References encode_submessage(), encrypt_options_, DDS::HANDLE_NIL, keys_, mutex_, and OpenDDS::Security::CommonUtilities::set_security_error().
|
privatevirtual |
Definition at line 1567 of file CryptoBuiltInImpl.cpp.
References OpenDDS::DCPS::align(), OpenDDS::DCPS::Serializer::align_w(), authtag(), common_encoding, encrypt(), OpenDDS::DCPS::Serializer::good_bit(), DDS::HANDLE_NIL, OpenDDS::RTPS::INFO_SRC, OpenDDS::RTPS::INFO_SRC_SZ, keys_, OpenDDS::DCPS::Serializer::length(), mutex_, OpenDDS::RTPS::RTPSHDR_SZ, OpenDDS::RTPS::SEC_BODY, OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::sender_key_id, OpenDDS::DCPS::serialized_size(), sessions_, OpenDDS::Security::CommonUtilities::set_security_error(), OpenDDS::RTPS::SM_ALIGN, OpenDDS::RTPS::SMHDR_SZ, OpenDDS::RTPS::SRTPS_POSTFIX, OpenDDS::RTPS::SRTPS_PREFIX, OpenDDS::Security::CryptoHeader::transform_identifier, OpenDDS::Security::CryptoTransformIdentifier::transformation_key_id, OpenDDS::Security::CryptoTransformIdentifier::transformation_kind, OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::transformation_kind, and OpenDDS::DCPS::Serializer::write_octet_array().
|
privatevirtual |
Definition at line 1102 of file CryptoBuiltInImpl.cpp.
References authtag(), common_encoding, encrypt(), encrypt_options_, OpenDDS::DCPS::Serializer::good_bit(), DDS::HANDLE_NIL, header, keys_, OpenDDS::DCPS::Serializer::length(), mutex_, OpenDDS::DCPS::serialized_size(), sessions_, OpenDDS::Security::CommonUtilities::set_security_error(), and OpenDDS::DCPS::Serializer::write_octet_array().
|
private |
Definition at line 1383 of file CryptoBuiltInImpl.cpp.
References OpenDDS::DCPS::align(), OpenDDS::DCPS::Serializer::align_w(), authtag(), common_encoding, encrypt(), OpenDDS::DCPS::Serializer::good_bit(), header, keys_, OpenDDS::DCPS::Serializer::length(), OpenDDS::RTPS::SEC_BODY, OpenDDS::RTPS::SEC_POSTFIX, OpenDDS::RTPS::SEC_PREFIX, OpenDDS::DCPS::serialized_size(), sessions_, OpenDDS::Security::CommonUtilities::set_security_error(), OpenDDS::RTPS::SM_ALIGN, OpenDDS::RTPS::SMHDR_SZ, and OpenDDS::DCPS::Serializer::write_octet_array().
Referenced by encode_datareader_submessage(), and encode_datawriter_submessage().
|
private |
Definition at line 1229 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), OpenDDS::Security::CryptoFooter::common_mac, encauth_setup(), EVP_CTRL_AEAD_GET_TAG, OpenDDS::DCPS::SecurityDebug::fake_encryption, OpenDDS::Security::CryptoBuiltInImpl::Session::id_, OpenDDS::Security::CryptoBuiltInImpl::Session::iv_suffix_, OpenDDS::Security::CryptoBuiltInImpl::Session::key_, LM_DEBUG, OpenDDS::DCPS::security_debug, OpenDDS::Security::CommonUtilities::set_security_error(), OpenDDS::DCPS::SecurityDebug::showkeys, and OpenDDS::DCPS::to_dds_string().
Referenced by encode_rtps_message(), encode_serialized_payload(), encode_submessage(), and generate_handle_i().
|
private |
Definition at line 90 of file CryptoBuiltInImpl.cpp.
References generate_handle_i(), and mutex_.
Referenced by register_local_datareader(), register_local_datawriter(), register_local_participant(), and register_matched_remote_participant().
|
private |
Definition at line 96 of file CryptoBuiltInImpl.cpp.
References OpenDDS::Security::CRYPTO_TRANSFORMATION_KIND_AES256_GCM, OpenDDS::Security::CRYPTO_TRANSFORMATION_KIND_AES256_GMAC, encrypt(), OpenDDS::Security::CommonUtilities::increment_handle(), OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::master_receiver_specific_key, OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::master_salt, OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::master_sender_key, next_handle_, OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::receiver_specific_key_id, OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::sender_key_id, OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::transformation_kind, and OpenDDS::Security::TransformKindIndex.
Referenced by generate_handle(), register_matched_remote_datareader(), and register_matched_remote_datawriter().
|
privatevirtual |
Definition at line 993 of file CryptoBuiltInImpl.cpp.
References DDS::HANDLE_NIL, keys_, and mutex_.
|
privatevirtual |
Definition at line 908 of file CryptoBuiltInImpl.cpp.
References DDS::HANDLE_NIL, keys_, and mutex_.
|
privatevirtual |
Definition at line 823 of file CryptoBuiltInImpl.cpp.
References DDS::HANDLE_NIL, keys_, and mutex_.
|
privatevirtual |
Definition at line 1035 of file CryptoBuiltInImpl.cpp.
References DDS::HANDLE_NIL, keys_, and mutex_.
|
privatevirtual |
Definition at line 950 of file CryptoBuiltInImpl.cpp.
References DDS::HANDLE_NIL, keys_, and mutex_.
|
privatevirtual |
Definition at line 865 of file CryptoBuiltInImpl.cpp.
References DDS::HANDLE_NIL, keys_, and mutex_.
|
privatevirtual |
Reimplemented from CORBA::Object.
Definition at line 85 of file CryptoBuiltInImpl.cpp.
|
private |
|
privatevirtual |
Definition at line 1688 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_ERROR, ACE_TEXT(), OpenDDS::DCPS::SecurityDebug::chlookup, common_encoding, OpenDDS::Security::CommonUtilities::ctk_to_dds_string(), OpenDDS::Security::CommonUtilities::ctki_to_dds_string(), DDS::Security::DATAREADER_SUBMESSAGE, DDS::Security::DATAWRITER_SUBMESSAGE, DDS::HANDLE_NIL, keys_, LM_DEBUG, LM_ERROR, mutex_, OPENDDS_STRING, participant_to_entity_, OpenDDS::DCPS::security_debug, OpenDDS::Security::CommonUtilities::set_security_error(), OpenDDS::DCPS::Serializer::skip(), OpenDDS::RTPS::SMHDR_SZ, OpenDDS::DCPS::to_dds_string(), OpenDDS::Security::CryptoHeader::transform_identifier, OpenDDS::Security::CryptoTransformIdentifier::transformation_key_id, OpenDDS::Security::CryptoTransformIdentifier::transformation_kind, and ACE_Message_Block::wr_ptr().
|
privatevirtual |
Definition at line 495 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), OpenDDS::DCPS::SecurityDebug::bookkeeping, OpenDDS::Security::CommonUtilities::ctki_to_dds_string(), DDS::Security::DATAREADER_SUBMESSAGE, encrypt_options_, OpenDDS::Security::FLAG_IS_SUBMESSAGE_ENCRYPTED, generate_handle(), DDS::HANDLE_NIL, DDS::Security::EndpointSecurityAttributes::is_submessage_protected, keys_, LM_DEBUG, mutex_, participant_to_entity_, DDS::Security::EndpointSecurityAttributes::plugin_endpoint_attributes, OpenDDS::DCPS::push_back(), OpenDDS::DCPS::security_debug, OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::sender_key_id, OpenDDS::DCPS::SecurityDebug::showkeys, and OpenDDS::DCPS::to_dds_string().
|
privatevirtual |
Definition at line 318 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), OpenDDS::DCPS::SecurityDebug::bookkeeping, OpenDDS::Security::CommonUtilities::ctki_to_dds_string(), DDS::Security::DATAWRITER_SUBMESSAGE, encrypt_options_, OpenDDS::Security::FLAG_IS_PAYLOAD_ENCRYPTED, OpenDDS::Security::FLAG_IS_SUBMESSAGE_ENCRYPTED, generate_handle(), DDS::HANDLE_NIL, DDS::Security::EndpointSecurityAttributes::is_payload_protected, DDS::Security::EndpointSecurityAttributes::is_submessage_protected, keys_, LM_DEBUG, mutex_, participant_to_entity_, DDS::Security::EndpointSecurityAttributes::plugin_endpoint_attributes, OpenDDS::DCPS::push_back(), OpenDDS::DCPS::security_debug, OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::sender_key_id, OpenDDS::DCPS::SecurityDebug::showkeys, and OpenDDS::DCPS::to_dds_string().
|
privatevirtual |
Definition at line 141 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), generate_handle(), DDS::HANDLE_NIL, DDS::Security::ParticipantSecurityAttributes::is_rtps_protected, keys_, LM_DEBUG, mutex_, DDS::Security::ParticipantSecurityAttributes::plugin_participant_attributes, DDS::Security::PLUGIN_PARTICIPANT_SECURITY_ATTRIBUTES_FLAG_IS_RTPS_ENCRYPTED, OpenDDS::DCPS::push_back(), OpenDDS::DCPS::security_debug, and OpenDDS::Security::CommonUtilities::set_security_error().
|
privatevirtual |
Definition at line 395 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), OpenDDS::DCPS::SecurityDebug::bookkeeping, DDS::Security::SharedSecretHandle::challenge1, DDS::Security::SharedSecretHandle::challenge2, DDS::Security::DATAREADER_SUBMESSAGE, derived_key_handles_, encrypt_options_, generate_handle_i(), DDS::HANDLE_NIL, keys_, LM_DEBUG, mutex_, participant_to_entity_, OpenDDS::DCPS::security_debug, sessions_, OpenDDS::Security::CommonUtilities::set_security_error(), DDS::Security::SharedSecretHandle::sharedSecret, OpenDDS::DCPS::SecurityDebug::showkeys, and OpenDDS::DCPS::to_dds_string().
|
privatevirtual |
Definition at line 550 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), OpenDDS::DCPS::SecurityDebug::bookkeeping, DDS::Security::SharedSecretHandle::challenge1, DDS::Security::SharedSecretHandle::challenge2, DDS::Security::DATAWRITER_SUBMESSAGE, derived_key_handles_, encrypt_options_, generate_handle_i(), DDS::HANDLE_NIL, keys_, LM_DEBUG, mutex_, participant_to_entity_, OpenDDS::DCPS::security_debug, sessions_, OpenDDS::Security::CommonUtilities::set_security_error(), DDS::Security::SharedSecretHandle::sharedSecret, OpenDDS::DCPS::SecurityDebug::showkeys, and OpenDDS::DCPS::to_dds_string().
|
privatevirtual |
Definition at line 177 of file CryptoBuiltInImpl.cpp.
References generate_handle(), DDS::HANDLE_NIL, name, OpenDDS::DCPS::operator==(), OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::receiver_specific_key_id, OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::sender_key_id, OpenDDS::Security::CommonUtilities::set_security_error(), OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::transformation_kind, and OpenDDS::DCPS::VENDORID_OCI.
|
privatevirtual |
Definition at line 1054 of file CryptoBuiltInImpl.cpp.
References OpenDDS::Security::CRYPTO_TRANSFORMATION_KIND_AES128_GCM, OpenDDS::Security::CRYPTO_TRANSFORMATION_KIND_AES128_GMAC, OpenDDS::Security::CRYPTO_TRANSFORMATION_KIND_AES256_GCM, OpenDDS::Security::CRYPTO_TRANSFORMATION_KIND_AES256_GMAC, ctx_, OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::transformation_kind, and OpenDDS::Security::TransformKindIndex.
|
privatevirtual |
Definition at line 1012 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), DDS::HANDLE_NIL, keys_, LM_DEBUG, mutex_, OpenDDS::DCPS::security_debug, and OpenDDS::Security::CommonUtilities::set_security_error().
|
privatevirtual |
Definition at line 927 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), DDS::HANDLE_NIL, keys_, LM_DEBUG, mutex_, OpenDDS::DCPS::security_debug, and OpenDDS::Security::CommonUtilities::set_security_error().
|
privatevirtual |
Definition at line 842 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), DDS::HANDLE_NIL, keys_, LM_DEBUG, mutex_, OpenDDS::DCPS::security_debug, and OpenDDS::Security::CommonUtilities::set_security_error().
|
privatevirtual |
Definition at line 723 of file CryptoBuiltInImpl.cpp.
References ACE_ERROR, DDS::Security::DataHolder::binary_properties, DDS::Security::DataHolder::class_id, clear_endpoint_data(), common_encoding, DDS::HANDLE_NIL, LM_ERROR, mutex_, DDS::BinaryProperty_t::name, DDS::BinaryProperty_t::propagate, OpenDDS::DCPS::push_back(), OpenDDS::DCPS::serialized_size(), OpenDDS::Security::CommonUtilities::set_security_error(), DDS::BinaryProperty_t::value, and ACE_Message_Block::wr_ptr().
|
privatevirtual |
Definition at line 712 of file CryptoBuiltInImpl.cpp.
References clear_endpoint_data(), DDS::HANDLE_NIL, mutex_, and OpenDDS::Security::CommonUtilities::set_security_error().
|
privatevirtual |
Definition at line 649 of file CryptoBuiltInImpl.cpp.
References ACE_DEBUG, ACE_TEXT(), clear_common_data(), derived_key_handles_, DDS::HANDLE_NIL, LM_DEBUG, mutex_, OpenDDS::DCPS::security_debug, and OpenDDS::Security::CommonUtilities::set_security_error().
|
private |
Definition at line 1895 of file CryptoBuiltInImpl.cpp.
References ACE_ERROR, OpenDDS::Security::CryptoFooter::common_mac, OpenDDS::Security::CRYPTO_TRANSFORMATION_KIND_AES256_GMAC, OpenDDS::Security::CryptoBuiltInImpl::Session::get_key(), LM_ERROR, OpenDDS::Security::CryptoHeader::session_id, OpenDDS::Security::CommonUtilities::set_security_error(), OpenDDS::Security::KeyMaterial_AES_GCM_GMAC::transformation_kind, and OpenDDS::Security::TransformKindIndex.
Referenced by decode_rtps_message(), and decode_submessage().
|
private |
Definition at line 282 of file CryptoBuiltInImpl.h.
Referenced by register_matched_remote_datareader(), register_matched_remote_datawriter(), unregister_participant(), and ~CryptoBuiltInImpl().
|
private |
Definition at line 267 of file CryptoBuiltInImpl.h.
Referenced by clear_endpoint_data(), decode_serialized_payload(), encode_datawriter_submessage(), encode_serialized_payload(), register_local_datareader(), register_local_datawriter(), register_matched_remote_datareader(), register_matched_remote_datawriter(), and ~CryptoBuiltInImpl().
|
private |
Definition at line 254 of file CryptoBuiltInImpl.h.
Referenced by clear_common_data(), create_local_datareader_crypto_tokens(), create_local_datawriter_crypto_tokens(), create_local_participant_crypto_tokens(), decode_rtps_message(), decode_serialized_payload(), decode_submessage(), encode_datareader_submessage(), encode_datawriter_submessage(), encode_rtps_message(), encode_serialized_payload(), encode_submessage(), have_local_datareader_crypto_tokens(), have_local_datawriter_crypto_tokens(), have_local_participant_crypto_tokens(), have_remote_datareader_crypto_tokens(), have_remote_datawriter_crypto_tokens(), have_remote_participant_crypto_tokens(), preprocess_secure_submsg(), register_local_datareader(), register_local_datawriter(), register_local_participant(), register_matched_remote_datareader(), register_matched_remote_datawriter(), set_remote_datareader_crypto_tokens(), set_remote_datawriter_crypto_tokens(), set_remote_participant_crypto_tokens(), and ~CryptoBuiltInImpl().
|
private |
Definition at line 248 of file CryptoBuiltInImpl.h.
Referenced by create_local_datareader_crypto_tokens(), create_local_datawriter_crypto_tokens(), create_local_participant_crypto_tokens(), decode_rtps_message(), decode_serialized_payload(), decode_submessage(), encode_datareader_submessage(), encode_datawriter_submessage(), encode_rtps_message(), encode_serialized_payload(), generate_handle(), have_local_datareader_crypto_tokens(), have_local_datawriter_crypto_tokens(), have_local_participant_crypto_tokens(), have_remote_datareader_crypto_tokens(), have_remote_datawriter_crypto_tokens(), have_remote_participant_crypto_tokens(), preprocess_secure_submsg(), register_local_datareader(), register_local_datawriter(), register_local_participant(), register_matched_remote_datareader(), register_matched_remote_datawriter(), set_remote_datareader_crypto_tokens(), set_remote_datawriter_crypto_tokens(), set_remote_participant_crypto_tokens(), unregister_datareader(), unregister_datawriter(), and unregister_participant().
|
private |
Definition at line 249 of file CryptoBuiltInImpl.h.
Referenced by generate_handle_i().
|
private |
Definition at line 278 of file CryptoBuiltInImpl.h.
Referenced by clear_endpoint_data(), preprocess_secure_submsg(), register_local_datareader(), register_local_datawriter(), register_matched_remote_datareader(), register_matched_remote_datawriter(), and ~CryptoBuiltInImpl().
|
private |
Definition at line 298 of file CryptoBuiltInImpl.h.
Referenced by clear_common_data(), decode_rtps_message(), decode_serialized_payload(), decode_submessage(), encode_rtps_message(), encode_serialized_payload(), encode_submessage(), register_matched_remote_datareader(), register_matched_remote_datawriter(), and ~CryptoBuiltInImpl().