public-key.cpp File Reference
#include "public-key.hpp"
#include "base64-decode.hpp"
#include "base64-encode.hpp"
#include "buffer-source.hpp"
#include "stream-sink.hpp"
#include "stream-source.hpp"
#include "../detail/openssl-helper.hpp"
#include "../../encoding/buffer-stream.hpp"
+ Include dependency graph for public-key.cpp:

Go to the source code of this file.

Namespaces

 ndn
 Copyright (c) 2013-2017 Regents of the University of California.
 
 ndn::security
 
 ndn::security::transform
 

Macros

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

Macro Definition Documentation

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

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

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

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