This is documentation for the next version of Grafana k6 documentation. For the latest stable release, go to the latest 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. |


