@@ -169,7 +169,7 @@ <h2>Introduction</h2>
169169 </ p >
170170 </ section >
171171 < section id ="specification-conventions ">
172- < h2 > Specification Conventions</ h3 >
172+ < h2 > Specification Conventions</ h2 >
173173 < p >
174174 This specification follows the < a data-cite ="webcrypto#algorithm-conventions "> conventions</ a >
175175 laid out in Section 18.3 of [[webcrypto]]. None of the algorithms defined here
@@ -1517,14 +1517,13 @@ <h5>Import Key</h5>
15171517 < dd >
15181518 < ol >
15191519 < li >
1520- < li >
1521- < p >
1522- If |usages| contains an entry which is not
1523- "`encapsulateKey`" or "`encapsulateBits`"
1524- then [= exception/throw =] a
1525- {{SyntaxError}}.
1526- </ p >
1527- </ li >
1520+ < p >
1521+ If |usages| contains an entry which is not
1522+ "`encapsulateKey`" or "`encapsulateBits`"
1523+ then [= exception/throw =] a
1524+ {{SyntaxError}}.
1525+ </ p >
1526+ </ li >
15281527 < li >
15291528 < p >
15301529 Let |spki| be the result of running the
@@ -1637,14 +1636,13 @@ <h5>Import Key</h5>
16371636 < dd >
16381637 < ol >
16391638 < li >
1640- < li >
1641- < p >
1642- If |usages| contains an entry which is not
1643- "`encapsulateKey`" or "`encapsulateBits`"
1644- then [= exception/throw =] a
1645- {{SyntaxError}}.
1646- </ p >
1647- </ li >
1639+ < p >
1640+ If |usages| contains an entry which is not
1641+ "`decapsulateKey`" or "`decapsulateBits`"
1642+ then [= exception/throw =] a
1643+ {{SyntaxError}}.
1644+ </ p >
1645+ </ li >
16481646 < li >
16491647 < p >
16501648 Let |privateKeyInfo| be the result of running the
@@ -1988,7 +1986,7 @@ <h5>Import Key</h5>
19881986 < li >
19891987 < p >
19901988 Set the < a data-cite ="webcrypto#dfn-CryptoKey-slot-type "> `[[type]]`</ a >
1991- internal slot of |Key | to {{KeyType/"private"}}.
1989+ internal slot of |key | to {{KeyType/"private"}}.
19921990 </ p >
19931991 </ li >
19941992 < li >
@@ -2024,7 +2022,7 @@ <h5>Import Key</h5>
20242022 < li >
20252023 < p >
20262024 Set the < a data-cite ="webcrypto#dfn-CryptoKey-slot-type "> `[[type]]`</ a >
2027- internal slot of |Key | to {{KeyType/"public"}}.
2025+ internal slot of |key | to {{KeyType/"public"}}.
20282026 </ p >
20292027 </ li >
20302028 </ ol >
@@ -3133,7 +3131,7 @@ <h5>Import Key</h5>
31333131 < li >
31343132 < p >
31353133 Set the < a data-cite ="webcrypto#dfn-CryptoKey-slot-type "> `[[type]]`</ a >
3136- internal slot of |Key | to {{KeyType/"private"}}.
3134+ internal slot of |key | to {{KeyType/"private"}}.
31373135 </ p >
31383136 </ li >
31393137 < li >
@@ -3169,7 +3167,7 @@ <h5>Import Key</h5>
31693167 < li >
31703168 < p >
31713169 Set the < a data-cite ="webcrypto#dfn-CryptoKey-slot-type "> `[[type]]`</ a >
3172- internal slot of |Key | to {{KeyType/"public"}}.
3170+ internal slot of |key | to {{KeyType/"public"}}.
31733171 </ p >
31743172 </ li >
31753173 </ ol >
@@ -4361,7 +4359,7 @@ <h5>Import Key</h5>
43614359 < li >
43624360 < p >
43634361 Set the < a data-cite ="webcrypto#dfn-CryptoKey-slot-type "> `[[type]]`</ a >
4364- internal slot of |Key | to {{KeyType/"private"}}.
4362+ internal slot of |key | to {{KeyType/"private"}}.
43654363 </ p >
43664364 </ li >
43674365 < li >
@@ -4397,7 +4395,7 @@ <h5>Import Key</h5>
43974395 < li >
43984396 < p >
43994397 Set the < a data-cite ="webcrypto#dfn-CryptoKey-slot-type "> `[[type]]`</ a >
4400- internal slot of |Key | to {{KeyType/"public"}}.
4398+ internal slot of |key | to {{KeyType/"public"}}.
44014399 </ p >
44024400 </ li >
44034401 </ ol >
@@ -6387,7 +6385,7 @@ <h5>Generate Key</h5>
63876385 < li >
63886386 < p >
63896387 Set the {{KeyAlgorithm/name}} attribute of
6390- |algorithm| to "`KMAC`" .
6388+ |algorithm| to the {{Algorithm/name}} member of |normalizedAlgorithm| .
63916389 </ p >
63926390 </ li >
63936391 < li >
@@ -6599,7 +6597,7 @@ <h5>Import Key</h5>
65996597 < li >
66006598 < p >
66016599 Set the {{KeyAlgorithm/name}} attribute of
6602- |algorithm| to "`KMAC`" .
6600+ |algorithm| to the {{Algorithm/name}} member of |normalizedAlgorithm| .
66036601 </ p >
66046602 </ li >
66056603 < li >
0 commit comments