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. |