Task #3921
closed
Port fetching certificates from the requester to v2::Validator
Added by Alex Afanasyev almost 8 years ago.
Updated almost 8 years ago.
Description
This task is to "re-implement" certificate fetching from the same face the command/signed interest is retrieved from the old Validator implementation.
I am considering adding a network retrieval interface that can be updated/extended. I will try to update with more details when I have them, the current thinking is to have something like this
class KeyFetchingInterface
{
public:
void
fetchKeyFromNetwork(const shared_ptr<KeyRequest>& keyRequest,
const shared_ptr<ValidationState>& state, (?) accessToValidatorCaches,
const Continuation& continue);
};
I see the following use cases for such interfaces:
- basic certificate retrieval (same as currently hard-coded in the validator)
- direct fetch retrieval extension (for certificate only; for all certificate---the latter requires custom data in the ValidatorState)
- key bundle retrieval
- NDNS lookup
Some, if not all, retrival mechanism may need to get combined.
- Status changed from New to In Progress
- Assignee set to Alex Afanasyev
- Status changed from In Progress to Code review
- % Done changed from 0 to 100
This issue is covered by the following commits:
- Status changed from Code review to Closed
Also available in: Atom
PDF