new ValidationPolicyAcceptAll()
ValidationPolicyAcceptAll extends ValidationPolicy to implement a validator
policy that accepts any signature of a Data or Interest packet.
Methods
checkPolicy(dataOrInterest, state, continueValidation)
Parameters:
Name | Type | Description |
---|---|---|
dataOrInterest |
Data | Interest | |
state |
ValidationState | |
continueValidation |
function |