Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

KeyOperation object

Deprecated.A KeyOperation object is returned by SubtleCrypto's generateKey, deriveKey, importKey, exportKey, wrapKey, and unwrapKey methods.

Warning  As of Project Spartan, KeyOperation has been replaced by a Promise object as the return value for cryptographic key operations. See Web Cryptography API updates for more info.
IE11

 

DOM Information

Inheritance Hierarchy

The KeyOperation does not inherit from any class or interface.

Members

The KeyOperation object has these types of members:

Events

The KeyOperation object has these events.

EventDescription
oncomplete

Deprecated.Fires when the current cryptographic operation completes.

onerror

Deprecated.Fires when the current cryptographic operation encounters an error.

 

Methods

The KeyOperation object has these methods.

MethodDescription
addEventListener

Registers an event handler for the specified event type.

dispatchEvent

Sends an event to the current element.

removeEventListener

Removes an event handler that the addEventListener method registered.

 

Properties

The KeyOperation object has these properties.

PropertyAccess typeDescription

result

Read-only

The result of the current cryptographic operation.

 

 

 

Show:
© 2015 Microsoft