type alias ImportPublicKeyOptions

Options for importing a public 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.

Usage

import { type ImportPublicKeyOptions } from ".";