A group of trust anchors. More...
#include <trust-anchor-group.hpp>
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 | |
CertContainerInterface & | m_certs |
std::set< Name > | m_anchorNames |
A group of trust anchors.
Definition at line 51 of file trust-anchor-group.hpp.
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.
|
virtualdefault |
|
inline |
Definition at line 66 of file trust-anchor-group.hpp.
size_t ndn::security::v2::TrustAnchorGroup::size | ( | ) | const |
Definition at line 49 of file trust-anchor-group.cpp.
References m_anchorNames.
|
virtual |
Request certificate refresh.
Reimplemented in ndn::security::v2::DynamicTrustAnchorGroup.
Definition at line 55 of file trust-anchor-group.cpp.
|
protected |
Definition at line 84 of file trust-anchor-group.hpp.
Referenced by ndn::security::v2::StaticTrustAnchorGroup::add(), ndn::security::v2::DynamicTrustAnchorGroup::refresh(), and ndn::security::v2::StaticTrustAnchorGroup::remove().
|
protected |
Definition at line 85 of file trust-anchor-group.hpp.
Referenced by ndn::security::v2::StaticTrustAnchorGroup::add(), ndn::security::v2::DynamicTrustAnchorGroup::refresh(), ndn::security::v2::StaticTrustAnchorGroup::remove(), and size().