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.
This topic has not yet been rated - Rate this topic

Methods

Web Cryptography API methods.

In this section

TopicDescription

abort

Aborts the current CryptoOperation.

decrypt

Decrypts buffer's data using the algorithm and key parameters.

deriveKey

Returns a KeyOperation object which will generate a key for the specified derivedKeyType, using the specified cryptographic key derivation algorithm with the given baseKey as input.

digest

Returns a CryptoOperation object that can digest data using the specified cryptographic hash algorithm.

encrypt

Encrypts buffer's data using the algorithm and key parameters.

exportKey

Exports the given key material of the Key object as specified by the key parameter.

finish

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

generateKey

Returns a new KeyOperation object which will generate a new key for use with the algorithm specified by the algorithm parameter.

getRandomValues

Places cryptographically random values into the given array.

importKey

Constructs a new Key object using the key data specified by the keyData parameter.

process

Requests that the current CryptoOperation cryptographically process the given data.

sign

Returns an object that can sign data using the specified algorithm and a Key object.

unwrapKey

This method is used to construct a Key object from encrypted key material.

verify

Returns an object that can verify that the given signature or message authentication code (MAC) is valid for the given data using the specified algorithm and key object. If the signature or MAC is invalid, then either the data or the signature/MAC has been tampered with since the signature/MAC was generated.

wrapKey

Returns a KeyOperation object which will asynchronously return an array containing the key material of key, encrypted with keyEncryptionKey using the specified keyWrappingAlgorithm.

 

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.