17 #ifndef HTTPDATAPROCESSOR_HPP_
18 #define HTTPDATAPROCESSOR_HPP_
26 #include "kaa/gen/BootstrapGen.hpp"
27 #include "kaa/gen/EndpointGen.hpp"
30 #include <boost/noncopyable.hpp>
31 #include <boost/shared_ptr.hpp>
32 #include <boost/cstdint.hpp>
33 #include <botan/base64.h>
40 const std::string& privKey,
41 const Botan::MemoryVector<boost::uint8_t>& remoteKey) :
52 void setEncoderDecoder(boost::shared_ptr<IEncoderDecoder> encoderDecoder) { encDec_ = encoderDecoder; }
58 boost::shared_ptr<IEncoderDecoder> encDec_;
std::string retrieveBootstrapResponse(const IHttpResponse &response)
boost::shared_ptr< IHttpRequest > createBootstrapRequest(const HttpUrl &url, const std::vector< boost::uint8_t > &data)
void setEncoderDecoder(boost::shared_ptr< IEncoderDecoder > encoderDecoder)
boost::shared_ptr< HttpDataProcessor > HttpDataProcessorPtr
boost::shared_ptr< IHttpRequest > createOperationRequest(const HttpUrl &url, const std::vector< boost::uint8_t > &data)
HttpDataProcessor(const Botan::MemoryVector< boost::uint8_t > &pubKey, const std::string &privKey, const Botan::MemoryVector< boost::uint8_t > &remoteKey)
std::string retrieveOperationResponse(const IHttpResponse &response)