identityName | The name of the identity. |
params | The key parameters if a key needs to be generated for the identity. |
identityName | The name of the identity. |
params | (optional) The key parameters if a key needs to be generated for the identity. If omitted, use DEFAULT_KEY_PARAMS. |
data | The Data object with the signature to check. |
onVerified | If the signature is verified, this calls onVerified(data). NOTE: The library will log any exceptions thrown by this callback, but for better error handling the callback should catch and properly handle any exceptions. |
onVerifyFailed | If the signature check fails, this calls onVerifyFailed(data). NOTE: The library will log any exceptions thrown by this callback, but for better error handling the callback should catch and properly handle any exceptions. |
interest | The interest with the signature to check. |
onVerified | If the signature is verified, this calls onVerified(interest). NOTE: The library will log any exceptions thrown by this callback, but for better error handling the callback should catch and properly handle any exceptions. |
onVerifyFailed | If the signature check fails, this calls onVerifyFailed(interest). NOTE: The library will log any exceptions thrown by this callback, but for better error handling the callback should catch and properly handle any exceptions. |