Skip to content

ImportEcKeyInput ​

ImportEcKeyInput ​

ECDSA variant of PublicKeyImportInput / PrivateKeyImportInput.

ts
interface ImportEcKeyInput {
	readonly kind: "ecdsa";
	readonly curve: EcNamedCurve;
}

Properties

  • readonly kind: "ecdsa" — Discriminant selecting ECDSA import.
  • readonly curve: EcNamedCurve — NIST curve the key belongs to. Required for EC import.

Released under the MIT License.