Privacy/Features/DOMCryptAPISpec/Latest: Difference between revisions

Jump to navigation Jump to search
Line 38: Line 38:
; Symmetric Key
; Symmetric Key
: an encryption key used for symmetric encryption
: an encryption key used for symmetric encryption
== Objects ==
Note: Object definitions below are written in JSON.
;cipherConfiguration
A JSON Object which labels the Key Pairs, staring with a "default" Key Pair. This allows for multiple Key Pairs in the future.
<pre class="brush:js;toolbar:false;">
{
  "default": {
    "created"  : 1305140629979,
    "privKey"  : <BASE64 ENCODEDED PRIVATE KEY>,
    "pubKey"    : <BASE64 ENCODEDED PUBLIC KEY>,
    "salt"      : <ENCODED or ENCRYPTED Salt>,
    "iv"        : <ENCODED or ENCRYPTED IV>,
    "algorithm" : "AES_256_CBC",
  } 
</pre>


== Browser Window property WebIDL ==
== Browser Window property WebIDL ==
564

edits

Navigation menu