CryptoKeyPair

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.

Open source

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

PropertyTypeDescription
publicKeyCryptoKeyA public key.
privateKeyCryptoKeyA private key.