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

A handler to search or enumerate keys of an identity. More...

#include <key-container.hpp>

Classes

class  const_iterator
 

Public Types

typedef const_iterator iterator
 

Public Member Functions

 KeyContainer ()
 
 KeyContainer (const Name &identity, std::set< name::Component > &&keyIds, shared_ptr< PibImpl > impl)
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator find (const name::Component &keyId) const
 
size_t size () const
 

Detailed Description

A handler to search or enumerate keys of an identity.

Definition at line 34 of file key-container.hpp.

Member Typedef Documentation

◆ iterator

Constructor & Destructor Documentation

◆ KeyContainer() [1/2]

ndn::security::KeyContainer::KeyContainer ( )

Definition at line 70 of file key-container.cpp.

◆ KeyContainer() [2/2]

ndn::security::KeyContainer::KeyContainer ( const Name identity,
std::set< name::Component > &&  keyIds,
shared_ptr< PibImpl impl 
)

Definition at line 74 of file key-container.cpp.

Member Function Documentation

◆ begin()

KeyContainer::const_iterator ndn::security::KeyContainer::begin ( ) const

Definition at line 84 of file key-container.cpp.

◆ end()

KeyContainer::const_iterator ndn::security::KeyContainer::end ( ) const

Definition at line 90 of file key-container.cpp.

◆ find()

KeyContainer::const_iterator ndn::security::KeyContainer::find ( const name::Component keyId) const

Definition at line 96 of file key-container.cpp.

◆ size()

size_t ndn::security::KeyContainer::size ( ) const

Definition at line 102 of file key-container.cpp.


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