OpenDDS  Snapshot(2023/04/28-20:55)
Classes | Namespaces | Functions
security/SSL/Utils.cpp File Reference
#include "Utils.h"
#include "Err.h"
#include <dds/DCPS/Serializer.h>
#include <dds/DCPS/GuidUtils.h>
#include <dds/DdsDcpsCoreTypeSupportImpl.h>
#include <openssl/evp.h>
#include <openssl/rand.h>
#include <openssl/err.h>
#include "../OpenSSL_legacy.h"
#include <vector>
#include <utility>
#include <cstdio>
Include dependency graph for security/SSL/Utils.cpp:

Go to the source code of this file.

Classes

class  OpenDDS::Security::SSL::hash_serialized_impl
 

Namespaces

 OpenDDS
 The Internal API and Implementation of OpenDDS.
 
module  OpenDDS::Security
 
 OpenDDS::Security::SSL
 

Functions

int OpenDDS::Security::SSL::make_adjusted_guid (const OpenDDS::DCPS::GUID_t &src, OpenDDS::DCPS::GUID_t &dst, const Certificate &target)
 
template<size_t Bits>
int OpenDDS::Security::SSL::make_nonce (std::vector< unsigned char > &nonce)
 
int OpenDDS::Security::SSL::make_nonce_256 (std::vector< unsigned char > &nonce)
 
int OpenDDS::Security::SSL::make_nonce_256 (DDS::OctetSeq &nonce)
 
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. More...
 
int OpenDDS::Security::SSL::hash (const std::vector< const DDS::OctetSeq *> &src, DDS::OctetSeq &dst)
 
int OpenDDS::Security::SSL::hash_serialized (const DDS::BinaryPropertySeq &src, DDS::OctetSeq &dst)
 
int OpenDDS::Security::SSL::sign_serialized (const DDS::BinaryPropertySeq &src, const PrivateKey &key, DDS::OctetSeq &dst)
 
int OpenDDS::Security::SSL::verify_serialized (const DDS::BinaryPropertySeq &src, const Certificate &key, const DDS::OctetSeq &signed_data)