public-key.cpp File Reference
+ Include dependency graph for public-key.cpp:

Go to the source code of this file.

Namespaces

 ndn
 
 ndn::security
 
 ndn::security::transform
 

Macros

#define ENSURE_PUBLIC_KEY_LOADED(key)
 
#define ENSURE_PUBLIC_KEY_NOT_LOADED(key)
 

Macro Definition Documentation

◆ ENSURE_PUBLIC_KEY_LOADED

#define ENSURE_PUBLIC_KEY_LOADED (   key)
Value:
do { \
if ((key) == nullptr) \
NDN_THROW(Error("Public key has not been loaded yet")); \
} while (false)

Definition at line 31 of file public-key.cpp.

◆ ENSURE_PUBLIC_KEY_NOT_LOADED

#define ENSURE_PUBLIC_KEY_NOT_LOADED (   key)
Value:
do { \
if ((key) != nullptr) \
NDN_THROW(Error("Public key has already been loaded")); \
} while (false)

Definition at line 37 of file public-key.cpp.