Class: ValidationRequest

ValidationRequest

new ValidationRequest(interest, onVerified, onVerifyFailed, retry, stepCount)

A ValidationRequest is used to return information from PolicyManager.checkVerificationPolicy. Create a new ValidationRequest with the given values.
Parameters:
Name Type Description
interest Interest An interest for fetching more data.
onVerified function If the signature is verified, this calls onVerified(data).
onVerifyFailed function If the signature check fails, this calls onVerifyFailed(data).
retry boolean
stepCount number The number of verification steps that have been done, used to track the verification progress.
Source: