Export (0) Print
Expand All
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.

CryptoOperation object

Deprecated. A CryptoOperation object provides methods and events for initialization, processing data, and completing a cryptographic operation.

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

 

DOM Information

Inheritance Hierarchy

The CryptoOperation does not inherit from any class or interface.

Members

The CryptoOperation object has these types of members:

Events

The CryptoOperation object has these events.

EventDescription
onabort

Deprecated. Fired when the current cryptographic operation (CryptoOperation) is aborted.

oncomplete

Deprecated.Fires when the current cryptographic operation completes.

onerror

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

onprogress

Deprecated.Fired periodically during the current cryptographic operation (CryptoOperation).

 

Methods

The CryptoOperation object has these methods.

MethodDescription
abort

Deprecated. Aborts the current CryptoOperation.

addEventListener

Registers an event handler for the specified event type.

dispatchEvent

Sends an event to the current element.

finish

Deprecated. Requests that the current CryptoOperation be completed, with its result returned asynchronously.

process

Deprecated. Requests that the current CryptoOperation cryptographically process the given data.

removeEventListener

Removes an event handler that the addEventListener method registered.

 

Properties

The CryptoOperation object has these properties.

PropertyAccess typeDescription

algorithm

Read-only

The KeyAlgorithm used to generate the cryptographic key.

key

Read-only

The Key object used to initialize the cryptographic operation (CryptoOperation).

result

Read-only

The result of the current cryptographic operation.

 

Remarks

A CryptoOperation object is returned from the encrypt, decrypt, sign, verify, and digest methods of the subtle property. A CryptoOperation object provides methods and events for dealing with initialization, processing data, and completing the cryptographic operation, yielding the final output.

 

 

Show:
© 2015 Microsoft