Skip to content

Commit b21575f

Browse files
authored
Set [[extractable]] and [[usages]] in the deriveKey method (#384)
These parameters were accidentally not set on the returned object. The new text matches that in `importKey`, and the expected behavior in the web platform tests.
1 parent d4ffcad commit b21575f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

spec/Overview.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1983,6 +1983,19 @@ <h4>The deriveKey method</h4>
19831983
|usages| is empty, then [= exception/throw =] a {{SyntaxError}}.
19841984
</p>
19851985
</li>
1986+
<li>
1987+
<p>
1988+
Set the {{CryptoKey/[[extractable]]}} internal
1989+
slot of |result| to |extractable|.
1990+
</p>
1991+
</li>
1992+
<li>
1993+
<p>
1994+
Set the {{CryptoKey/[[usages]]}} internal
1995+
slot of |result| to the [= normalized
1996+
value =] of |usages|.
1997+
</p>
1998+
</li>
19861999
<li>
19872000
<p>
19882001
Resolve |promise| with

0 commit comments

Comments
 (0)