GeezerVison is showing developer.mozilla.org — CryptoKey - Web APIs | MDN
CryptoKey
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2016.
CryptoKey.type Read only
-
The type of key the object represents. It may take one of the following values: "secret", "private" or "public".
CryptoKey.extractable Read only
-
A boolean value indicating whether or not the key may be extracted using SubtleCrypto.exportKey() or SubtleCrypto.wrapKey().
CryptoKey.algorithm Read only
-
An object describing the algorithm for which this key can be used and any associated extra parameters.
CryptoKey.usages Read only
-
An Array of strings, indicating what can be done with the key. Possible values for array elements are "encrypt", "decrypt", "sign", "verify", "deriveKey", "deriveBits", "wrapKey", and "unwrapKey".
The examples for SubtleCrypto methods often use CryptoKey objects. For example: