#include <validator-null.hpp>


Public Member Functions | |
| virtual | ~ValidatorNull () |
Public Member Functions inherited from ndn::security::Validator | |
| Validator (Face *face=nullptr) | |
| Validator constructor. More... | |
| Validator (Face &face) | |
| virtual | ~Validator () |
| void | validate (const Data &data, const OnDataValidated &onValidated, const OnDataValidationFailed &onValidationFailed) |
| Validate Data and call either onValidated or onValidationFailed. More... | |
| void | validate (const Interest &interest, const OnInterestValidated &onValidated, const OnInterestValidationFailed &onValidationFailed) |
| Validate Interest and call either onValidated or onValidationFailed. More... | |
Protected Member Functions | |
| virtual void | checkPolicy (const Data &data, int nSteps, const OnDataValidated &onValidated, const OnDataValidationFailed &onValidationFailed, std::vector< shared_ptr< ValidationRequest > > &nextSteps) |
| virtual void | checkPolicy (const Interest &interest, int nSteps, const OnInterestValidated &onValidated, const OnInterestValidationFailed &onValidationFailed, std::vector< shared_ptr< ValidationRequest > > &nextSteps) |
Protected Member Functions inherited from ndn::security::Validator | |
| virtual void | checkPolicy (const Data &data, int nSteps, const OnDataValidated &onValidated, const OnDataValidationFailed &onValidationFailed, std::vector< shared_ptr< ValidationRequest >> &nextSteps)=0 |
| Check the Data against policy and return the next validation step if necessary. More... | |
| virtual void | checkPolicy (const Interest &interest, int nSteps, const OnInterestValidated &onValidated, const OnInterestValidationFailed &onValidationFailed, std::vector< shared_ptr< ValidationRequest >> &nextSteps)=0 |
| Check the Interest against validation policy and return the next validation step if necessary. More... | |
| void | onData (const Interest &interest, const Data &data, const shared_ptr< ValidationRequest > &nextStep) |
| Process the received certificate. More... | |
| void | validate (const Data &data, const OnDataValidated &onValidated, const OnDataValidationFailed &onValidationFailed, int nSteps) |
| void | validate (const Interest &interest, const OnInterestValidated &onValidated, const OnInterestValidationFailed &onValidationFailed, int nSteps) |
| virtual shared_ptr< const Data > | preCertificateValidation (const Data &data) |
| Hooks. More... | |
| virtual void | onNack (const Interest &interest, const lp::Nack &nack, int nRemainingRetries, const OnFailure &onFailure, const shared_ptr< ValidationRequest > &validationRequest) |
| trigger when interest retrieves a Nack. More... | |
| virtual void | onTimeout (const Interest &interest, int nRemainingRetries, const OnFailure &onFailure, const shared_ptr< ValidationRequest > &validationRequest) |
| trigger when interest for certificate times out. More... | |
| virtual void | afterCheckPolicy (const std::vector< shared_ptr< ValidationRequest >> &nextSteps, const OnFailure &onFailure) |
| trigger after checkPolicy is done. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from ndn::security::Validator | |
| static bool | verifySignature (const Data &data, const v1::PublicKey &publicKey) |
| Verify the data using the publicKey. More... | |
| static bool | verifySignature (const Interest &interest, const v1::PublicKey &publicKey) |
| Verify the signed Interest using the publicKey. More... | |
| static bool | verifySignature (const Buffer &blob, const Signature &sig, const v1::PublicKey &publicKey) |
| Verify the blob using the publicKey against the signature. More... | |
| static bool | verifySignature (const Data &data, const Signature &sig, const v1::PublicKey &publicKey) |
| Verify the data using the publicKey against the SHA256-RSA signature. More... | |
| static bool | verifySignature (const Interest &interest, const Signature &sig, const v1::PublicKey &publicKey) |
| Verify the interest using the publicKey against the SHA256-RSA signature. More... | |
| static bool | verifySignature (const uint8_t *buf, const size_t size, const Signature &sig, const v1::PublicKey &publicKey) |
| Verify the blob using the publicKey against the SHA256-RSA signature. More... | |
| static bool | verifySignature (const Data &data, const DigestSha256 &sig) |
| Verify the data against the SHA256 signature. More... | |
| static bool | verifySignature (const Interest &interest, const DigestSha256 &sig) |
| Verify the interest against the SHA256 signature. More... | |
| static bool | verifySignature (const Buffer &blob, const DigestSha256 &sig) |
| Verify the blob against the SHA256 signature. More... | |
| static bool | verifySignature (const uint8_t *buf, const size_t size, const DigestSha256 &sig) |
| Verify the blob against the SHA256 signature. More... | |
Protected Types inherited from ndn::security::Validator | |
| typedef function< void(const std::string &)> | OnFailure |
Protected Attributes inherited from ndn::security::Validator | |
| Face * | m_face |
Definition at line 33 of file validator-null.hpp.
|
inlinevirtual |
Definition at line 37 of file validator-null.hpp.
|
inlineprotectedvirtual |
Definition at line 43 of file validator-null.hpp.
|
inlineprotectedvirtual |
Definition at line 53 of file validator-null.hpp.