esp8266ndn
NDN Arduino library for ESP8266 and more
|
The "possession" challenge where client must present an existing certificate. More...
#include <client.hpp>
Inherits ndnph::ndncert::client::Challenge.
Public Member Functions | |
PossessionChallenge (Data cert, const PrivateKey &signer) | |
tlv::Value | getId () const override |
Return challenge identifier. More... | |
void | start (Region ®ion, ChallengeRequest &request, void(*cb)(void *, bool), void *arg) override |
Create a message to select and start the challenge. More... | |
void | next (Region ®ion, const ChallengeResponse &response, ChallengeRequest &request, void(*cb)(void *, bool), void *arg) override |
Create a message to continue the challenge. More... | |
![]() | |
virtual | ~Challenge ()=default |
The "possession" challenge where client must present an existing certificate.
|
inlineexplicit |
|
inlineoverridevirtual |
Return challenge identifier.
Implements ndnph::ndncert::client::Challenge.
|
inlineoverridevirtual |
Create a message to continue the challenge.
This function should clear any existing state, populate the request
, and invoke `cb(arg,true)`; in case of error, invoke `cb(arg,false)`.
Implements ndnph::ndncert::client::Challenge.
|
inlineoverridevirtual |
Create a message to select and start the challenge.
This function should clear any existing state, populate the request
, and invoke `cb(arg,true)`; in case of error, invoke `cb(arg,false)`.
Implements ndnph::ndncert::client::Challenge.