Changes

Jump to: navigation, search

Privacy/Features/DOMCryptAPISpec/Latest

277 bytes removed, 19:20, 26 July 2011
Browser Window property WebIDL
: an encryption key used for symmetric encryption
== Browser Window property WebIDL ==
 
;window.mozCrypto<br>
 
All windows will have this property (in the current implementation) for the time being as this API is hashed out.
 
The property is namespaced in order to provide future capabilities.<br>
 
<pre class="brush:js;toolbar:false;">
[Supplemental]
interface Crypto {
readonly attribute CryptoPk pk;
// readonly attribute CryptoSym symCryptoSign sign; // TBD
};
void decrypt(ArrayBuffer message, ArrayBuffer keyID, PKDecryptCallback callback);
 
};
 
interface CryptoSign {
void sign(ArrayBuffer keyID, ArrayBuffer plainText, PKSignCallback callback);
};
 
</pre>
== Notes ==
564
edits

Navigation menu