17 #ifndef ENDPOINT_OBJECT_HASH_HPP_
18 #define ENDPOINT_OBJECT_HASH_HPP_
23 #include <botan/sha160.h>
25 #include <boost/cstdint.hpp>
26 #include <boost/shared_array.hpp>
30 typedef std::pair<boost::shared_array<boost::uint8_t>, boost::uint32_t>
SharedDataBuffer;
85 operator std::vector<boost::uint8_t>();
88 void clone(
const boost::uint8_t* data,
const boost::uint32_t& dataSize);
static bool isEqual(SharedDataBuffer left, SharedDataBuffer right)
std::pair< boost::shared_array< boost::uint8_t >, boost::uint32_t > SharedDataBuffer
bool operator==(EndpointObjectHash &endpointHash)
EndpointObjectHash & operator=(EndpointObjectHash &endpointHash)
SharedDataBuffer getHash()
bool operator!=(EndpointObjectHash &endpointHash)