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

Static trust anchor group. More...

#include <trust-anchor-group.hpp>

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

Public Member Functions

 StaticTrustAnchorGroup (CertContainerInterface &certContainer, const std::string &id)
 Create a static trust anchor group. More...
void add (Certificate &&cert)
 Load static anchor cert. More...
void remove (const Name &certName)
 Remove static anchor certName. More...
- Public Member Functions inherited from ndn::security::v2::TrustAnchorGroup
 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...

Additional Inherited Members

- Protected Attributes inherited from ndn::security::v2::TrustAnchorGroup
std::set< Namem_anchorNames

Detailed Description

Static trust anchor group.

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

Constructor & Destructor Documentation

◆ StaticTrustAnchorGroup()

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

Create a static trust anchor group.

certContainerReference to CertContainerInterface instance
idGroup id

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

Member Function Documentation

◆ add()

void ndn::security::v2::StaticTrustAnchorGroup::add ( Certificate &&  cert)

◆ remove()

void ndn::security::v2::StaticTrustAnchorGroup::remove ( const Name certName)

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