Interface ECKeyPairOptions<PubF, PrivF>

Type Parameters

Hierarchy

  • ECKeyPairOptions

Properties

namedCurve: string

Name of the curve to use.

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

Type declaration

  • format: PubF
  • type: "pkcs1" | "spki"

Generated using TypeDoc