Static trust anchor group. More...
#include <ndn-cxx/security/trust-anchor-group.hpp>
Inheritance diagram for ndn::security::StaticTrustAnchorGroup:
Collaboration diagram for ndn::security::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... | |
| 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 92 of file trust-anchor-group.hpp.
| ndn::security::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 62 of file trust-anchor-group.cpp.
| void ndn::security::StaticTrustAnchorGroup::add | ( | Certificate && | cert | ) |
Load static anchor cert.
Definition at line 68 of file trust-anchor-group.cpp.
|
inlineinherited |
Definition at line 64 of file trust-anchor-group.hpp.
|
virtualinherited |
Request certificate refresh.
Reimplemented in ndn::security::DynamicTrustAnchorGroup.
Definition at line 55 of file trust-anchor-group.cpp.
| void ndn::security::StaticTrustAnchorGroup::remove | ( | const Name & | certName | ) |
Remove static anchor certName.
Definition at line 79 of file trust-anchor-group.cpp.
|
inherited |
Definition at line 49 of file trust-anchor-group.cpp.
|
protectedinherited |
Definition at line 83 of file trust-anchor-group.hpp.
|
protectedinherited |
Definition at line 82 of file trust-anchor-group.hpp.