#include <secured-bag.hpp>
Classes | |
class | Error |
Public Member Functions | |
SecuredBag () | |
SecuredBag (const Block &wire) | |
SecuredBag (const v1::IdentityCertificate &cert, ConstBufferPtr key) | |
virtual | ~SecuredBag () |
void | wireDecode (const Block &wire) |
const Block & | wireEncode () const |
const v1::IdentityCertificate & | getCertificate () const |
ConstBufferPtr | getKey () const |
Definition at line 31 of file secured-bag.hpp.
ndn::SecuredBag::SecuredBag | ( | ) |
Definition at line 34 of file secured-bag.cpp.
Referenced by ndn::security::SecuredBag::Error::Error().
|
explicit |
Definition at line 39 of file secured-bag.cpp.
References wireDecode().
ndn::SecuredBag::SecuredBag | ( | const v1::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.
Referenced by ndn::security::SecuredBag::Error::Error().
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::security::v1::IdentityCertificate::wireDecode().
Referenced by ndn::security::SecuredBag::Error::Error(), and SecuredBag().
const Block & ndn::SecuredBag::wireEncode | ( | ) | const |
Definition at line 73 of file secured-bag.cpp.
References ndn::Block::encode().
Referenced by ndn::security::SecuredBag::Error::Error().
|
inline |
Definition at line 62 of file secured-bag.hpp.
Referenced by ndn::security::KeyChain::importIdentity().
|
inline |
Definition at line 68 of file secured-bag.hpp.
Referenced by ndn::security::KeyChain::importIdentity().