#include "ndn-cxx/security/transform/private-key.hpp"
#include "ndn-cxx/security/transform/base64-decode.hpp"
#include "ndn-cxx/security/transform/base64-encode.hpp"
#include "ndn-cxx/security/transform/buffer-source.hpp"
#include "ndn-cxx/security/transform/digest-filter.hpp"
#include "ndn-cxx/security/transform/stream-sink.hpp"
#include "ndn-cxx/security/transform/stream-source.hpp"
#include "ndn-cxx/security/impl/openssl-helper.hpp"
#include "ndn-cxx/security/key-params.hpp"
#include "ndn-cxx/encoding/buffer-stream.hpp"
#include "ndn-cxx/util/random.hpp"
#include "ndn-cxx/util/scope.hpp"
#include <boost/lexical_cast.hpp>
#include <cstring>
Go to the source code of this file.
Classes | |
class | transform::PrivateKey::Impl |
Namespaces | |
ndn | |
Copyright (c) 2011-2015 Regents of the University of California. | |
ndn::security | |
ndn::security::transform | |
Macros | |
#define | ENSURE_PRIVATE_KEY_LOADED(key) |
#define | ENSURE_PRIVATE_KEY_NOT_LOADED(key) |
Functions | |
static int | ndn::security::transform::passwordCallbackWrapper (char *buf, int size, int rwflag, void *u) |
unique_ptr< PrivateKey > | ndn::security::transform::generatePrivateKey (const KeyParams &keyParams) |
Generate a private key according to keyParams . More... | |
#define ENSURE_PRIVATE_KEY_LOADED | ( | key | ) |
Definition at line 38 of file private-key.cpp.
Referenced by ndn::security::transform::PrivateKey::decrypt(), and ndn::security::transform::PrivateKey::derivePublicKey().
#define ENSURE_PRIVATE_KEY_NOT_LOADED | ( | key | ) |
Definition at line 44 of file private-key.cpp.
Referenced by ndn::security::transform::PrivateKey::loadPkcs1(), ndn::security::transform::PrivateKey::loadPkcs8(), and ndn::security::transform::PrivateKey::loadRaw().