#include <secured-bag.hpp>
Classes | |
class | Error |
Public Member Functions | |
SecuredBag () | |
SecuredBag (const Block &wire) | |
SecuredBag (const IdentityCertificate &cert, ConstBufferPtr key) | |
virtual | ~SecuredBag () |
void | wireDecode (const Block &wire) |
const Block & | wireEncode () const |
const IdentityCertificate & | getCertificate () const |
ConstBufferPtr | getKey () const |
Definition at line 30 of file secured-bag.hpp.
ndn::SecuredBag::SecuredBag | ( | ) |
Definition at line 34 of file secured-bag.cpp.
|
explicit |
Definition at line 39 of file secured-bag.cpp.
References wireDecode().
ndn::SecuredBag::SecuredBag | ( | const IdentityCertificate & | cert, |
ConstBufferPtr | key | ||
) |
Definition at line 44 of file secured-bag.cpp.
References ndn::tlv::security::CertificatePackage, ndn::tlv::security::KeyPackage, ndn::Block::push_back(), and ndn::Data::wireEncode().
|
virtual |
Definition at line 55 of file secured-bag.cpp.
void ndn::SecuredBag::wireDecode | ( | const Block & | wire | ) |
Definition at line 60 of file secured-bag.cpp.
References ndn::Block::blockFromValue(), ndn::tlv::security::CertificatePackage, ndn::Block::get(), ndn::tlv::security::KeyPackage, ndn::Block::parse(), ndn::Block::value(), ndn::Block::value_size(), and ndn::IdentityCertificate::wireDecode().
Referenced by SecuredBag().
const Block & ndn::SecuredBag::wireEncode | ( | ) | const |
Definition at line 73 of file secured-bag.cpp.
References ndn::Block::encode().
|
inline |
Definition at line 61 of file secured-bag.hpp.
Referenced by ndn::security::KeyChain::importIdentity().
|
inline |
Definition at line 67 of file secured-bag.hpp.
Referenced by ndn::security::KeyChain::importIdentity().