generateKey method

Future generateKey(
  1. dynamic algorithm,
  2. bool extractable,
  3. Iterable<KeyUsage> keyUsages
)

Implementation

Future<dynamic> generateKey(
        dynamic algorithm, bool extractable, Iterable<KeyUsage> keyUsages) =>
    js_util.promiseToFuture(js_util.callMethod(this, 'generateKey',
        [algorithm, extractable, keyUsages.map((e) => e.value)]));