Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.38.4/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.38.4/ext/crypto/lib.deno_crypto.d.ts";

type

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