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

std::set< Namem_anchorNames

Detailed Description

A group of trust anchors.

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

Constructor & Destructor Documentation

◆ TrustAnchorGroup()

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.

◆ ~TrustAnchorGroup()

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

Member Function Documentation

◆ getId()

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

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

◆ size()

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

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

References m_anchorNames.

◆ refresh()

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

Request certificate refresh.

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

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

Member Data Documentation

◆ m_certs

◆ m_anchorNames

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

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