NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::SecuredBag Class Reference

#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 BlockwireEncode () const
 
const IdentityCertificategetCertificate () const
 
ConstBufferPtr getKey () const
 

Detailed Description

Definition at line 30 of file secured-bag.hpp.

Constructor & Destructor Documentation

ndn::SecuredBag::SecuredBag ( )

Definition at line 34 of file secured-bag.cpp.

Referenced by ndn::SecuredBag::Error::Error().

ndn::SecuredBag::SecuredBag ( const Block wire)
explicit

Definition at line 39 of file secured-bag.cpp.

References wireDecode().

ndn::SecuredBag::SecuredBag ( const IdentityCertificate cert,
ConstBufferPtr  key 
)
ndn::SecuredBag::~SecuredBag ( )
virtual

Definition at line 55 of file secured-bag.cpp.

Referenced by ndn::SecuredBag::Error::Error().

Member Function Documentation

const Block & ndn::SecuredBag::wireEncode ( ) const

Definition at line 73 of file secured-bag.cpp.

References ndn::Block::encode().

Referenced by ndn::SecuredBag::Error::Error().

const IdentityCertificate& ndn::SecuredBag::getCertificate ( ) const
inline

Definition at line 61 of file secured-bag.hpp.

Referenced by ndn::security::KeyChain::importIdentity().

ConstBufferPtr ndn::SecuredBag::getKey ( ) const
inline

Definition at line 67 of file secured-bag.hpp.

Referenced by ndn::security::KeyChain::importIdentity().


The documentation for this class was generated from the following files: