Base class for key parameters. More...
#include <ndn-cxx/security/key-params.hpp>
Inheritance diagram for ndn::KeyParams:Classes | |
| class | Error |
Public Member Functions | |
| virtual | ~KeyParams () |
| const name::Component & | getKeyId () const |
| KeyIdType | getKeyIdType () const |
| KeyType | getKeyType () const |
| void | setKeyId (const name::Component &keyId) |
Protected Member Functions | |
| KeyParams (KeyType keyType, const name::Component &keyId) | |
| Constructor. More... | |
| KeyParams (KeyType keyType, KeyIdType keyIdType) | |
| Constructor. More... | |
Base class for key parameters.
Its subclasses are used to store parameters for key generation.
Definition at line 35 of file key-params.hpp.
|
virtualdefault |
Constructor.
| keyType | Type of the created key |
| keyIdType | The method how the key id should be generated; must not be KeyIdType::USER_SPECIFIED |
Definition at line 26 of file key-params.cpp.
|
protected |
Constructor.
| keyType | Type of the created key |
| keyId | The user-specified key id. The keyIdType will be set to KeyIdType::USER_SPECIFIED. keyId MUST NOT be the empty component. |
Definition at line 33 of file key-params.cpp.
|
inline |
Definition at line 60 of file key-params.hpp.
|
inline |
Definition at line 54 of file key-params.hpp.
|
inline |
Definition at line 48 of file key-params.hpp.
|
inline |
Definition at line 66 of file key-params.hpp.