The CryptoKeyPair is a simple dictionary object with publicKey and privateKey properties, representing an asymmetric key pair.

v15.0.0

interface CryptoKeyPair {
    privateKey: CryptoKey;
    publicKey: CryptoKey;
}

Properties

privateKey: CryptoKey

A CryptoKey whose type will be 'private'.

v15.0.0

publicKey: CryptoKey

A CryptoKey whose type will be 'public'.

v15.0.0