23 #ifndef NDN_KEY_PARAMS_HPP
24 #define NDN_KEY_PARAMS_HPP
26 #include "security-common.hpp"
61 RsaKeyParams(uint32_t size = RsaKeyParams::getDefaultSize())
62 :
KeyParams(RsaKeyParams::getType()), size_(size)
74 getDefaultSize() {
return 2048; }
77 getType() {
return KEY_TYPE_RSA; }
86 :
KeyParams(EcdsaKeyParams::getType()), size_(size)
98 getDefaultSize() {
return 256; }
101 getType() {
return KEY_TYPE_ECDSA; }
Copyright (C) 2013-2016 Regents of the University of California.
Definition: common.hpp:35
Definition: key-params.hpp:58
KeyParams is a base class for key parameters.
Definition: key-params.hpp:34
Definition: key-params.hpp:82