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

EcKeyParamInfo is used to instantiate SimplePublicKeyParams for elliptic curve 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

EcKeyParamInfo is used to instantiate SimplePublicKeyParams for elliptic curve keys.

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

Member Function Documentation

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

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

References ndn::EC.

uint32_t ndn::detail::EcKeyParamsInfo::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 65 of file key-params.cpp.

References ndn::EC_KEY_SIZES.

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

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


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