W3cubDocs

/Deno

CryptoKeyPair

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

interface CryptoKeyPair {
privateKey: CryptoKey;
publicKey: CryptoKey;
}
var CryptoKeyPair: {
prototype: CryptoKeyPair;
new (): CryptoKeyPair;
}
;

Properties

privateKey: CryptoKey
publicKey: CryptoKey

© 2018–2021 the Deno authors
https://doc.deno.land/deno/stable/~/CryptoKeyPair