Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/ext/crypto/lib.deno_crypto.d.ts>CryptoKeyPair

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface CryptoKeyPair
import { type CryptoKeyPair } from "https://deno.land/x/deno@v1.39.0/ext/crypto/lib.deno_crypto.d.ts";

The CryptoKeyPair dictionary of the Web Crypto API represents a key pair for an asymmetric cryptography algorithm, also known as a public-key algorithm.

Properties

privateKey: CryptoKey
publicKey: CryptoKey
variable CryptoKeyPair
import { CryptoKeyPair } from "https://deno.land/x/deno@v1.39.0/ext/crypto/lib.deno_crypto.d.ts";

type

{ readonly prototype: CryptoKeyPair; new (): never; }