ndn::detail::HmacKeyParamsInfo Class Reference

HmacKeyParamsInfo is used to instantiate SimpleSymmetricKeyParams for HMAC keys. More...

#include <ndn-cxx/security/key-params.hpp>

Static Public Member Functions

static uint32_t checkKeySize (uint32_t size)
 Check if size is valid and supported for this key type. More...
 
static uint32_t getDefaultSize ()
 
static constexpr KeyType getType ()
 

Detailed Description

HmacKeyParamsInfo is used to instantiate SimpleSymmetricKeyParams for HMAC keys.

Definition at line 230 of file key-params.hpp.

Member Function Documentation

◆ checkKeySize()

uint32_t ndn::detail::HmacKeyParamsInfo::checkKeySize ( uint32_t  size)
static

Check if size is valid and supported for this key type.

Exceptions
KeyParams::Errorif the key size is not supported.

Definition at line 101 of file key-params.cpp.

◆ getDefaultSize()

uint32_t ndn::detail::HmacKeyParamsInfo::getDefaultSize ( )
static

Definition at line 109 of file key-params.cpp.

◆ getType()

static constexpr KeyType ndn::detail::HmacKeyParamsInfo::getType ( )
inlinestaticconstexpr

Definition at line 234 of file key-params.hpp.