CHALLENGE request packet.
More...
#include <server.hpp>
Inherits ndnph::ndncert::packet_struct::ChallengeRequest< ChallengeT >.
|
| static bool | isName (const CaProfile &profile, const Name &name) |
| | Determine whether name is a valid CHALLENGE request packet name.
|
| |
| static const uint8_t * | parseName (const CaProfile &profile, const Name &name) |
| | Extract requestId from Interest name.
|
| |
CHALLENGE request packet.
◆ fromInterest()
Extract CHALLENGE request from Interest packet.
- Parameters
-
| interest | input Interest packet; it can be freed after this operation. |
- Returns
- whether success.
◆ isName()
| static bool ndnph::ndncert::server::ChallengeRequest::isName |
( |
const CaProfile & |
profile, |
|
|
const Name & |
name |
|
) |
| |
|
inlinestatic |
Determine whether name is a valid CHALLENGE request packet name.
◆ parseName()
| static const uint8_t * ndnph::ndncert::server::ChallengeRequest::parseName |
( |
const CaProfile & |
profile, |
|
|
const Name & |
name |
|
) |
| |
|
inlinestatic |
Extract requestId from Interest name.
- Returns
- requestId, or nullptr if
name is not a valid CHALLENGE request packet name.
The documentation for this class was generated from the following file:
- /home/runner/work/esp8266ndn/NDNph/src/ndnph/app/ndncert/server.hpp