reportSignature method

Future<void> reportSignature(
  1. ReportSignatureDetails details
)

Should be called as a response to onSignatureRequested. The extension must eventually call this function for every onSignatureRequested event; the API implementation will stop waiting for this call after some time and respond with a timeout error when this function is called.

Implementation

Future<void> reportSignature(ReportSignatureDetails details) async {
  await promiseToFuture<void>(
      $js.chrome.certificateProvider.reportSignature(details.toJS));
}