webcrypto.CryptoKeyPair - Node documentation
interface webcrypto.CryptoKeyPair

Usage in Deno

import { type webcrypto } from "node:crypto";
type { CryptoKeyPair } = webcrypto;

The CryptoKeyPair is a simple dictionary object with publicKey and privateKey properties, representing an asymmetric key pair.

Properties

A CryptoKey whose type will be 'private'.

A CryptoKey whose type will be 'public'.