Key object

Object that represents an opaque reference to keying material (managed by the browser).

IE11

 

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.

PropertyAccess typeDescription

algorithm

Read-only

The KeyAlgorithm used to generate the cryptographic key.

extractable

Read-only

Indicates if the keying material can be exported.

keyUsage

Read-only

Indicates what type of cryptographic operations may be used with this key.

type

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: