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

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

Detailed Description

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

Constructor & Destructor Documentation

◆ SecuredBag() [1/3]

ndn::SecuredBag::SecuredBag ( )

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

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

◆ 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 v1::IdentityCertificate cert,
ConstBufferPtr  key 
)

◆ ~SecuredBag()

ndn::SecuredBag::~SecuredBag ( )
virtual

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

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

Member Function Documentation

◆ wireDecode()

◆ wireEncode()

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().

◆ getCertificate()

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

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

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

◆ getKey()

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

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

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


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