Skip to content

Commit cff715d

Browse files
Rename exported key variable in crypto.subtle.wrapKey
SHA: 2fecff8 Reason: push, by twiss Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 06ecb36 commit cff715d

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

index.html

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123

124124

125125
<meta name="color-scheme" content="light">
126-
<meta name="revision" content="37f3dd8b3ab8bba9b550a2244ed22b36a7f426c6">
126+
<meta name="revision" content="2fecff88501b98c401e885075a2d930e7b252349">
127127
<meta name="description" content="This specification describes a JavaScript API for performing basic
128128
cryptographic operations in web applications, such as hashing,
129129
signature generation and verification, and encryption and decryption.
@@ -223,7 +223,7 @@
223223
"id": "x690"
224224
}
225225
},
226-
"gitRevision": "37f3dd8b3ab8bba9b550a2244ed22b36a7f426c6",
226+
"gitRevision": "2fecff88501b98c401e885075a2d930e7b252349",
227227
"publishISODate": "2024-12-30T00:00:00.000Z",
228228
"generatedSubtitle": "W3C Editor's Draft 30 December 2024"
229229
}</script>
@@ -2853,15 +2853,15 @@ <h1 id="title" class="title">Web Cryptography API</h1>
28532853
that is marked as non-extractable using the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-1"><code>ext</code></a> JWK member.
28542854
</p>
28552855
<p>
2856-
However, the unwrapKey method <em>does</em> support the JsonWebKey/ext}} JWK member,
2856+
However, the unwrapKey method <em>does</em> support the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-2"><code>ext</code></a> JWK member,
28572857
so that wrapped non-extractable keys created elsewhere, for example by a server, can be
28582858
unwrapped using this API.
28592859
</p>
28602860
</div></div>
28612861
</li>
28622862
<li>
28632863
<p>
2864-
Let <var>key</var> be the result of performing the export key operation specified
2864+
Let <var>exportedKey</var> be the result of performing the export key operation specified by
28652865
the <a data-link-type="attribute" data-lt="[[algorithm]]" href="#dfn-CryptoKey-slot-algorithm" class="internalDFN" id="ref-for-dfn-CryptoKey-slot-algorithm-15"><code>[[algorithm]]</code></a> internal slot of
28662866
<var>key</var> using <var>key</var> and <var>format</var>.
28672867
</p>
@@ -2873,7 +2873,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
28732873
"<a data-link-type="idl" href="#dom-keyformat-pkcs8" class="internalDFN" id="ref-for-dom-keyformat-pkcs8-5"><code>pkcs8</code></a>", or "<a data-link-type="idl" href="#dom-keyformat-spki" class="internalDFN" id="ref-for-dom-keyformat-spki-5"><code>spki</code></a>":
28742874
</dt>
28752875
<dd>
2876-
Let <var>bytes</var> be <var>key</var>.
2876+
Let <var>bytes</var> be <var>exportedKey</var>.
28772877
</dd>
28782878
<dt>
28792879
If <var>format</var> is equal to the string "<a data-link-type="idl" href="#dom-keyformat-jwk" class="internalDFN" id="ref-for-dom-keyformat-jwk-5"><code>jwk</code></a>":
@@ -2882,7 +2882,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
28822882
<ol>
28832883
<li>
28842884
<p>
2885-
Let <var>json</var> be the result of representing <var>key</var> as a
2885+
Let <var>json</var> be the result of representing <var>exportedKey</var> as a
28862886
UTF-16 string conforming to the JSON grammar; for example, by executing
28872887
the <code>JSON.stringify</code> algorithm specified in
28882888
[<cite><a class="bibref" data-link-type="biblio" href="#bib-ecma-262" title="ECMAScript Language Specification">ECMA-262</a></cite>] in the context of a new global object.
@@ -4557,7 +4557,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
45574557
</li>
45584558
<li>
45594559
<p>
4560-
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-2"><code>ext</code></a> field of <var>jwk</var> is present and
4560+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-3"><code>ext</code></a> field of <var>jwk</var> is present and
45614561
has the value false and <var>extractable</var> is true,
45624562
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
45634563
<a data-link-type="exception" data-lt="DataError" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
@@ -5582,7 +5582,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
55825582
</li>
55835583
<li>
55845584
<p>
5585-
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-3"><code>ext</code></a> field of <var>jwk</var> is present and
5585+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-4"><code>ext</code></a> field of <var>jwk</var> is present and
55865586
has the value false and <var>extractable</var> is true,
55875587
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
55885588
<a data-link-type="exception" data-lt="DataError" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
@@ -6632,7 +6632,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
66326632
</li>
66336633
<li>
66346634
<p>
6635-
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-4"><code>ext</code></a> field of <var>jwk</var> is present and
6635+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-5"><code>ext</code></a> field of <var>jwk</var> is present and
66366636
has the value false and <var>extractable</var> is true,
66376637
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
66386638
<a data-link-type="exception" data-lt="DataError" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
@@ -8061,7 +8061,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
80618061
</li>
80628062
<li>
80638063
<p>
8064-
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-5"><code>ext</code></a> field of <var>jwk</var> is present and
8064+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-6"><code>ext</code></a> field of <var>jwk</var> is present and
80658065
has the value false and <var>extractable</var> is true,
80668066
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
80678067
<a data-link-type="exception" data-lt="DataError" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
@@ -9693,7 +9693,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
96939693
</li>
96949694
<li>
96959695
<p>
9696-
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-6"><code>ext</code></a> field of <var>jwk</var> is present and
9696+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-7"><code>ext</code></a> field of <var>jwk</var> is present and
96979697
has the value false and <var>extractable</var> is true,
96989698
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
96999699
<a data-link-type="exception" data-lt="DataError" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
@@ -10946,7 +10946,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
1094610946
</li>
1094710947
<li>
1094810948
<p>
10949-
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-7"><code>ext</code></a> field of <var>jwk</var> is present and
10949+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-8"><code>ext</code></a> field of <var>jwk</var> is present and
1095010950
has the value false and <var>extractable</var> is true,
1095110951
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
1095210952
<a data-link-type="exception" data-lt="DataError" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
@@ -11787,7 +11787,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
1178711787
</li>
1178811788
<li>
1178911789
<p>
11790-
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-8"><code>ext</code></a> field of <var>jwk</var> is present and
11790+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-9"><code>ext</code></a> field of <var>jwk</var> is present and
1179111791
has the value false and <var>extractable</var> is true,
1179211792
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
1179311793
<a data-link-type="exception" data-lt="DataError" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
@@ -12522,7 +12522,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
1252212522
</li>
1252312523
<li>
1252412524
<p>
12525-
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-9"><code>ext</code></a> field of <var>jwk</var> is present and
12525+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-10"><code>ext</code></a> field of <var>jwk</var> is present and
1252612526
has the value false and <var>extractable</var> is true,
1252712527
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
1252812528
<a data-link-type="exception" data-lt="DataError" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
@@ -13063,7 +13063,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
1306313063
</li>
1306413064
<li>
1306513065
<p>
13066-
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-10"><code>ext</code></a> field of <var>jwk</var> is present and
13066+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-11"><code>ext</code></a> field of <var>jwk</var> is present and
1306713067
has the value false and <var>extractable</var> is true,
1306813068
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
1306913069
<a data-link-type="exception" data-lt="DataError" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
@@ -13687,7 +13687,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
1368713687
</li>
1368813688
<li>
1368913689
<p>
13690-
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-11"><code>ext</code></a> field of <var>jwk</var> is present and
13690+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-12"><code>ext</code></a> field of <var>jwk</var> is present and
1369113691
has the value false and <var>extractable</var> is true,
1369213692
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
1369313693
<a data-link-type="exception" data-lt="DataError" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
@@ -14174,7 +14174,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
1417414174
</li>
1417514175
<li>
1417614176
<p>
14177-
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-12"><code>ext</code></a> field of <var>jwk</var> is present and
14177+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-13"><code>ext</code></a> field of <var>jwk</var> is present and
1417814178
has the value false and <var>extractable</var> is true,
1417914179
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
1418014180
<a data-link-type="exception" data-lt="DataError" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>. </p>
@@ -14763,7 +14763,7 @@ <h1 id="title" class="title">Web Cryptography API</h1>
1476314763
</li>
1476414764
<li>
1476514765
<p>
14766-
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-13"><code>ext</code></a> field of <var>jwk</var> is present and
14766+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-14"><code>ext</code></a> field of <var>jwk</var> is present and
1476714767
has the value false and <var>extractable</var> is true,
1476814768
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
1476914769
<a data-link-type="exception" data-lt="DataError" href="https://webidl.spec.whatwg.org/#dataerror"><code>DataError</code></a>.
@@ -18401,31 +18401,31 @@ <h1 id="title" class="title">Web Cryptography API</h1>
1840118401
<p><b>Referenced in:</b></p>
1840218402
<ul>
1840318403
<li>
18404-
<a href="#ref-for-dom-jsonwebkey-ext-1" title="§ 14.3.11 The wrapKey method">§ 14.3.11 The wrapKey method</a>
18404+
<a href="#ref-for-dom-jsonwebkey-ext-1" title="§ 14.3.11 The wrapKey method">§ 14.3.11 The wrapKey method</a> <a href="#ref-for-dom-jsonwebkey-ext-2" title="Reference 2">(2)</a>
1840518405
</li><li>
18406-
<a href="#ref-for-dom-jsonwebkey-ext-2" title="§ 20.8 Operations">§ 20.8 Operations</a>
18406+
<a href="#ref-for-dom-jsonwebkey-ext-3" title="§ 20.8 Operations">§ 20.8 Operations</a>
1840718407
</li><li>
18408-
<a href="#ref-for-dom-jsonwebkey-ext-3" title="§ 21.4 Operations">§ 21.4 Operations</a>
18408+
<a href="#ref-for-dom-jsonwebkey-ext-4" title="§ 21.4 Operations">§ 21.4 Operations</a>
1840918409
</li><li>
18410-
<a href="#ref-for-dom-jsonwebkey-ext-4" title="§ 22.4 Operations">§ 22.4 Operations</a>
18410+
<a href="#ref-for-dom-jsonwebkey-ext-5" title="§ 22.4 Operations">§ 22.4 Operations</a>
1841118411
</li><li>
18412-
<a href="#ref-for-dom-jsonwebkey-ext-5" title="§ 23.7 Operations">§ 23.7 Operations</a>
18412+
<a href="#ref-for-dom-jsonwebkey-ext-6" title="§ 23.7 Operations">§ 23.7 Operations</a>
1841318413
</li><li>
18414-
<a href="#ref-for-dom-jsonwebkey-ext-6" title="§ 24.4 Operations">§ 24.4 Operations</a>
18414+
<a href="#ref-for-dom-jsonwebkey-ext-7" title="§ 24.4 Operations">§ 24.4 Operations</a>
1841518415
</li><li>
18416-
<a href="#ref-for-dom-jsonwebkey-ext-7" title="§ 25.3 Operations">§ 25.3 Operations</a>
18416+
<a href="#ref-for-dom-jsonwebkey-ext-8" title="§ 25.3 Operations">§ 25.3 Operations</a>
1841718417
</li><li>
18418-
<a href="#ref-for-dom-jsonwebkey-ext-8" title="§ 26.3 Operations">§ 26.3 Operations</a>
18418+
<a href="#ref-for-dom-jsonwebkey-ext-9" title="§ 26.3 Operations">§ 26.3 Operations</a>
1841918419
</li><li>
18420-
<a href="#ref-for-dom-jsonwebkey-ext-9" title="§ 27.7 Operations">§ 27.7 Operations</a>
18420+
<a href="#ref-for-dom-jsonwebkey-ext-10" title="§ 27.7 Operations">§ 27.7 Operations</a>
1842118421
</li><li>
18422-
<a href="#ref-for-dom-jsonwebkey-ext-10" title="§ 28.4 Operations">§ 28.4 Operations</a>
18422+
<a href="#ref-for-dom-jsonwebkey-ext-11" title="§ 28.4 Operations">§ 28.4 Operations</a>
1842318423
</li><li>
18424-
<a href="#ref-for-dom-jsonwebkey-ext-11" title="§ 29.4 Operations">§ 29.4 Operations</a>
18424+
<a href="#ref-for-dom-jsonwebkey-ext-12" title="§ 29.4 Operations">§ 29.4 Operations</a>
1842518425
</li><li>
18426-
<a href="#ref-for-dom-jsonwebkey-ext-12" title="§ 30.3 Operations">§ 30.3 Operations</a>
18426+
<a href="#ref-for-dom-jsonwebkey-ext-13" title="§ 30.3 Operations">§ 30.3 Operations</a>
1842718427
</li><li>
18428-
<a href="#ref-for-dom-jsonwebkey-ext-13" title="§ 31.6 Operations">§ 31.6 Operations</a>
18428+
<a href="#ref-for-dom-jsonwebkey-ext-14" title="§ 31.6 Operations">§ 31.6 Operations</a>
1842918429
</li>
1843018430
</ul>
1843118431
</div><div class="dfn-panel" hidden="" role="dialog" aria-modal="true" id="dfn-panel-for-dom-jsonwebkey-crv" aria-label="Links in this document to definition: crv">

0 commit comments

Comments
 (0)