Skip to content
Open
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
26 changes: 26 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1738,6 +1738,11 @@ <h5>Import Key</h5>
then [= exception/throw =] a
{{DataError}}.
</p>
<p class=note>
The import operation shall accept `ML-KEM-512-PrivateKey`, `ML-KEM-768-PrivateKey`, or `ML-KEM-1024-PrivateKey`
structures in either one of the three CHOICEs (seed-only, private-only, or both). The absence of a seed
or presence of the expanded private key is not a reason to [= exception/throw =] a {{DataError}}.
</p>
</li>
<li>
<p>
Expand Down Expand Up @@ -2081,6 +2086,14 @@ <h5>Export Key</h5>
cannot be accessed, then [= exception/throw =] an {{OperationError}}.
</p>
</li>
<li>
<p>
If the <a data-cite="webcrypto#dfn-CryptoKey-slot-type">`[[type]]`</a> internal slot
of |key| is "`private`" and an ML-KEM seed cannot be resolved from the
<a data-cite="webcrypto#dfn-CryptoKey-slot-handle">`[[handle]]`</a>
internal slot of |key|, then [= exception/throw =] an {{OperationError}}.
</p>
</li>
<li>
<dl class="switch">
<dt>If |format| is {{KeyFormat/"spki"}}:</dt>
Expand Down Expand Up @@ -2892,6 +2905,11 @@ <h5>Import Key</h5>
then [= exception/throw =] a
{{DataError}}.
</p>
<p class=note>
The import operation shall accept `ML-DSA-44-PrivateKey`, `ML-DSA-65-PrivateKey`, or `ML-DSA-87-PrivateKey`
structures in either one of the three CHOICEs (seed-only, private-only, or both). The absence of a seed
or presence of the expanded private key is not a reason to [= exception/throw =] a {{DataError}}.
</p>
</li>
<li>
<p>
Expand Down Expand Up @@ -3225,6 +3243,14 @@ <h5>Export Key</h5>
cannot be accessed, then [= exception/throw =] an {{OperationError}}.
</p>
</li>
<li>
<p>
If the <a data-cite="webcrypto#dfn-CryptoKey-slot-type">`[[type]]`</a> internal slot
of |key| is "`private`" and an ML-DSA seed cannot be resolved from the
<a data-cite="webcrypto#dfn-CryptoKey-slot-handle">`[[handle]]`</a>
internal slot of |key|, then [= exception/throw =] an {{OperationError}}.
</p>
</li>
<li>
<dl class="switch">
<dt>If |format| is {{KeyFormat/"spki"}}:</dt>
Expand Down