Skip to main content
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface ECKeyPairOptions
import { type ECKeyPairOptions } from "https://deno.land/std@0.141.0/node/internal/crypto/keygen.ts";

Type Parameters

PubF extends KeyFormat
PrivF extends KeyFormat

Properties

namedCurve: string

Name of the curve to use.

publicKeyEncoding: { type: "pkcs1" | "spki"; format: PubF; }
privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & { type: "sec1" | "pkcs8"; }