new ValidationPolicyFromPib(pib)
ValidationPolicyFromPib extends ValidationPolicy to implement a validator
policy that validates a packet using the default certificate of the key in
the PIB that is named by the packet's KeyLocator.
Create a ValidationPolicyFromPib to use the given PIB.
Parameters:
Name | Type | Description |
---|---|---|
pib |
Pib | The PIB with certificates. |
Methods
checkPolicy(dataOrInterest, state, continueValidation)
Parameters:
Name | Type | Description |
---|---|---|
dataOrInterest |
Data | Interest | |
state |
ValidationState | |
continueValidation |
function |