CryptoOperation object

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

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

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

oncomplete

Fires when the current cryptographic operation completes.

onerror

Fires when the current cryptographic operation encounters an error.

onprogress

Fired periodically during the current cryptographic operation (CryptoOperation).

 

Methods

The CryptoOperation object has these methods.

MethodDescription
abort

Aborts the current CryptoOperation.

addEventListener

Registers an event handler for the specified event type.

dispatchEvent

Sends an event to the current element.

finish

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

process

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 algorithm used to initialize the cryptographic operation (CryptoOperation).

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:
© 2014 Microsoft