SimpleSymmetricKeyParams is a template for symmetric keys with only one parameter: size. More...
#include <key-params.hpp>
Public Member Functions | |
SimpleSymmetricKeyParams (const name::Component &keyId, uint32_t size=KeyParamsInfo::getDefaultSize()) | |
Create key parameter with user specified keyId . More... | |
SimpleSymmetricKeyParams (uint32_t size=KeyParamsInfo::getDefaultSize(), KeyIdType keyIdType=KeyIdType::RANDOM) | |
Create key parameter with auto-created keyId. More... | |
const name::Component & | getKeyId () const |
KeyIdType | getKeyIdType () const |
uint32_t | getKeySize () const |
KeyType | getKeyType () const |
void | setKeyId (const name::Component &keyId) |
SimpleSymmetricKeyParams is a template for symmetric keys with only one parameter: size.
Definition at line 238 of file key-params.hpp.
|
inlineexplicit |
Create key parameter with user specified keyId
.
Definition at line 243 of file key-params.hpp.
|
inlineexplicit |
Create key parameter with auto-created keyId.
This method is used only if user does not want to maintain the uniqueness of key name. By default, an 8-byte random number will be used as the key Id.
Definition at line 257 of file key-params.hpp.
|
inlineinherited |
Definition at line 64 of file key-params.hpp.
|
inlineinherited |
Definition at line 58 of file key-params.hpp.
|
inline |
Definition at line 265 of file key-params.hpp.
|
inlineinherited |
Definition at line 52 of file key-params.hpp.
|
inlineinherited |
Definition at line 70 of file key-params.hpp.