#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.
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 void | ndn::security::transform::opensslInitAlgorithms () | 
| 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 35 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 41 of file private-key.cpp.
Referenced by ndn::security::transform::PrivateKey::loadPkcs1(), and ndn::security::transform::PrivateKey::loadPkcs8().