A SubtleCrypto object provides the entry point to the subtle cryptographic methods, properties, and events, which provide access to browser implementations of commonly used low-level cryptographic functions.
var subtle = window.crypto.subtle || window.msCrypto.subtle;
Inheritance HierarchyThe SubtleCrypto does not inherit from any class or interface.
The SubtleCrypto object has these types of members:
The SubtleCrypto object has these methods.
Decrypts buffer's data using the algorithm and key parameters.
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.
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.
Returns a new KeyOperation object which will generate a new key for use with the algorithm specified by the algorithm parameter.
Constructs a new Key object using the key data specified by the keyData parameter.
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 KeyOperation object which will asynchronously return an array containing the key material of key, encrypted with keyEncryptionKey using the specified keyWrappingAlgorithm.
Build date: 11/17/2013