ndn::security::validator_config::Checker::Result Class Reference

#include <ndn-cxx/security/validator-config/checker.hpp>

Public Member Functions

const std::string & getErrorMessage () const
 Return checker error message. More...
 
 operator bool () const
 Return true if the check matches, false otherwise. More...
 

Detailed Description

Definition at line 39 of file checker.hpp.

Member Function Documentation

◆ getErrorMessage()

const std::string& ndn::security::validator_config::Checker::Result::getErrorMessage ( ) const
inline

Return checker error message.

Precondition
!bool(*this)

Definition at line 57 of file checker.hpp.

◆ operator bool()

ndn::security::validator_config::Checker::Result::operator bool ( ) const
inlineexplicit

Return true if the check matches, false otherwise.

Return values
falsepacket does not pass the checker.
truepacket passes the checker. Further verification may be needed.

Definition at line 47 of file checker.hpp.