esp8266ndn
NDN Arduino library for ESP8266 and more
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
ndnph::ndncert::client::NewResponse Class Reference

NEW response packet. More...

#include <client.hpp>

Inherits ndnph::ndncert::packet_struct::NewResponse.

Public Member Functions

bool fromData (Region &, const Data &data, const CaProfile &profile, const ChallengeList &challenges)
 Extract NEW response from Data packet. More...
 

Public Attributes

std::bitset< detail::MaxChallenges::value > hasChallenge
 List of client challenges offered by server. More...
 
- Public Attributes inherited from ndnph::ndncert::packet_struct::NewResponse
mbedtls::P256::Point ecdhPub
 Server ECDH public key. More...
 
uint8_t salt [detail::SaltLen::value]
 ECDH salt. More...
 
uint8_t requestId [detail::RequestIdLen::value]
 Request ID. More...
 

Detailed Description

NEW response packet.

Member Function Documentation

◆ fromData()

bool ndnph::ndncert::client::NewResponse::fromData ( Region ,
const Data data,
const CaProfile profile,
const ChallengeList challenges 
)
inline

Extract NEW response from Data packet.

Parameters
datainput Data packet; it can be freed after this operation.
challengeslist of challenges acceptable by client.
Returns
whether success.

Member Data Documentation

◆ hasChallenge

std::bitset<detail::MaxChallenges::value> ndnph::ndncert::client::NewResponse::hasChallenge

List of client challenges offered by server.


The documentation for this class was generated from the following file: