CryptoKey
The CryptoKey interface represents a cryptographic key obtained from one of the SubtleCrypto method importKey().
Instance properties
typereadonly- : The type of key the object represents. It may take one of the following values:
"secret","private"or"public".
- : The type of key the object represents. It may take one of the following values:
extractablereadonly- : A boolean value indicating whether or not the key may be extracted.
algorithmreadonly- : An object describing the algorithm for which this key can be used and any associated extra parameters.
usagesreadonly- : An
Arrayof strings, indicating what can be done with the key. Possible values for array elements are"encrypt","decrypt","sign","verify","deriveKey","deriveBits","wrapKey", and"unwrapKey".
- : An