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::client::ChallengeRequest Class Reference

CHALLENGE request packet. More...

#include <client.hpp>

Inherits ndnph::ndncert::packet_struct::ChallengeRequest< Challenge >.

Public Member Functions

Interest::Signed toInterest (Region &region, const CaProfile &profile, const uint8_t *requestId, detail::SessionKey &sessionKey, detail::ISigPolicy &signingPolicy, const EcPrivateKey &signer) const
 Build CHALLENGE request packet. More...
 

Additional Inherited Members

- Public Attributes inherited from ndnph::ndncert::packet_struct::ChallengeRequest< Challenge >
Challenge * challenge
 Challenge reference. More...
 
ParameterKV params
 Parameter key-value pairs. More...
 

Detailed Description

CHALLENGE request packet.

Member Function Documentation

◆ toInterest()

Interest::Signed ndnph::ndncert::client::ChallengeRequest::toInterest ( Region region,
const CaProfile profile,
const uint8_t *  requestId,
detail::SessionKey sessionKey,
detail::ISigPolicy signingPolicy,
const EcPrivateKey signer 
) const
inline

Build CHALLENGE request packet.

Precondition
challenge and parameters are set.
Parameters
signerprivate key corresponding to newRequest->certReqest .
Returns
an Encodable object, or a falsy value upon failure.

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