esp8266ndn
NDN Arduino library for ESP8266 and more
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Types | Public Member Functions | List of all members
ndnph::isig::Nonce< nonceLength, nTrackedNonces > Class Template Reference

Require SigNonce field in Interest SigInfo. More...

#include <sig-info.hpp>

Classes

class  Value
 

Public Types

using Order = std::integral_constant< int, 1 >
 

Public Member Functions

Value create ()
 
bool check (const Fields &f) const
 
void save (const Fields &f)
 

Detailed Description

template<int nonceLength = 8, int nTrackedNonces = 16>
class ndnph::isig::Nonce< nonceLength, nTrackedNonces >

Require SigNonce field in Interest SigInfo.

Template Parameters
nonceLengthexpected TLV-LENGTH of SigNonce.
nTrackedNonceshow many values to remember.

Member Typedef Documentation

◆ Order

template<int nonceLength = 8, int nTrackedNonces = 16>
using ndnph::isig::Nonce< nonceLength, nTrackedNonces >::Order = std::integral_constant<int, 1>

Member Function Documentation

◆ check()

template<int nonceLength = 8, int nTrackedNonces = 16>
bool ndnph::isig::Nonce< nonceLength, nTrackedNonces >::check ( const Fields f) const
inline

◆ create()

template<int nonceLength = 8, int nTrackedNonces = 16>
Value ndnph::isig::Nonce< nonceLength, nTrackedNonces >::create ( )
inline

◆ save()

template<int nonceLength = 8, int nTrackedNonces = 16>
void ndnph::isig::Nonce< nonceLength, nTrackedNonces >::save ( const Fields f)
inline

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