wrapKey method

Future wrapKey(
  1. KeyFormat format,
  2. CryptoKey key,
  3. CryptoKey wrappingKey,
  4. dynamic wrapAlgorithm,
)

Implementation

Future<dynamic> wrapKey(KeyFormat format, CryptoKey key,
        CryptoKey wrappingKey, dynamic wrapAlgorithm) =>
    js_util.promiseToFuture(js_util.callMethod(
        this, 'wrapKey', [format.value, key, wrappingKey, wrapAlgorithm]));