method webcrypto.SubtleCrypto.importKey
Usage
import { type webcrypto } from "node:crypto";
The subtle.importKey() method attempts to interpret the provided keyData as the given format
to create a <CryptoKey> instance using the provided algorithm, extractable, and keyUsages arguments.
If the import is successful, the returned promise will be resolved with the created <CryptoKey>.
If importing a 'PBKDF2' key, extractable must be false.
keyData: JsonWebKey
Promise<CryptoKey>
Promise<CryptoKey>