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::server::ChallengeResponse Class Reference

CHALLENGE response packet. More...

#include <server.hpp>

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

Public Member Functions

Data::Signed toData (Region &region, const Interest &challengeRequest, const uint8_t *requestId, detail::SessionKey &sessionKey, const EcPrivateKey &signer) const
 Build CHALLENGE response 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

◆ toData()

Data::Signed ndnph::ndncert::server::ChallengeResponse::toData ( Region region,
const Interest challengeRequest,
const uint8_t *  requestId,
detail::SessionKey sessionKey,
const EcPrivateKey signer 
) const
inline

Build CHALLENGE response packet.

Parameters
challengeRequestCHALLENGE request packet.
signerprivate key corresponding to CA certificate.
Returns
an Encodable object, or a falsy value upon failure.

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