Methods
Web Cryptography API methods.
In this section
| Topic | Description |
|---|---|
|
Deprecated. Aborts the current CryptoOperation. | |
|
Decrypts buffer's data using the algorithm and key parameters. | |
|
Not yet supported. Returns a Promise object that will return an ArrayBuffer of bits using the specified algorithm and key. | |
|
Not yet supported. Returns a Promise object which will generate a key for the specified derivedKeyType, using the specified cryptographic key derivation algorithm with the given baseKey as input. | |
|
Returns a Promise object that can digest data using the specified cryptographic hash algorithm. | |
|
Encrypts buffer's data using the algorithm and key parameters. | |
|
Exports the given key material of the Key object as specified by the key parameter. | |
|
Deprecated. Requests that the current CryptoOperation be completed, with its result returned asynchronously. | |
|
Returns a new Promise object which will generate a new key for use with the algorithm specified by the algorithm parameter. | |
|
Places cryptographically random values into the given array. | |
|
Constructs a new Key object using the key data specified by the keyData parameter. | |
|
Deprecated. Requests that the current CryptoOperation cryptographically process the given data. | |
|
Returns an object that can sign data using the specified algorithm and a Key object. | |
|
This method is used to construct a Key object from encrypted key material. | |
|
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. | |
|
Returns a Promise object which will asynchronously return an array containing the key material of key, encrypted with keyEncryptionKey using the specified keyWrappingAlgorithm. |