#include "private-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 "../key-params.hpp"
#include "../../encoding/buffer-stream.hpp"
#include <boost/lexical_cast.hpp>
#include <cstring>
Go to the source code of this file.
#define ENSURE_PRIVATE_KEY_LOADED |
( |
|
key | ) |
|
Value:do { \
if ((key) == nullptr) \
BOOST_THROW_EXCEPTION(Error("Private key has not been loaded yet")); \
} while (false)
Definition at line 35 of file private-key.cpp.
#define ENSURE_PRIVATE_KEY_NOT_LOADED |
( |
|
key | ) |
|
Value:do { \
if ((key) != nullptr) \
BOOST_THROW_EXCEPTION(Error("Private key has already been loaded")); \
} while (false)
Definition at line 41 of file private-key.cpp.