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

CHALLENGE response packet. More...

#include <client.hpp>

Inherits ndnph::ndncert::packet_struct::ChallengeResponse.

Public Member Functions

bool fromData (Region &region, const Data &data, const CaProfile &profile, const uint8_t *requestId, detail::SessionKey &sessionKey)
 Extract CHALLENGE response from Data packet. More...
 

Additional Inherited Members

- Public Attributes inherited from ndnph::ndncert::packet_struct::ChallengeResponse
uint8_t status = Status::BEFORE_CHALLENGE
 Application status code. More...
 
tlv::Value challengeStatus
 Challenge status string. More...
 
uint16_t remainingTries = 0
 Remaining tries. More...
 
port::Clock::Time expireTime = {}
 Session expiration time. Calculates remaining time. More...
 
ParameterKV params
 Parameter key-value pairs. More...
 
Name issuedCertName
 Issued certificate full name. More...
 
Name fwHint
 Forwarding hint to retrieve issued certificate. More...
 

Detailed Description

CHALLENGE response packet.

Member Function Documentation

◆ fromData()

bool ndnph::ndncert::client::ChallengeResponse::fromData ( Region region,
const Data data,
const CaProfile profile,
const uint8_t *  requestId,
detail::SessionKey sessionKey 
)
inline

Extract CHALLENGE response from Data packet.

Parameters
datainput Data packet; it can be freed after this operation.
Returns
whether success.

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