You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that is marked as non-extractable using the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-1"><code>ext</code></a> JWK member.
2854
2854
</p>
2855
2855
<p>
2856
-
However, the unwrapKey method <em>does</em> support the JsonWebKey/ext}} JWK member,
2856
+
However, the unwrapKey method <em>does</em> support the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-2"><code>ext</code></a> JWK member,
2857
2857
so that wrapped non-extractable keys created elsewhere, for example by a server, can be
2858
2858
unwrapped using this API.
2859
2859
</p>
2860
2860
</div></div>
2861
2861
</li>
2862
2862
<li>
2863
2863
<p>
2864
-
Let <var>key</var> be the result of performing the export key operation specified
2864
+
Let <var>exportedKey</var> be the result of performing the export key operation specified by
2865
2865
the <a data-link-type="attribute" data-lt="[[algorithm]]" href="#dfn-CryptoKey-slot-algorithm" class="internalDFN" id="ref-for-dfn-CryptoKey-slot-algorithm-15"><code>[[algorithm]]</code></a> internal slot of
2866
2866
<var>key</var> using <var>key</var> and <var>format</var>.
If <var>format</var> is equal to the string "<a data-link-type="idl" href="#dom-keyformat-jwk" class="internalDFN" id="ref-for-dom-keyformat-jwk-5"><code>jwk</code></a>":
Let <var>json</var> be the result of representing <var>key</var> as a
2885
+
Let <var>json</var> be the result of representing <var>exportedKey</var> as a
2886
2886
UTF-16 string conforming to the JSON grammar; for example, by executing
2887
2887
the <code>JSON.stringify</code> algorithm specified in
2888
2888
[<cite><a class="bibref" data-link-type="biblio" href="#bib-ecma-262" title="ECMAScript Language Specification">ECMA-262</a></cite>] in the context of a new global object.
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-2"><code>ext</code></a> field of <var>jwk</var> is present and
4560
+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-3"><code>ext</code></a> field of <var>jwk</var> is present and
4561
4561
has the value false and <var>extractable</var> is true,
4562
4562
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-3"><code>ext</code></a> field of <var>jwk</var> is present and
5585
+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-4"><code>ext</code></a> field of <var>jwk</var> is present and
5586
5586
has the value false and <var>extractable</var> is true,
5587
5587
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-4"><code>ext</code></a> field of <var>jwk</var> is present and
6635
+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-5"><code>ext</code></a> field of <var>jwk</var> is present and
6636
6636
has the value false and <var>extractable</var> is true,
6637
6637
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-5"><code>ext</code></a> field of <var>jwk</var> is present and
8064
+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-6"><code>ext</code></a> field of <var>jwk</var> is present and
8065
8065
has the value false and <var>extractable</var> is true,
8066
8066
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-6"><code>ext</code></a> field of <var>jwk</var> is present and
9696
+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-7"><code>ext</code></a> field of <var>jwk</var> is present and
9697
9697
has the value false and <var>extractable</var> is true,
9698
9698
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-7"><code>ext</code></a> field of <var>jwk</var> is present and
10949
+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-8"><code>ext</code></a> field of <var>jwk</var> is present and
10950
10950
has the value false and <var>extractable</var> is true,
10951
10951
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-8"><code>ext</code></a> field of <var>jwk</var> is present and
11790
+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-9"><code>ext</code></a> field of <var>jwk</var> is present and
11791
11791
has the value false and <var>extractable</var> is true,
11792
11792
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-9"><code>ext</code></a> field of <var>jwk</var> is present and
12525
+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-10"><code>ext</code></a> field of <var>jwk</var> is present and
12526
12526
has the value false and <var>extractable</var> is true,
12527
12527
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-10"><code>ext</code></a> field of <var>jwk</var> is present and
13066
+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-11"><code>ext</code></a> field of <var>jwk</var> is present and
13067
13067
has the value false and <var>extractable</var> is true,
13068
13068
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-11"><code>ext</code></a> field of <var>jwk</var> is present and
13690
+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-12"><code>ext</code></a> field of <var>jwk</var> is present and
13691
13691
has the value false and <var>extractable</var> is true,
13692
13692
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-12"><code>ext</code></a> field of <var>jwk</var> is present and
14177
+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-13"><code>ext</code></a> field of <var>jwk</var> is present and
14178
14178
has the value false and <var>extractable</var> is true,
14179
14179
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-13"><code>ext</code></a> field of <var>jwk</var> is present and
14766
+
If the <a data-link-type="idl" href="#dom-jsonwebkey-ext" class="internalDFN" id="ref-for-dom-jsonwebkey-ext-14"><code>ext</code></a> field of <var>jwk</var> is present and
14767
14767
has the value false and <var>extractable</var> is true,
14768
14768
then <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#dfn-throw">throw</a> a
</div><div class="dfn-panel" hidden="" role="dialog" aria-modal="true" id="dfn-panel-for-dom-jsonwebkey-crv" aria-label="Links in this document to definition: crv">
0 commit comments