Static trust anchor group. More...
#include <ndn-cxx/security/trust-anchor-group.hpp>
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... | |
const std::string & | getId () const |
virtual void | refresh () |
Request certificate refresh. More... | |
void | remove (const Name &certName) |
Remove static anchor certName . More... | |
size_t | size () const |
Protected Attributes | |
std::set< Name > | m_anchorNames |
CertContainerInterface & | m_certs |
Static trust anchor group.
Definition at line 94 of file trust-anchor-group.hpp.
ndn::security::v2::StaticTrustAnchorGroup::StaticTrustAnchorGroup | ( | CertContainerInterface & | certContainer, |
const std::string & | id | ||
) |
Create a static trust anchor group.
certContainer | Reference to CertContainerInterface instance |
id | Group id |
Definition at line 61 of file trust-anchor-group.cpp.
void ndn::security::v2::StaticTrustAnchorGroup::add | ( | Certificate && | cert | ) |
Load static anchor cert
.
Definition at line 67 of file trust-anchor-group.cpp.
|
inlineinherited |
Definition at line 66 of file trust-anchor-group.hpp.
|
virtualinherited |
Request certificate refresh.
Reimplemented in ndn::security::v2::DynamicTrustAnchorGroup.
Definition at line 54 of file trust-anchor-group.cpp.
void ndn::security::v2::StaticTrustAnchorGroup::remove | ( | const Name & | certName | ) |
Remove static anchor certName
.
Definition at line 78 of file trust-anchor-group.cpp.
|
inherited |
Definition at line 48 of file trust-anchor-group.cpp.
|
protectedinherited |
Definition at line 85 of file trust-anchor-group.hpp.
|
protectedinherited |
Definition at line 84 of file trust-anchor-group.hpp.