NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::detail::AesKeyParamsInfo Class Reference

AesKeyParamsInfo is used to instantiate SimpleSymmetricKeyParams for AES keys. More...

#include <key-params.hpp>

Static Public Member Functions

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

Detailed Description

AesKeyParamsInfo is used to instantiate SimpleSymmetricKeyParams for AES keys.

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

Member Function Documentation

◆ getType()

static constexpr KeyType ndn::detail::AesKeyParamsInfo::getType ( )
inlinestatic

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

References ndn::AES.

◆ checkKeySize()

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

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

Returns
KeyParams::Error if the key size is not supported.

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

References ndn::AES_KEY_SIZES.

◆ getDefaultSize()

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

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

References ndn::AES_KEY_SIZES.


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