DOMCryptInternalAPI: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 33: Line 33:
== IDL ==
== IDL ==


<pre>
<pre class="brush:js;toolbar:false;">
interface nsIDOMCryptAPIKeyPair : nsISupports
interface nsIDOMCryptAPIKeyPair : nsISupports
{
{
Line 99: Line 99:
* The Hash and HMAC WebIDL from https://wiki.mozilla.org/Privacy/Features/DOMCryptAPISpec/Latest
* The Hash and HMAC WebIDL from https://wiki.mozilla.org/Privacy/Features/DOMCryptAPISpec/Latest
** Still need to spend some time on how these should be specified inside this internal API
** Still need to spend some time on how these should be specified inside this internal API
<pre>
<pre class="brush:js;toolbar:false;">
[Constructor(DOMString algorithm)]
[Constructor(DOMString algorithm)]
interface CryptoHash {
interface CryptoHash {
Line 112: Line 112:
};
};
</pre>
</pre>
* There is also the need for a symmetric encryption API, perhaps based on DHKE to specify  
* There is also the need for a symmetric encryption API, perhaps based on DHKE to specify
 
}}
}}
{{FeatureInfo
{{FeatureInfo
564

edits