Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
CryptoKeyPair
The CryptoKeyPair object represents an asymmetric key pair with public and private keys.
The
generateKey method can be used to create CryptoKeyPair object for asymmetric algorithms such as ECDH or ECDSA.
Properties
| Property | Type | Description | 
|---|---|---|
| publicKey | CryptoKey | A public key. | 
| privateKey | CryptoKey | A private key. | 


