Skip to content

Commit

Permalink
Fix usage of "new ArrayBuffer" in SHA
Browse files Browse the repository at this point in the history
SHA: 4a6e3e8
Reason: push, by twiss

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
twiss and github-actions[bot] committed Sep 17, 2024
1 parent 802ab40 commit e7c4d48
Showing 1 changed file with 41 additions and 40 deletions.
81 changes: 41 additions & 40 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@


<meta name="color-scheme" content="light">
<meta name="revision" content="8cf26a01f80b5c02e1ee6111a118f17a6391ac6a">
<meta name="revision" content="4a6e3e8f9f910a9d104812cc238f837e832944f4">
<meta name="description" content="This specification describes a JavaScript API for performing basic
cryptographic operations in web applications, such as hashing,
signature generation and verification, and encryption and decryption.
Expand Down Expand Up @@ -216,17 +216,17 @@
"id": "x690"
}
},
"gitRevision": "8cf26a01f80b5c02e1ee6111a118f17a6391ac6a",
"publishISODate": "2024-09-16T00:00:00.000Z",
"generatedSubtitle": "W3C Editor's Draft 16 September 2024"
"gitRevision": "4a6e3e8f9f910a9d104812cc238f837e832944f4",
"publishISODate": "2024-09-17T00:00:00.000Z",
"generatedSubtitle": "W3C Editor's Draft 17 September 2024"
}</script>
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED"></head>

<body class="h-entry" data-cite="WEBIDL html dom webidl infra encoding"><div class="head">
<p class="logos"><a class="logo" href="https://www.w3.org/"><img crossorigin="" alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72">
</a></p>
<h1 id="title" class="title">Web Cryptography API</h1>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">W3C Editor's Draft</a> <time class="dt-published" datetime="2024-09-16">16 September 2024</time></p>
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">W3C Editor's Draft</a> <time class="dt-published" datetime="2024-09-17">17 September 2024</time></p>
<details open="">
<summary>More details about this document</summary>
<dl>
Expand Down Expand Up @@ -10543,7 +10543,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
</li>
<li>
<p>
Let <var>key</var> be a new <code>{{CryptoKey}}</code> object representing an AES key with
Let <var>key</var> be a new <a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-84"><code>CryptoKey</code></a> object representing an AES key with
value <var>data</var>.
</p>
</li>
Expand Down Expand Up @@ -10749,12 +10749,12 @@ <h1 id="title" class="title">Web Cryptography API</h1>
<tr>
<td>generateKey</td>
<td><a data-link-type="idl" data-lt="AesKeyGenParams" href="#dfn-AesKeyGenParams" class="internalDFN" id="ref-for-dfn-AesKeyGenParams-3"><code>AesKeyGenParams</code></a></td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-84"><code>CryptoKey</code></a></td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-85"><code>CryptoKey</code></a></td>
</tr>
<tr>
<td>importKey</td>
<td>None</td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-85"><code>CryptoKey</code></a></td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-86"><code>CryptoKey</code></a></td>
</tr>
<tr>
<td>exportKey</td>
Expand Down Expand Up @@ -10902,7 +10902,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
<li>
<p>
Let <var>key</var> be a new
<a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-86"><code>CryptoKey</code></a> object representing the
<a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-87"><code>CryptoKey</code></a> object representing the
generated AES key.
</p>
</li>
Expand Down Expand Up @@ -11076,7 +11076,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
</li>
<li>
<p>
Let <var>key</var> be a new <code>{{CryptoKey}}</code>
Let <var>key</var> be a new <a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-88"><code>CryptoKey</code></a>
object representing an AES key with value <var>data</var>.
</p>
</li>
Expand Down Expand Up @@ -11276,12 +11276,12 @@ <h1 id="title" class="title">Web Cryptography API</h1>
<tr>
<td>generateKey</td>
<td><a data-link-type="idl" data-lt="AesKeyGenParams" href="#dfn-AesKeyGenParams" class="internalDFN" id="ref-for-dfn-AesKeyGenParams-4"><code>AesKeyGenParams</code></a></td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-87"><code>CryptoKey</code></a></td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-89"><code>CryptoKey</code></a></td>
</tr>
<tr>
<td>importKey</td>
<td>None</td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-88"><code>CryptoKey</code></a></td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-90"><code>CryptoKey</code></a></td>
</tr>
<tr>
<td>exportKey</td>
Expand Down Expand Up @@ -11523,7 +11523,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
<li>
<p>
Let <var>key</var> be a new
<a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-89"><code>CryptoKey</code></a> object representing the
<a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-91"><code>CryptoKey</code></a> object representing the
generated AES key.
</p>
</li>
Expand Down Expand Up @@ -11697,7 +11697,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
</li>
<li>
<p>
Let <var>key</var> be a new <code>{{CryptoKey}}</code>
Let <var>key</var> be a new <a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-92"><code>CryptoKey</code></a>
object representing an AES key with value <var>data</var>.
</p>
</li>
Expand Down Expand Up @@ -11894,12 +11894,12 @@ <h1 id="title" class="title">Web Cryptography API</h1>
<tr>
<td>generateKey</td>
<td><a data-link-type="idl" data-lt="AesKeyGenParams" href="#dfn-AesKeyGenParams" class="internalDFN" id="ref-for-dfn-AesKeyGenParams-5"><code>AesKeyGenParams</code></a></td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-90"><code>CryptoKey</code></a></td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-93"><code>CryptoKey</code></a></td>
</tr>
<tr>
<td>importKey</td>
<td>None</td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-91"><code>CryptoKey</code></a></td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-94"><code>CryptoKey</code></a></td>
</tr>
<tr>
<td>exportKey</td>
Expand Down Expand Up @@ -11999,7 +11999,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
<li>
<p>
Let <var>key</var> be a new
<a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-92"><code>CryptoKey</code></a> object representing the
<a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-95"><code>CryptoKey</code></a> object representing the
generated AES key.
</p>
</li>
Expand Down Expand Up @@ -12173,7 +12173,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
</li>
<li>
<p>
Let <var>key</var> be a new <a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-93"><code>CryptoKey</code></a>
Let <var>key</var> be a new <a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-96"><code>CryptoKey</code></a>
representing an AES key with value <var>data</var>.
</p>
</li>
Expand Down Expand Up @@ -12377,12 +12377,12 @@ <h1 id="title" class="title">Web Cryptography API</h1>
<tr>
<td>generateKey</td>
<td><a data-link-type="idl" data-lt="HmacKeyGenParams" href="#dfn-HmacKeyGenParams" class="internalDFN" id="ref-for-dfn-HmacKeyGenParams-1"><code>HmacKeyGenParams</code></a></td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-94"><code>CryptoKey</code></a></td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-97"><code>CryptoKey</code></a></td>
</tr>
<tr>
<td>importKey</td>
<td><a data-link-type="idl" data-lt="HmacImportParams" href="#dfn-HmacImportParams" class="internalDFN" id="ref-for-dfn-HmacImportParams-1"><code>HmacImportParams</code></a></td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-95"><code>CryptoKey</code></a></td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-98"><code>CryptoKey</code></a></td>
</tr>
<tr>
<td>exportKey</td>
Expand Down Expand Up @@ -12519,7 +12519,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
<li>
<p>
Let <var>key</var> be a new
<a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-96"><code>CryptoKey</code></a> object representing the
<a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-99"><code>CryptoKey</code></a> object representing the
generated key.
</p>
</li>
Expand Down Expand Up @@ -12803,7 +12803,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
</li>
<li>
<p>
Let <var>key</var> be a new <code>{{CryptoKey}}</code>
Let <var>key</var> be a new <a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-100"><code>CryptoKey</code></a>
object representing an HMAC key with the first <var>length</var>
bits of <var>data</var>.
</p>
Expand Down Expand Up @@ -13127,7 +13127,8 @@ <h1 id="title" class="title">Web Cryptography API</h1>
</li>
<li>
<p>
Return a new ArrayBuffer containing <var>result</var>.
Return the result of <a data-link-type="dfn|abstract-op" data-lt="create" data-type="dfn" href="https://webidl.spec.whatwg.org/#arraybuffer-create">creating</a>
an <a data-link-type="idl" data-lt="ArrayBuffer" data-type="interface" href="https://webidl.spec.whatwg.org/#idl-ArrayBuffer"><code>ArrayBuffer</code></a> containing <var>result</var>.
</p>
</li>
</ol>
Expand Down Expand Up @@ -13175,7 +13176,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
<tr>
<td>importKey</td>
<td>None</td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-97"><code>CryptoKey</code></a></td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-101"><code>CryptoKey</code></a></td>
</tr>
<tr>
<td>Get key length</td>
Expand Down Expand Up @@ -13304,7 +13305,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
</li>
<li>
<p>
Let <var>key</var> be a new <a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-98"><code>CryptoKey</code></a>
Let <var>key</var> be a new <a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-102"><code>CryptoKey</code></a>
representing the key data provided in <var>keyData</var>.
</p>
</li>
Expand Down Expand Up @@ -13409,7 +13410,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
<tr>
<td>importKey</td>
<td>None</td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-99"><code>CryptoKey</code></a></td>
<td><a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-103"><code>CryptoKey</code></a></td>
</tr>
<tr>
<td>Get key length</td>
Expand Down Expand Up @@ -13503,7 +13504,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
</li>
<li>
<p>
Let <var>key</var> be a new <a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-100"><code>CryptoKey</code></a>
Let <var>key</var> be a new <a data-link-type="idl" data-lt="CryptoKey" href="#dfn-CryptoKey" class="internalDFN" id="ref-for-dfn-CryptoKey-104"><code>CryptoKey</code></a>
representing <var>keyData</var>.
</p>
</li>
Expand Down Expand Up @@ -15012,31 +15013,31 @@ <h1 id="title" class="title">Web Cryptography API</h1>
</li><li>
<a href="#ref-for-dfn-CryptoKey-81" title="§ 25.2 Registration">§ 25.2 Registration</a> <a href="#ref-for-dfn-CryptoKey-82" title="Reference 2">(2)</a>
</li><li>
<a href="#ref-for-dfn-CryptoKey-83" title="§ 25.7 Operations">§ 25.7 Operations</a>
<a href="#ref-for-dfn-CryptoKey-83" title="§ 25.7 Operations">§ 25.7 Operations</a> <a href="#ref-for-dfn-CryptoKey-84" title="Reference 2">(2)</a>
</li><li>
<a href="#ref-for-dfn-CryptoKey-84" title="§ 26.2 Registration">§ 26.2 Registration</a> <a href="#ref-for-dfn-CryptoKey-85" title="Reference 2">(2)</a>
<a href="#ref-for-dfn-CryptoKey-85" title="§ 26.2 Registration">§ 26.2 Registration</a> <a href="#ref-for-dfn-CryptoKey-86" title="Reference 2">(2)</a>
</li><li>
<a href="#ref-for-dfn-CryptoKey-86" title="§ 26.4 Operations">§ 26.4 Operations</a>
<a href="#ref-for-dfn-CryptoKey-87" title="§ 26.4 Operations">§ 26.4 Operations</a> <a href="#ref-for-dfn-CryptoKey-88" title="Reference 2">(2)</a>
</li><li>
<a href="#ref-for-dfn-CryptoKey-87" title="§ 27.2 Registration">§ 27.2 Registration</a> <a href="#ref-for-dfn-CryptoKey-88" title="Reference 2">(2)</a>
<a href="#ref-for-dfn-CryptoKey-89" title="§ 27.2 Registration">§ 27.2 Registration</a> <a href="#ref-for-dfn-CryptoKey-90" title="Reference 2">(2)</a>
</li><li>
<a href="#ref-for-dfn-CryptoKey-89" title="§ 27.4 Operations">§ 27.4 Operations</a>
<a href="#ref-for-dfn-CryptoKey-91" title="§ 27.4 Operations">§ 27.4 Operations</a> <a href="#ref-for-dfn-CryptoKey-92" title="Reference 2">(2)</a>
</li><li>
<a href="#ref-for-dfn-CryptoKey-90" title="§ 28.2 Registration">§ 28.2 Registration</a> <a href="#ref-for-dfn-CryptoKey-91" title="Reference 2">(2)</a>
<a href="#ref-for-dfn-CryptoKey-93" title="§ 28.2 Registration">§ 28.2 Registration</a> <a href="#ref-for-dfn-CryptoKey-94" title="Reference 2">(2)</a>
</li><li>
<a href="#ref-for-dfn-CryptoKey-92" title="§ 28.3 Operations">§ 28.3 Operations</a> <a href="#ref-for-dfn-CryptoKey-93" title="Reference 2">(2)</a>
<a href="#ref-for-dfn-CryptoKey-95" title="§ 28.3 Operations">§ 28.3 Operations</a> <a href="#ref-for-dfn-CryptoKey-96" title="Reference 2">(2)</a>
</li><li>
<a href="#ref-for-dfn-CryptoKey-94" title="§ 29.2 Registration">§ 29.2 Registration</a> <a href="#ref-for-dfn-CryptoKey-95" title="Reference 2">(2)</a>
<a href="#ref-for-dfn-CryptoKey-97" title="§ 29.2 Registration">§ 29.2 Registration</a> <a href="#ref-for-dfn-CryptoKey-98" title="Reference 2">(2)</a>
</li><li>
<a href="#ref-for-dfn-CryptoKey-96" title="§ 29.6 Operations">§ 29.6 Operations</a>
<a href="#ref-for-dfn-CryptoKey-99" title="§ 29.6 Operations">§ 29.6 Operations</a> <a href="#ref-for-dfn-CryptoKey-100" title="Reference 2">(2)</a>
</li><li>
<a href="#ref-for-dfn-CryptoKey-97" title="§ 31.2 Registration">§ 31.2 Registration</a>
<a href="#ref-for-dfn-CryptoKey-101" title="§ 31.2 Registration">§ 31.2 Registration</a>
</li><li>
<a href="#ref-for-dfn-CryptoKey-98" title="§ 31.4 Operations">§ 31.4 Operations</a>
<a href="#ref-for-dfn-CryptoKey-102" title="§ 31.4 Operations">§ 31.4 Operations</a>
</li><li>
<a href="#ref-for-dfn-CryptoKey-99" title="§ 32.2 Registration">§ 32.2 Registration</a>
<a href="#ref-for-dfn-CryptoKey-103" title="§ 32.2 Registration">§ 32.2 Registration</a>
</li><li>
<a href="#ref-for-dfn-CryptoKey-100" title="§ 32.4 Operations">§ 32.4 Operations</a>
<a href="#ref-for-dfn-CryptoKey-104" title="§ 32.4 Operations">§ 32.4 Operations</a>
</li>
</ul>
</div><div class="dfn-panel" hidden="" role="dialog" aria-modal="true" id="dfn-panel-for-dom-keytype" aria-label="Links in this document to definition: KeyType">
Expand Down

0 comments on commit e7c4d48

Please sign in to comment.