17 #ifndef DEFAULTBOOTSTRAPCHANNEL_HPP_
18 #define DEFAULTBOOTSTRAPCHANNEL_HPP_
29 virtual const std::string&
getId()
const {
return CHANNEL_ID; }
33 virtual boost::shared_ptr<IHttpRequest> createRequest(
AbstractServerInfoPtr server,
const std::vector<boost::uint8_t>& body)
40 virtual std::string retrieveResponse(
const IHttpResponse& response)
50 static const std::string CHANNEL_ID;
51 static const std::map<TransportType, ChannelDirection> SUPPORTED_TYPES;
std::pair< Botan::MemoryVector< boost::uint8_t >, std::string > KeyPair
std::string retrieveBootstrapResponse(const IHttpResponse &response)
boost::shared_ptr< IHttpRequest > createBootstrapRequest(const HttpUrl &url, const std::vector< boost::uint8_t > &data)
virtual ~DefaultBootstrapChannel()
virtual const std::string & getId() const
virtual const std::map< TransportType, ChannelDirection > & getSupportedTransportTypes() const
DefaultBootstrapChannel(IKaaChannelManager *channelManager, const KeyPair &clientKeys)
HttpDataProcessor * getHttpDataProcessor()
boost::shared_ptr< AbstractServerInfo< Type > > AbstractServerInfoPtr