Skip to content

Commit 3470264

Browse files
authored
Set [[extractable]] and [[usages]] in en/decapsulateKey (#39)
Fixes #36.
1 parent 583a6ff commit 3470264

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

index.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,19 @@ <h4>The encapsulateKey method</h4>
395395
|extractable| and |usages|.
396396
</p>
397397
</li>
398+
<li>
399+
<p>
400+
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-extractable">`[[extractable]]`</a> internal
401+
slot of |sharedKey| to |extractable|.
402+
</p>
403+
</li>
404+
<li>
405+
<p>
406+
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-usages">`[[usages]]`</a> internal slot of
407+
|sharedKey| to the <a data-cite="webcrypto#concept-normalized-usages">normalized value</a>
408+
of |usages|.
409+
</p>
410+
</li>
398411
<li>
399412
<p>
400413
Let |encapsulatedKey| be a new {{EncapsulatedKey}} dictionary
@@ -629,6 +642,19 @@ <h4>The decapsulateKey method</h4>
629642
|extractable| and |usages|.
630643
</p>
631644
</li>
645+
<li>
646+
<p>
647+
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-extractable">`[[extractable]]`</a> internal
648+
slot of |sharedKey| to |extractable|.
649+
</p>
650+
</li>
651+
<li>
652+
<p>
653+
Set the <a data-cite="webcrypto#dfn-CryptoKey-slot-usages">`[[usages]]`</a> internal slot of
654+
|sharedKey| to the <a data-cite="webcrypto#concept-normalized-usages">normalized value</a>
655+
of |usages|.
656+
</p>
657+
</li>
632658
<li>
633659
<p>
634660
[= Queue a global task =] on the <a data-cite="webcrypto#dfn-crypto-task-source">crypto task source</a>,

0 commit comments

Comments
 (0)