TrustAnchorGroup represents a group of trust anchors which implement the CertificateContainerInterface.
More...
#include <trust-anchor-group.hpp>
TrustAnchorGroup represents a group of trust anchors which implement the CertificateContainerInterface.
Create a TrustAnchorGroup to use an existing container.
- Parameters
-
| certificateContainer | The existing certificate container. |
| id | The group ID. |
| const std::string& ndn::TrustAnchorGroup::getId |
( |
| ) |
const |
|
inline |
Get the group id given to the constructor.
- Returns
- The group id.
| ptr_lib::shared_ptr< CertificateV2 > ndn::TrustAnchorGroup::readCertificate |
( |
const std::string & |
filePath | ) |
|
|
static |
Read a base-64-encoded certificate from a file.
- Parameters
-
| filePath | The certificate file path. |
- Returns
- The decoded certificate, or null if there is an error.
| void ndn::TrustAnchorGroup::refresh |
( |
| ) |
|
|
virtual |
| size_t ndn::TrustAnchorGroup::size |
( |
| ) |
const |
|
inline |
Get the number of certificates in the group.
- Returns
- The number of certificates.
The documentation for this class was generated from the following files: