ValidationRequest contains information related to further validation. More...
#include <validation-request.hpp>
Public Member Functions | |
ValidationRequest (const Interest &interest, const OnDataValidated &onDataValidated, const OnDataValidationFailed &onDataValidationFailed, int nRetries, int nSteps) | |
virtual | ~ValidationRequest () |
Public Attributes | |
Interest | m_interest |
the Interest for the requested data/certificate. More... | |
OnDataValidated | m_onDataValidated |
callback when the retrieved certificate is authenticated. More... | |
OnDataValidationFailed | m_onDataValidationFailed |
callback when the retrieved certificate cannot be authenticated. More... | |
int | m_nRetries |
the number of retries when the interest times out. More... | |
int | m_nSteps |
the number of validation steps that have been performed. More... | |
ValidationRequest contains information related to further validation.
During a validation process, validator may not have retrieved the corresponding public key of the signature in a packet. ValidationRequest contains the interest for the certificate that carries the public key and also contains the context for the certificate including how to proceed when the public key is authenticated or not, the number of validation steps that have been performed, and how to handle interest timeout.
Definition at line 53 of file validation-request.hpp.
|
inline |
Definition at line 56 of file validation-request.hpp.
|
inlinevirtual |
Definition at line 69 of file validation-request.hpp.
Interest ndn::ValidationRequest::m_interest |
the Interest for the requested data/certificate.
Definition at line 74 of file validation-request.hpp.
OnDataValidated ndn::ValidationRequest::m_onDataValidated |
callback when the retrieved certificate is authenticated.
Definition at line 76 of file validation-request.hpp.
OnDataValidationFailed ndn::ValidationRequest::m_onDataValidationFailed |
callback when the retrieved certificate cannot be authenticated.
Definition at line 78 of file validation-request.hpp.
int ndn::ValidationRequest::m_nRetries |
the number of retries when the interest times out.
Definition at line 80 of file validation-request.hpp.
int ndn::ValidationRequest::m_nSteps |
the number of validation steps that have been performed.
Definition at line 82 of file validation-request.hpp.