|
esp8266ndn
NDN Arduino library for ESP8266 and more
|
Server side of a challenge. More...
#include <server.hpp>
Inherited by ndnph::ndncert::server::NopChallenge, and ndnph::ndncert::server::PossessionChallenge.
Public Member Functions | |
| virtual | ~Challenge ()=default |
| virtual tlv::Value | getId () const =0 |
| virtual int | getTimeLimit () const =0 |
| virtual int | getRetryLimit () const =0 |
| virtual void | clear ()=0 |
| Clear state and prepare the challenge for new session. | |
| virtual ChallengeResult | process (Region ®ion, const ChallengeRequest &request)=0 |
| Process a CHALLENGE request packet. | |
Server side of a challenge.
Subclass instance may store internal state in member fields. An instance can only handle one challenge session at a time.
|
virtualdefault |
|
pure virtual |
Clear state and prepare the challenge for new session.
Implemented in ndnph::ndncert::server::NopChallenge, and ndnph::ndncert::server::PossessionChallenge.
|
pure virtual |
Implemented in ndnph::ndncert::server::NopChallenge, and ndnph::ndncert::server::PossessionChallenge.
|
pure virtual |
Implemented in ndnph::ndncert::server::NopChallenge, and ndnph::ndncert::server::PossessionChallenge.
|
pure virtual |
Implemented in ndnph::ndncert::server::NopChallenge, and ndnph::ndncert::server::PossessionChallenge.
|
pure virtual |
Process a CHALLENGE request packet.
| region | memory region, valid during this invocation only. |
| request | decoded CHALLENGE request packet. request.params is valid during this invocation only; any necessary information should be copied. |
Implemented in ndnph::ndncert::server::NopChallenge, and ndnph::ndncert::server::PossessionChallenge.