|
OpenDDS
Snapshot(2023/04/28-20:55)
|
Classes | |
| class | Bio |
| struct | cache_dsign_algo_impl |
| class | Certificate |
| struct | deserialize_impl |
| class | DH_2048_MODP_256_PRIME |
| class | dh_constructor |
| struct | DH_Handle |
| class | dh_shared_secret |
| class | DHAlgorithm |
| class | DiffieHellman |
| struct | EC_Handle |
| class | ecdh_constructor |
| class | ECDH_PRIME_256_V1_CEUM |
| class | ecdh_pubkey_as_octets |
| class | ecdh_shared_secret_from_octets |
| class | hash_serialized_impl |
| class | PKCS7Doc |
| class | PrivateKey |
| class | sign_implementation |
| class | SignedDocument |
| class | StackOfX509 |
| class | SubjectName |
| class | verify_implementation |
| class | X509Store |
Functions | |
| std::ostream & | operator<< (std::ostream &lhs, const Certificate &rhs) |
| bool | operator== (const Certificate &lhs, const Certificate &rhs) |
| bool | operator== (const PrivateKey &lhs, const PrivateKey &rhs) |
| int | make_adjusted_guid (const OpenDDS::DCPS::GUID_t &src, OpenDDS::DCPS::GUID_t &dst, const Certificate &target) |
| template<size_t Bits> | |
| int | make_nonce (std::vector< unsigned char > &nonce) |
| int | make_nonce_256 (std::vector< unsigned char > &nonce) |
| int | make_nonce_256 (DDS::OctetSeq &nonce) |
| unsigned char | offset_1bit (const unsigned char array[], size_t i) |
| Gets byte from array as though it were shifted right one bit. More... | |
| int | hash (const std::vector< const DDS::OctetSeq *> &src, DDS::OctetSeq &dst) |
| int | hash_serialized (const DDS::BinaryPropertySeq &src, DDS::OctetSeq &dst) |
| int | sign_serialized (const DDS::BinaryPropertySeq &src, const PrivateKey &key, DDS::OctetSeq &dst) |
| int | verify_serialized (const DDS::BinaryPropertySeq &src, const Certificate &key, const DDS::OctetSeq &signed_data) |
Variables | |
| const char | DH_2048_MODP_256_PRIME_STR [] = "DH+MODP-2048-256" |
| const char | ECDH_PRIME_256_V1_CEUM_STR [] = "ECDH+prime256v1-CEUM" |
| OpenDDS_Security_Export int OpenDDS::Security::SSL::hash | ( | const std::vector< const DDS::OctetSeq * > & | src, |
| DDS::OctetSeq & | dst | ||
| ) |
Definition at line 132 of file security/SSL/Utils.cpp.
References EVP_MD_CTX_free, EVP_MD_CTX_new, and OPENDDS_SSL_LOG_ERR.
Referenced by OpenDDS::DCPS::AddressCacheEntryProxy::addrs(), OpenDDS::Security::AuthenticationBuiltInImpl::begin_handshake_reply(), OpenDDS::Security::AuthenticationBuiltInImpl::begin_handshake_request(), OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL::hash_endpoint(), OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL::hash_endpoints(), hash_serialized(), OpenDDS::Security::SSL::DHAlgorithm::hash_shared_secret(), make_adjusted_guid(), OpenDDS::DCPS::NetworkAddress::operator<(), and OpenDDS::Security::AuthenticationBuiltInImpl::process_handshake_reply().
| OpenDDS_Security_Export int OpenDDS::Security::SSL::hash_serialized | ( | const DDS::BinaryPropertySeq & | src, |
| DDS::OctetSeq & | dst | ||
| ) |
Definition at line 214 of file security/SSL/Utils.cpp.
References hash().
Referenced by OpenDDS::Security::CredentialHash::operator()().
| OpenDDS_Security_Export int OpenDDS::Security::SSL::make_adjusted_guid | ( | const OpenDDS::DCPS::GUID_t & | src, |
| OpenDDS::DCPS::GUID_t & | dst, | ||
| const Certificate & | target | ||
| ) |
Definition at line 41 of file security/SSL/Utils.cpp.
References OpenDDS::DCPS::GUID_t::entityId, EVP_MD_CTX_free, EVP_MD_CTX_new, OpenDDS::DCPS::GUID_UNKNOWN, hash(), offset_1bit(), and OpenDDS::Security::SSL::Certificate::subject_name_digest().
Referenced by OpenDDS::Security::AuthenticationBuiltInImpl::validate_local_identity().
| int OpenDDS::Security::SSL::make_nonce | ( | std::vector< unsigned char > & | nonce | ) |
Definition at line 84 of file security/SSL/Utils.cpp.
References ACE_ERROR, ACE_TEXT(), and LM_ERROR.
| OpenDDS_Security_Export int OpenDDS::Security::SSL::make_nonce_256 | ( | std::vector< unsigned char > & | nonce | ) |
Definition at line 108 of file security/SSL/Utils.cpp.
Referenced by OpenDDS::Security::AuthenticationBuiltInImpl::begin_handshake_reply(), OpenDDS::Security::AuthenticationBuiltInImpl::begin_handshake_request(), and OpenDDS::Security::AuthenticationBuiltInImpl::validate_remote_identity().
| OpenDDS_Security_Export int OpenDDS::Security::SSL::make_nonce_256 | ( | DDS::OctetSeq & | nonce | ) |
| OpenDDS_Security_Export unsigned char OpenDDS::Security::SSL::offset_1bit | ( | const unsigned char | array[], |
| size_t | i | ||
| ) |
Gets byte from array as though it were shifted right one bit.
Definition at line 127 of file security/SSL/Utils.cpp.
Referenced by make_adjusted_guid(), and OpenDDS::Security::validate_topic_data_guid().
| OpenDDS_Security_Export std::ostream & OpenDDS::Security::SSL::operator<< | ( | std::ostream & | lhs, |
| const Certificate & | rhs | ||
| ) |
Definition at line 644 of file Certificate.cpp.
References OpenDDS::Security::SSL::Certificate::x_.
| OpenDDS_Security_Export bool OpenDDS::Security::SSL::operator== | ( | const PrivateKey & | lhs, |
| const PrivateKey & | rhs | ||
| ) |
Definition at line 231 of file PrivateKey.cpp.
References OpenDDS::Security::SSL::PrivateKey::k_, and OPENDDS_END_VERSIONED_NAMESPACE_DECL.
| OpenDDS_Security_Export bool OpenDDS::Security::SSL::operator== | ( | const Certificate & | lhs, |
| const Certificate & | rhs | ||
| ) |
Definition at line 656 of file Certificate.cpp.
References OPENDDS_END_VERSIONED_NAMESPACE_DECL, OpenDDS::Security::SSL::Certificate::original_bytes_, and OpenDDS::Security::SSL::Certificate::x_.
Referenced by OpenDDS::Security::SSL::SignedDocument::filename().
| OpenDDS_Security_Export int OpenDDS::Security::SSL::sign_serialized | ( | const DDS::BinaryPropertySeq & | src, |
| const PrivateKey & | key, | ||
| DDS::OctetSeq & | dst | ||
| ) |
Definition at line 220 of file security/SSL/Utils.cpp.
References ACE_ERROR, ACE_TEXT(), OpenDDS::STUN::encoding(), LM_ERROR, OpenDDS::DCPS::serialized_size(), and OpenDDS::Security::SSL::PrivateKey::sign().
Referenced by OpenDDS::Security::AuthenticationBuiltInImpl::begin_handshake_reply(), and OpenDDS::Security::AuthenticationBuiltInImpl::process_handshake_reply().
| OpenDDS_Security_Export int OpenDDS::Security::SSL::verify_serialized | ( | const DDS::BinaryPropertySeq & | src, |
| const Certificate & | key, | ||
| const DDS::OctetSeq & | signed_data | ||
| ) |
Definition at line 246 of file security/SSL/Utils.cpp.
References ACE_ERROR, ACE_TEXT(), OpenDDS::STUN::encoding(), LM_ERROR, OPENDDS_END_VERSIONED_NAMESPACE_DECL, OpenDDS::DCPS::serialized_size(), and OpenDDS::Security::SSL::Certificate::verify_signature().
Referenced by OpenDDS::Security::AuthenticationBuiltInImpl::process_final_handshake(), and OpenDDS::Security::AuthenticationBuiltInImpl::process_handshake_reply().
| const char OpenDDS::Security::SSL::DH_2048_MODP_256_PRIME_STR[] = "DH+MODP-2048-256" |
Definition at line 22 of file DiffieHellman.h.
Referenced by OpenDDS::Security::SSL::DiffieHellman::factory(), and OpenDDS::Security::SSL::DH_2048_MODP_256_PRIME::kagree_algo().
| const char OpenDDS::Security::SSL::ECDH_PRIME_256_V1_CEUM_STR[] = "ECDH+prime256v1-CEUM" |
Definition at line 23 of file DiffieHellman.h.
Referenced by OpenDDS::Security::SSL::DiffieHellman::factory(), and OpenDDS::Security::SSL::ECDH_PRIME_256_V1_CEUM::kagree_algo().
1.8.13