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.
 

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: