function importPrivateKey
importPrivateKey(jwkString: string): Promise<CryptoKey>

Import a private key from JWK string

Parameters

jwkString: string

Return Type

Promise<CryptoKey>

Usage

import { importPrivateKey } from "docs/crypto.ts";