Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 23 additions & 25 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ <h2>Introduction</h2>
</p>
</section>
<section id="specification-conventions">
<h2>Specification Conventions</h3>
<h2>Specification Conventions</h2>
<p>
This specification follows the <a data-cite="webcrypto#algorithm-conventions">conventions</a>
laid out in Section 18.3 of [[webcrypto]]. None of the algorithms defined here
Expand Down Expand Up @@ -1517,14 +1517,13 @@ <h5>Import Key</h5>
<dd>
<ol>
<li>
<li>
<p>
If |usages| contains an entry which is not
"`encapsulateKey`" or "`encapsulateBits`"
then [= exception/throw =] a
{{SyntaxError}}.
</p>
</li>
<p>
If |usages| contains an entry which is not
"`encapsulateKey`" or "`encapsulateBits`"
then [= exception/throw =] a
{{SyntaxError}}.
</p>
</li>
<li>
<p>
Let |spki| be the result of running the
Expand Down Expand Up @@ -1637,14 +1636,13 @@ <h5>Import Key</h5>
<dd>
<ol>
<li>
<li>
<p>
If |usages| contains an entry which is not
"`encapsulateKey`" or "`encapsulateBits`"
then [= exception/throw =] a
{{SyntaxError}}.
</p>
</li>
<p>
If |usages| contains an entry which is not
"`decapsulateKey`" or "`decapsulateBits`"
then [= exception/throw =] a
{{SyntaxError}}.
</p>
</li>
<li>
<p>
Let |privateKeyInfo| be the result of running the
Expand Down Expand Up @@ -1988,7 +1986,7 @@ <h5>Import Key</h5>
<li>
<p>
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-type">`[[type]]`</a>
internal slot of |Key| to {{KeyType/"private"}}.
internal slot of |key| to {{KeyType/"private"}}.
</p>
</li>
<li>
Expand Down Expand Up @@ -2024,7 +2022,7 @@ <h5>Import Key</h5>
<li>
<p>
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-type">`[[type]]`</a>
internal slot of |Key| to {{KeyType/"public"}}.
internal slot of |key| to {{KeyType/"public"}}.
</p>
</li>
</ol>
Expand Down Expand Up @@ -3133,7 +3131,7 @@ <h5>Import Key</h5>
<li>
<p>
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-type">`[[type]]`</a>
internal slot of |Key| to {{KeyType/"private"}}.
internal slot of |key| to {{KeyType/"private"}}.
</p>
</li>
<li>
Expand Down Expand Up @@ -3169,7 +3167,7 @@ <h5>Import Key</h5>
<li>
<p>
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-type">`[[type]]`</a>
internal slot of |Key| to {{KeyType/"public"}}.
internal slot of |key| to {{KeyType/"public"}}.
</p>
</li>
</ol>
Expand Down Expand Up @@ -4361,7 +4359,7 @@ <h5>Import Key</h5>
<li>
<p>
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-type">`[[type]]`</a>
internal slot of |Key| to {{KeyType/"private"}}.
internal slot of |key| to {{KeyType/"private"}}.
</p>
</li>
<li>
Expand Down Expand Up @@ -4397,7 +4395,7 @@ <h5>Import Key</h5>
<li>
<p>
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-type">`[[type]]`</a>
internal slot of |Key| to {{KeyType/"public"}}.
internal slot of |key| to {{KeyType/"public"}}.
</p>
</li>
</ol>
Expand Down Expand Up @@ -6387,7 +6385,7 @@ <h5>Generate Key</h5>
<li>
<p>
Set the {{KeyAlgorithm/name}} attribute of
|algorithm| to "`KMAC`".
|algorithm| to the {{Algorithm/name}} member of |normalizedAlgorithm|.
</p>
</li>
<li>
Expand Down Expand Up @@ -6599,7 +6597,7 @@ <h5>Import Key</h5>
<li>
<p>
Set the {{KeyAlgorithm/name}} attribute of
|algorithm| to "`KMAC`".
|algorithm| to the {{Algorithm/name}} member of |normalizedAlgorithm|.
</p>
</li>
<li>
Expand Down