Skip to content

Commit 31234cc

Browse files
authored
Align internal slots (#43)
1 parent 4e3e644 commit 31234cc

File tree

1 file changed

+30
-78
lines changed

1 file changed

+30
-78
lines changed

index.html

Lines changed: 30 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1644,18 +1644,6 @@ <h5>Import Key</h5>
16441644
internal slot of |key| to |algorithm|.
16451645
</p>
16461646
</li>
1647-
<li>
1648-
<p>
1649-
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-extractable">`[[extractable]]`</a> internal
1650-
slot of |key| to |extractable|.
1651-
</p>
1652-
</li>
1653-
<li>
1654-
<p>
1655-
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-usages">`[[usages]]`</a> internal slot of
1656-
|key| to |usages|.
1657-
</p>
1658-
</li>
16591647
</ol>
16601648
</dd>
16611649
<dt>If |format| is {{KeyFormat/"pkcs8"}}:</dt>
@@ -1782,18 +1770,6 @@ <h5>Import Key</h5>
17821770
internal slot of |key| to |algorithm|.
17831771
</p>
17841772
</li>
1785-
<li>
1786-
<p>
1787-
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-extractable">`[[extractable]]`</a> internal
1788-
slot of |key| to |extractable|.
1789-
</p>
1790-
</li>
1791-
<li>
1792-
<p>
1793-
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-usages">`[[usages]]`</a> internal slot of
1794-
|key| to |usages|.
1795-
</p>
1796-
</li>
17971773
</ol>
17981774
</dd>
17991775
<dt>If |format| is {{KeyFormat/"raw-public"}}:</dt>
@@ -2810,18 +2786,6 @@ <h5>Import Key</h5>
28102786
internal slot of |key| to |algorithm|.
28112787
</p>
28122788
</li>
2813-
<li>
2814-
<p>
2815-
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-extractable">`[[extractable]]`</a> internal
2816-
slot of |key| to |extractable|.
2817-
</p>
2818-
</li>
2819-
<li>
2820-
<p>
2821-
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-usages">`[[usages]]`</a> internal slot of
2822-
|key| to |usages|.
2823-
</p>
2824-
</li>
28252789
</ol>
28262790
</dd>
28272791
<dt>If |format| is {{KeyFormat/"pkcs8"}}:</dt>
@@ -2948,18 +2912,6 @@ <h5>Import Key</h5>
29482912
internal slot of |key| to |algorithm|.
29492913
</p>
29502914
</li>
2951-
<li>
2952-
<p>
2953-
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-extractable">`[[extractable]]`</a> internal
2954-
slot of |key| to |extractable|.
2955-
</p>
2956-
</li>
2957-
<li>
2958-
<p>
2959-
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-usages">`[[usages]]`</a> internal slot of
2960-
|key| to |usages|.
2961-
</p>
2962-
</li>
29632915
</ol>
29642916
</dd>
29652917
<dt>If |format| is {{KeyFormat/"raw-public"}}:</dt>
@@ -3992,18 +3944,6 @@ <h5>Import Key</h5>
39923944
internal slot of |key| to |algorithm|.
39933945
</p>
39943946
</li>
3995-
<li>
3996-
<p>
3997-
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-extractable">`[[extractable]]`</a> internal
3998-
slot of |key| to |extractable|.
3999-
</p>
4000-
</li>
4001-
<li>
4002-
<p>
4003-
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-usages">`[[usages]]`</a> internal slot of
4004-
|key| to |usages|.
4005-
</p>
4006-
</li>
40073947
</ol>
40083948
</dd>
40093949
<dt>If |format| is {{KeyFormat/"pkcs8"}}:</dt>
@@ -4175,18 +4115,6 @@ <h5>Import Key</h5>
41754115
internal slot of |key| to |algorithm|.
41764116
</p>
41774117
</li>
4178-
<li>
4179-
<p>
4180-
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-extractable">`[[extractable]]`</a> internal
4181-
slot of |key| to |extractable|.
4182-
</p>
4183-
</li>
4184-
<li>
4185-
<p>
4186-
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-usages">`[[usages]]`</a> internal slot of
4187-
|key| to |usages|.
4188-
</p>
4189-
</li>
41904118
</ol>
41914119
</dd>
41924120
<dt>If |format| is {{KeyFormat/"raw-public"}}:</dt>
@@ -5115,6 +5043,12 @@ <h5>Generate Key</h5>
51155043
generated AES key.
51165044
</p>
51175045
</li>
5046+
<li>
5047+
<p>
5048+
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-type">`[[type]]`</a> internal slot of
5049+
|key| to {{KeyType/"secret"}}.
5050+
</p>
5051+
</li>
51185052
<li>
51195053
<p>
51205054
Let |algorithm| be a new
@@ -5644,6 +5578,12 @@ <h5>Generate Key</h5>
56445578
generated key.
56455579
</p>
56465580
</li>
5581+
<li>
5582+
<p>
5583+
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-type">`[[type]]`</a> internal slot of
5584+
|key| to {{KeyType/"secret"}}.
5585+
</p>
5586+
</li>
56475587
<li>
56485588
<p>
56495589
Let |algorithm| be a new
@@ -5797,6 +5737,12 @@ <h5>Import Key</h5>
57975737
object representing a key with value |data|.
57985738
</p>
57995739
</li>
5740+
<li>
5741+
<p>
5742+
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-type">`[[type]]`</a> internal slot of
5743+
|key| to {{KeyType/"secret"}}.
5744+
</p>
5745+
</li>
58005746
<li>
58015747
<p>
58025748
Let |algorithm| be a new
@@ -6405,6 +6351,12 @@ <h5>Generate Key</h5>
64056351
generated key.
64066352
</p>
64076353
</li>
6354+
<li>
6355+
<p>
6356+
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-type">`[[type]]`</a> internal slot of
6357+
|key| to {{KeyType/"secret"}}.
6358+
</p>
6359+
</li>
64086360
<li>
64096361
<p>
64106362
Let |algorithm| be a new
@@ -6617,6 +6569,12 @@ <h5>Import Key</h5>
66176569
bits of |data|.
66186570
</p>
66196571
</li>
6572+
<li>
6573+
<p>
6574+
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-type">`[[type]]`</a> internal slot of
6575+
|key| to {{KeyType/"secret"}}.
6576+
</p>
6577+
</li>
66206578
<li>
66216579
<p>
66226580
Let |algorithm| be a new
@@ -7019,12 +6977,6 @@ <h5>Import key</h5>
70196977
|key| to {{KeyType/"secret"}}.
70206978
</p>
70216979
</li>
7022-
<li>
7023-
<p>
7024-
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-extractable">`[[extractable]]`</a> internal slot of
7025-
|key| to `false`.
7026-
</p>
7027-
</li>
70286980
<li>
70296981
<p>
70306982
Let |algorithm| be a new {{KeyAlgorithm}}

0 commit comments

Comments
 (0)