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

Helper for validator that uses SignedInterest + CommandInterest + Config policy and NetworkFetcher. More...

#include <validator-config.hpp>

Inheritance diagram for ndn::security::ValidatorConfig:
Collaboration diagram for ndn::security::ValidatorConfig:

Public Types

using SignedInterestOptions = ValidationPolicySignedInterest::Options
 
using CommandInterestOptions = ValidationPolicyCommandInterest::Options
 

Public Member Functions

 ValidatorConfig (std::unique_ptr< CertificateFetcher > fetcher, const CommandInterestOptions &ciOptions={}, const SignedInterestOptions &siOptions={})
 
 ValidatorConfig (Face &face, const CommandInterestOptions &ciOptions={}, const SignedInterestOptions &siOptions={})
 
void load (const std::string &filename)
 
void load (const std::string &input, const std::string &filename)
 
void load (std::istream &input, const std::string &filename)
 
void load (const validator_config::ConfigSection &configSection, const std::string &filename)
 

Public Attributes

NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE __pad0__: ValidationPolicyConfig& m_policyConfig
 

Detailed Description

Helper for validator that uses SignedInterest + CommandInterest + Config policy and NetworkFetcher.

Definition at line 37 of file validator-config.hpp.

Member Typedef Documentation

◆ SignedInterestOptions

using ndn::security::ValidatorConfig::SignedInterestOptions = ValidationPolicySignedInterest::Options

Definition at line 41 of file validator-config.hpp.

◆ CommandInterestOptions

using ndn::security::ValidatorConfig::CommandInterestOptions = ValidationPolicyCommandInterest::Options

Definition at line 42 of file validator-config.hpp.

Constructor & Destructor Documentation

◆ ValidatorConfig() [1/2]

ndn::security::ValidatorConfig::ValidatorConfig ( std::unique_ptr< CertificateFetcher >  fetcher,
const CommandInterestOptions ciOptions = {},
const SignedInterestOptions siOptions = {} 
)
explicit

Definition at line 28 of file validator-config.cpp.

◆ ValidatorConfig() [2/2]

ndn::security::ValidatorConfig::ValidatorConfig ( Face face,
const CommandInterestOptions ciOptions = {},
const SignedInterestOptions siOptions = {} 
)
explicit

Definition at line 41 of file validator-config.cpp.

Member Function Documentation

◆ load() [1/4]

void ndn::security::ValidatorConfig::load ( const std::string &  filename)

◆ load() [2/4]

void ndn::security::ValidatorConfig::load ( const std::string &  input,
const std::string &  filename 
)

Definition at line 55 of file validator-config.cpp.

◆ load() [3/4]

void ndn::security::ValidatorConfig::load ( std::istream &  input,
const std::string &  filename 
)

Definition at line 61 of file validator-config.cpp.

◆ load() [4/4]

void ndn::security::ValidatorConfig::load ( const validator_config::ConfigSection &  configSection,
const std::string &  filename 
)

Definition at line 67 of file validator-config.cpp.

Member Data Documentation

◆ __pad0__

NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE ndn::security::ValidatorConfig::__pad0__

Definition at line 69 of file validator-config.hpp.


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