CryptoKeyPair
interface
interface CryptoKeyPairThe CryptoKeyPair dictionary of the Web Crypto API represents a key pair for an asymmetric cryptography algorithm, also known as a public-key algorithm.
variable
var CryptoKeyPair: { … }The constructor object for CryptoKeyPair.
CryptoKeyPair objects are returned by SubtleCrypto.generateKey
for asymmetric algorithms and cannot be constructed directly, so calling the
constructor throws.
Constructors
constructor
new CryptoKeyPair(): neverProperties
privateKey
privateKey: CryptoKeypublicKey
publicKey: CryptoKeyprototype
readonly prototype: CryptoKeyPair