RsaKeyParamInfo is used to instantiate SimplePublicKeyParams for RSA 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 () |
RsaKeyParamInfo is used to instantiate SimplePublicKeyParams for RSA keys.
Definition at line 101 of file key-params.hpp.
|
inlinestatic |
Definition at line 105 of file key-params.hpp.
References ndn::RSA, and nonstd::span_lite::size().
|
static |
check if size
is valid and supported for this key type.
KeyParams::Error | if the key size is not supported. |
Definition at line 54 of file key-params.cpp.
References NDN_THROW, nonstd::span_lite::size(), and ndn::to_string().
|
static |
Definition at line 62 of file key-params.cpp.
References ndn::detail::DEFAULT_RSA_KEY_SIZE.