import { type GenerateKeyPairOptions } from "https://dotland.deno.dev/x/jose@v4.15.0/key/generate_key_pair.ts";
Properties
The EC "crv" (Curve) or OKP "crv" (Subtype of Key Pair) value to generate. The curve must be both supported on the runtime as well as applicable for the given JWA algorithm identifier.
A hint for RSA algorithms to generate an RSA key of a given modulusLength
(Key size in bits).
JOSE requires 2048 bits or larger. Default is 2048.
(Only effective in Web Crypto API runtimes) The value to use as
SubtleCrypto.generateKey()
extractable
argument. Default is false.