type alias ImportPrivateKeyOptions

Options for importing a private key into a CryptoKey.

Properties

Algorithm identifier for the key. Defaults to { name: "X25519" }.

optional
extractable: boolean

Whether the key can be exported. Defaults to true.

optional
keyUsages: KeyUsage[]

Array of key usages. Defaults to ["deriveBits"].

Usage

import { type ImportPrivateKeyOptions } from ".";