Key object
Object that represents an opaque reference to keying material (managed by the browser).
![]() |
DOM Information
Inheritance Hierarchy
The Key does not inherit from any class or interface.Members
The Key object has these types of members:
Properties
The Key object has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only |
The KeyAlgorithm used to generate the cryptographic key. | |
| Read-only |
Indicates if the keying material can be exported. | |
| Read-only |
Indicates what type of cryptographic operations may be used with this key. | |
| Read-only |
Indicates the key type. |
Remarks
An opaque key representation is one in which there is no direct access to the keying material (constituting the key). The Key object supports structured cloning and therefore can be cloned to indexedDB for storage, or sent using mechanisms such as postMessage.
Show:
