|
esp8266ndn
NDN Arduino library for ESP8266 and more
|
File based key pair store. More...
#include <keychain.hpp>
Inherits ndnph::KvStore.
Public Member Functions | |
| KvStore ()=default | |
| Constructor to use internal FileStore instance. | |
| KvStore (port::FileStore &fs) | |
| Constructor to use existing FileStore instance. | |
Public Member Functions inherited from ndnph::KvStore | |
| KvStore ()=default | |
| Constructor to use internal FileStore instance. | |
| KvStore (port::FileStore &fs) | |
| Constructor to use existing FileStore instance. | |
| template<typename... Arg> | |
| bool | open (Arg &&... arg) |
| Open the FileStore backend. | |
| tlv::Value | get (const char *key, Region ®ion) |
| Retrieve a value. | |
| bool | set (const char *key, tlv::Value value) |
| Store a value. | |
| bool | del (const char *key) |
| Delete a key. | |
File based key pair store.
Unencrypted private keys may be stored. It's important to protect the storage directory using Unix permissions or similar mechanisms.
|
explicitdefault |
Constructor to use internal FileStore instance.
|
inlineexplicit |
Constructor to use existing FileStore instance.