NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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

◆ SecuredBag() [1/3]

ndn::SecuredBag::SecuredBag ( )

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

◆ SecuredBag() [2/3]

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

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

References wireDecode().

◆ SecuredBag() [3/3]

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

◆ ~SecuredBag()

ndn::SecuredBag::~SecuredBag ( )
virtual

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

Member Function Documentation

◆ wireDecode()

◆ wireEncode()

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

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

References ndn::Block::encode().

◆ getCertificate()

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

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

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

◆ getKey()

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: