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

A group of trust anchors. More...

#include <trust-anchor-group.hpp>

Inheritance diagram for ndn::security::v2::TrustAnchorGroup:
Collaboration diagram for ndn::security::v2::TrustAnchorGroup:

Public Member Functions

 TrustAnchorGroup (CertContainerInterface &certContainer, const std::string &id)
 Create an anchor group. More...
 
virtual ~TrustAnchorGroup ()
 
const std::string & getId () const
 
size_t size () const
 
virtual void refresh ()
 Request certificate refresh. More...
 

Protected Attributes

CertContainerInterfacem_certs
 
std::set< Namem_anchorNames
 

Detailed Description

A group of trust anchors.

Definition at line 51 of file trust-anchor-group.hpp.

Constructor & Destructor Documentation

ndn::security::v2::TrustAnchorGroup::TrustAnchorGroup ( CertContainerInterface certContainer,
const std::string &  id 
)

Create an anchor group.

Definition at line 40 of file trust-anchor-group.cpp.

References ~TrustAnchorGroup().

ndn::security::v2::TrustAnchorGroup::~TrustAnchorGroup ( )
virtualdefault

Referenced by TrustAnchorGroup().

Member Function Documentation

const std::string& ndn::security::v2::TrustAnchorGroup::getId ( ) const
inline
Returns
group id

Definition at line 66 of file trust-anchor-group.hpp.

size_t ndn::security::v2::TrustAnchorGroup::size ( ) const
Returns
number of certificates in the group

Definition at line 49 of file trust-anchor-group.cpp.

References m_anchorNames.

void ndn::security::v2::TrustAnchorGroup::refresh ( )
virtual

Request certificate refresh.

Reimplemented in ndn::security::v2::DynamicTrustAnchorGroup.

Definition at line 55 of file trust-anchor-group.cpp.

Member Data Documentation

std::set<Name> ndn::security::v2::TrustAnchorGroup::m_anchorNames
protected

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