toCryptoKey

fun toCryptoKey(algorithm: AlgorithmIdentifier, extractable: Boolean, keyUsages: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<ERROR CLASS: Symbol not found for web.crypto.KeyUsage>): ERROR CLASS: Symbol not found for web.crypto.CryptoKey(source)
fun toCryptoKey(algorithm: ERROR CLASS: Symbol not found for web.crypto.RsaHashedImportParams, extractable: Boolean, keyUsages: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<ERROR CLASS: Symbol not found for web.crypto.KeyUsage>): ERROR CLASS: Symbol not found for web.crypto.CryptoKey(source)
fun toCryptoKey(algorithm: ERROR CLASS: Symbol not found for web.crypto.EcKeyImportParams, extractable: Boolean, keyUsages: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<ERROR CLASS: Symbol not found for web.crypto.KeyUsage>): ERROR CLASS: Symbol not found for web.crypto.CryptoKey(source)
fun toCryptoKey(algorithm: ERROR CLASS: Symbol not found for web.crypto.HmacImportParams, extractable: Boolean, keyUsages: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<ERROR CLASS: Symbol not found for web.crypto.KeyUsage>): ERROR CLASS: Symbol not found for web.crypto.CryptoKey(source)

Converts a KeyObject instance to a CryptoKey.

Since

22.10.0