ndn::detail::RsaKeyParamsInfo Class Reference

RsaKeyParamInfo is used to instantiate SimplePublicKeyParams for RSA keys. More...

#include <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

RsaKeyParamInfo is used to instantiate SimplePublicKeyParams for RSA keys.

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

Member Function Documentation

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

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

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

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

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