--- a/spec/Overview-WebCryptoAPI.xml Wed Mar 12 16:59:19 2014 -0700
+++ b/spec/Overview-WebCryptoAPI.xml Wed Mar 12 17:41:46 2014 -0700
@@ -800,8 +800,8 @@
</p>
<x:codeblock language="idl">
[NoInterfaceObject]
-interface <a href="#dfn-KeyAlgorithm">KeyAlgorithm</a> {
- readonly attribute DOMString <a href="#dfn-key-algorithm-name">name</a>
+interface <dfn id="#dfn-KeyAlgorithm">KeyAlgorithm</dfn> {
+ readonly attribute DOMString <a href="#dfn-KeyAlgorithm-name">name</a>
};
</x:codeblock>
<div id="key-algorithm-interface-description" class="section">
@@ -818,7 +818,7 @@
<div id="key-algorithm-interface-members" class="section">
<h3>KeyAlgorithm interface members</h3>
<dl>
- <dt id="dfn-key-algorithm-name">name</dt>
+ <dt id="dfn-KeyAlgorithm-name">name</dt>
<dd>The name of the algorithm used to generate the <a href="#dfn-Key">Key</a></dd>
</dl>
</div>
@@ -1148,7 +1148,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the
encrypt operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1232,7 +1232,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the decrypt
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1316,7 +1316,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the sign
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1399,7 +1399,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the verify
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1482,7 +1482,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the digest
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1558,7 +1558,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the generate
key operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1642,7 +1642,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the derive bits
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1658,7 +1658,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedDerivedKeyAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the get key length
and import key operations, then <a href="#concept-return-an-error">return an error</a> named
@@ -1765,7 +1765,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the derive bits
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1851,7 +1851,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the import key
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1943,7 +1943,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the export key
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -2024,7 +2024,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the encrypt or wrap
key operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -2174,7 +2174,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the unwrap key or
decrypt
@@ -2191,7 +2191,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedKeyAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the importKey
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -2904,9 +2904,9 @@
<x:codeblock language="idl">
dictionary <dfn id="dfn-RsaKeyGenParams">RsaKeyGenParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The length, in bits, of the RSA modulus</span>
- [EnforceRange] unsigned long modulusLength;
+ [EnforceRange] unsigned long <dfn id="dfn-RsaKeyGenParams-modulusLength">modulusLength</dfn>;
<span class="comment">// The RSA public exponent</span>
- <a href="#dfn-BigInteger">BigInteger</a> publicExponent;
+ <a href="#dfn-BigInteger">BigInteger</a> <dfn id="dfn-RsaKeyGenParams-publicExponent">publicExponent</dfn>;
};
</x:codeblock>
</div>
@@ -3076,7 +3076,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>publicKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>publicKey</var>
to <code>"public"</code>
</p>
</li>
@@ -3096,7 +3096,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>publicKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "encrypt", "wrapKey" ]</code>.
</p>
</li>
@@ -3108,7 +3108,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>privateKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>privateKey</var>
to <code>"private"</code>
</p>
</li>
@@ -3128,7 +3128,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>privateKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "decrypt", "unwrapKey" ]</code>.
</p>
</li>
@@ -3140,13 +3140,13 @@
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-publicKey">publicKey</a> attribute
+ Set the <a href="#dfn-KeyPair-publicKey">publicKey</a> attribute
of <var>result</var> to be <var>publicKey</var>.
</p>
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-privateKey">privateKey</a> attribute
+ Set the <a href="#dfn-KeyPair-privateKey">privateKey</a> attribute
of <var>result</var> to be <var>privateKey</var>.
</p>
</li>
@@ -3218,7 +3218,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"public"</code>
</p>
</li>
@@ -3278,7 +3278,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"private"</code>
</p>
</li>
@@ -3380,7 +3380,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of
+ Set the <a href="#dfn-Key-type">type</a> attribute of
<var>key</var> to <code>"public"</code>
</p>
</li>
@@ -3573,7 +3573,7 @@
<li>
<p>
Set the properties <code>n</code> and <code>e</code> of <var>jwk</var>
- according to the corresponding definitions in <a href="#JWA">JSON Web
+ according to the corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.1.
</p>
</li>
@@ -3590,7 +3590,7 @@
Set the properties named <code>d</code>, <code>p</code>,
<code>q</code>, <code>dp</code>, <code>dq</code>, and
<code>qi</code> of <var>jwk</var> according to the
- corresponding definitions in <a href="#JWA">JSON Web
+ corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.
</p>
</li>
@@ -3599,7 +3599,7 @@
If the underlying RSA private key represented by
<var>key</var> is represented by more than two primes, set the
member named <code>oth</code> of <var>jwk</var> according to
- the corresponding definition in <a href="#JWA">JSON Web
+ the corresponding definition in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.7
</p>
</li>
@@ -3938,7 +3938,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>publicKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "verify" ]</code>.
</p>
</li>
@@ -3950,7 +3950,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>privateKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>privateKey</var>
to <code>"private"</code>
</p>
</li>
@@ -3970,7 +3970,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>privateKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "sign" ]</code>.
</p>
</li>
@@ -3982,13 +3982,13 @@
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-publicKey">publicKey</a> attribute
+ Set the <a href="#dfn-KeyPair-publicKey">publicKey</a> attribute
of <var>result</var> to be <var>publicKey</var>.
</p>
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-privateKey">privateKey</a> attribute
+ Set the <a href="#dfn-KeyPair-privateKey">privateKey</a> attribute
of <var>result</var> to be <var>privateKey</var>.
</p>
</li>
@@ -4162,7 +4162,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"public"</code>
</p>
</li>
@@ -4301,7 +4301,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"private"</code>
</p>
</li>
@@ -4429,7 +4429,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of
+ Set the <a href="#dfn-Key-type">type</a> attribute of
<var>key</var> to <code>"private"</code>
</p>
</li>
@@ -4456,7 +4456,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of
+ Set the <a href="#dfn-Key-type">type</a> attribute of
<var>key</var> to <code>"public"</code>
</p>
</li>
@@ -4703,7 +4703,7 @@
<li>
<p>
Set the fields <code>n</code> and <code>e</code> of <var>jwk</var>
- according to the corresponding definitions in <a href="#JWA">JSON Web
+ according to the corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.1.
</p>
</li>
@@ -4720,7 +4720,7 @@
Set the fields named <code>d</code>, <code>p</code>,
<code>q</code>, <code>dp</code>, <code>dq</code>, and
<code>qi</code> of <var>jwk</var> according to the
- corresponding definitions in <a href="#JWA">JSON Web
+ corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.
</p>
</li>
@@ -4729,7 +4729,7 @@
If the underlying RSA private key represented by
<var>key</var> is represented by more than two primes, set the
field named <code>oth</code> of <var>jwk</var> according to
- the corresponding definition in <a href="#JWA">JSON Web
+ the corresponding definition in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.7
</p>
</li>
@@ -4850,7 +4850,7 @@
<x:codeblock language="idl">
dictionary <dfn id="dfn-RsaPssParams">RsaPssParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The desired length of the random salt</span>
- [EnforceRange] unsigned long saltLength;
+ [EnforceRange] unsigned long <dfn id="dfn-RsaPssParams-saltLength">saltLength</dfn>;
};
</x:codeblock>
</div>
@@ -5085,7 +5085,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>publicKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "verify" ]</code>.
</p>
</li>
@@ -5097,7 +5097,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>privateKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>privateKey</var>
to <code>"private"</code>
</p>
</li>
@@ -5117,7 +5117,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>privateKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "sign" ]</code>.
</p>
</li>
@@ -5129,13 +5129,13 @@
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-publicKey">publicKey</a> attribute
+ Set the <a href="#dfn-KeyPair-publicKey">publicKey</a> attribute
of <var>result</var> to be <var>publicKey</var>.
</p>
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-privateKey">privateKey</a> attribute
+ Set the <a href="#dfn-KeyPair-privateKey">privateKey</a> attribute
of <var>result</var> to be <var>privateKey</var>.
</p>
</li>
@@ -5366,7 +5366,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"public"</code>
</p>
</li>
@@ -5568,7 +5568,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"private"</code>
</p>
</li>
@@ -5696,7 +5696,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of
+ Set the <a href="#dfn-Key-type">type</a> attribute of
<var>key</var> to <code>"private"</code>
</p>
</li>
@@ -5723,7 +5723,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of
+ Set the <a href="#dfn-Key-type">type</a> attribute of
<var>key</var> to <code>"public"</code>
</p>
</li>
@@ -6173,7 +6173,7 @@
<li>
<p>
Set the fields <code>n</code> and <code>e</code> of <var>jwk</var>
- according to the corresponding definitions in <a href="#JWA">JSON Web
+ according to the corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.1.
</p>
</li>
@@ -6190,7 +6190,7 @@
Set the fields named <code>d</code>, <code>p</code>,
<code>q</code>, <code>dp</code>, <code>dq</code>, and
<code>qi</code> of <var>jwk</var> according to the
- corresponding definitions in <a href="#JWA">JSON Web
+ corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.
</p>
</li>
@@ -6199,7 +6199,7 @@
If the underlying RSA private key represented by
<var>key</var> is represented by more than two primes, set the
field named <code>oth</code> of <var>jwk</var> according to
- the corresponding definition in <a href="#JWA">JSON Web
+ the corresponding definition in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.7
</p>
</li>
@@ -6321,7 +6321,7 @@
<x:codeblock language="idl">
dictionary <dfn id="dfn-RsaOaepParams">RsaOaepParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The optional label/application data to associate with the message</span>
- CryptoOperationData? label;
+ CryptoOperationData? <dfn id="dfn-RsaOaepParams-label">label</dfn>;
};
</x:codeblock>
</div>
@@ -6555,7 +6555,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>publicKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "encrypt", "wrapKey" ]</code>.
</p>
</li>
@@ -6567,7 +6567,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>privateKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>privateKey</var>
to <code>"private"</code>
</p>
</li>
@@ -6587,7 +6587,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>privateKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "decrypt", "unwrapKey" ]</code>.
</p>
</li>
@@ -6599,13 +6599,13 @@
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-publicKey">publicKey</a> attribute
+ Set the <a href="#dfn-KeyPair-publicKey">publicKey</a> attribute
of <var>result</var> to be <var>publicKey</var>.
</p>
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-privateKey">privateKey</a> attribute
+ Set the <a href="#dfn-KeyPair-privateKey">privateKey</a> attribute
of <var>result</var> to be <var>privateKey</var>.
</p>
</li>
@@ -6835,7 +6835,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"public"</code>
</p>
</li>
@@ -7041,7 +7041,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"private"</code>
</p>
</li>
@@ -7123,7 +7123,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of
+ Set the <a href="#dfn-Key-type">type</a> attribute of
<var>key</var> to <code>"private"</code>
</p>
</li>
@@ -7150,7 +7150,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of
+ Set the <a href="#dfn-Key-type">type</a> attribute of
<var>key</var> to <code>"public"</code>
</p>
</li>
@@ -7539,7 +7539,7 @@
<li>
<p>
Set the fields <code>n</code> and <code>e</code> of <var>jwk</var>
- according to the corresponding definitions in <a href="#JWA">JSON Web
+ according to the corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.1.
</p>
</li>
@@ -7556,7 +7556,7 @@
Set the fields named <code>d</code>, <code>p</code>,
<code>q</code>, <code>dp</code>, <code>dq</code>, and
<code>qi</code> of <var>jwk</var> according to the
- corresponding definitions in <a href="#JWA">JSON Web
+ corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.
</p>
</li>
@@ -7565,7 +7565,7 @@
If the underlying RSA private key represented by
<var>key</var> is represented by more than two primes, set the
field named <code>oth</code> of <var>jwk</var> according to
- the corresponding definition in <a href="#JWA">JSON Web
+ the corresponding definition in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.7
</p>
</li>
@@ -7686,7 +7686,7 @@
<x:codeblock language="idl">
dictionary <dfn id="dfn-EcdsaParams">EcdsaParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The hash algorithm to use</span>
- AlgorithmIdentifier hash;
+ AlgorithmIdentifier <dfn id="dfn-EcdsaParams-hash">hash</dfn>;
};
</x:codeblock>
</div>
@@ -7697,7 +7697,7 @@
dictionary <dfn id="dfn-EcKeyGenParams">EcKeyGenParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// A named curve</span>
- <a href="#dfn-NamedCurve">NamedCurve</a> namedCurve;
+ <a href="#dfn-NamedCurve">NamedCurve</a> <dfn id="dfn-EcKeyGenParams-namedCurve">namedCurve</dfn>;
};
</x:codeblock>
<p>
@@ -7946,7 +7946,7 @@
<p>
Generate an Eliptic Curve key pair, as defined in [<a href="#X9.62">X9.62</a>]
with domain parameters for the curve identified by
- the <a href="#dfn-ExKeyGenParams-namedCurve">namedCurve</a> member of
+ the <a href="#dfn-EcKeyGenParams-namedCurve">namedCurve</a> member of
<var>normalizedAlgorithm</var>.
</p>
</li>
@@ -8016,7 +8016,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>privateKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>privateKey</var>
to <code>"private"</code>
</p>
</li>
@@ -8036,7 +8036,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>privateKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "sign", "verify" ]</code>.
</p>
</li>
@@ -8048,13 +8048,13 @@
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-publicKey">publicKey</a> attribute
+ Set the <a href="#dfn-KeyPair-publicKey">publicKey</a> attribute
of <var>result</var> to be <var>publicKey</var>.
</p>
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-privateKey">privateKey</a> attribute
+ Set the <a href="#dfn-KeyPair-privateKey">privateKey</a> attribute
of <var>result</var> to be <var>privateKey</var>.
</p>
</li>
@@ -8388,7 +8388,7 @@
<li>
<p>
If the <code>"key_ops"</code> field of <var>jwk</var> is present, and
- is invalid according to the requirements of <a href="#JWK">JSON Web
+ is invalid according to the requirements of <a href="#jwk">JSON Web
Key</a>, or it does not contain all of the specified <var>usages</var>
values,
then <a href="#concept-return-an-error">return an error</a> named
@@ -8411,7 +8411,7 @@
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section
- 6.2.2 of <a href="#JWA">JSON Web Algorithms</a>,
+ 6.2.2 of <a href="#jwa">JSON Web Algorithms</a>,
then <a href="#concept-return-an-error">return an error</a> named
<a href="#dfn-DataError"><code>DataError</code></a>.
</p>
@@ -8421,7 +8421,7 @@
Let <var>key</var> be a new <a href="#dfn-Key">Key</a> object
that represents the Elliptic Curve private key identified by
interpreting <var>jwk</var> according to Section 6.2.2 of <a
- href="#JWA">JSON Web Algorithms</a>.
+ href="#jwa">JSON Web Algorithms</a>.
</p>
</li>
<li>
@@ -8438,7 +8438,7 @@
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section
- 6.2.1 of <a href="#JWA">JSON Web Algorithms</a>,
+ 6.2.1 of <a href="#jwa">JSON Web Algorithms</a>,
then <a href="#concept-return-an-error">return an error</a> named
<a href="#dfn-DataError"><code>DataError</code></a>.
</p>
@@ -8448,7 +8448,7 @@
Let <var>key</var> be a new <a href="#dfn-Key">Key</a> object
that represents the Elliptic Curve public key identified by
interpreting <var>jwk</var> according to Section 6.2.1 of <a
- href="#JWA">JSON Web Algorithms</a>.
+ href="#jwa">JSON Web Algorithms</a>.
</p>
</li>
<li>
@@ -8464,7 +8464,7 @@
<li>
<p>
Let <var>algorithm</var> be a new instance of an <a
- href="#EcKeyAlgorithm">EcKeyAlgorithm</a> object.
+ href="#dfn-EcKeyAlgorithm">EcKeyAlgorithm</a> object.
</p>
</li>
<li>
@@ -8805,14 +8805,14 @@
<li>
<p>
Set the <code>x</code> property of <var>jwk</var> according to the
- definition in Section 6.2.1.2 of <a href="#JWA">JSON Web
+ definition in Section 6.2.1.2 of <a href="#jwa">JSON Web
Algorithms</a>.
</p>
</li>
<li>
<p>
Set the <code>y</code> property of <var>jwk</var> according to the
- definition in Section 6.2.1.3 of <a href="#JWA">JSON Web
+ definition in Section 6.2.1.3 of <a href="#jwa">JSON Web
Algorithms</a>.
</p>
</li>
@@ -8825,7 +8825,7 @@
<dd>
<p>
Set the <code>d</code> property of <var>jwk</var> according to the
- definition in Section 6.2.2.1 of <a href="#JWA">JSON Web
+ definition in Section 6.2.2.1 of <a href="#jwa">JSON Web
Algorithms</a>.
</p>
</dd>
@@ -8946,7 +8946,7 @@
dictionary <dfn id="dfn-EcdhKeyDeriveParams">EcdhKeyDeriveParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The peer's EC public key.</span>
- <a href="#dfn-Key">Key</a> public;
+ <a href="#dfn-Key">Key</a> <dfn id="dfn-EcdhKeyDeriveParams-public">public</dfn>;
};
</x:codeblock>
</div>
@@ -9053,7 +9053,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>privateKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>privateKey</var>
to <code>"private"</code>
</p>
</li>
@@ -9073,7 +9073,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>privateKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "deriveKey", "deriveBits" ]</code>.
</p>
</li>
@@ -9085,13 +9085,13 @@
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-publicKey">publicKey</a> attribute
+ Set the <a href="#dfn-KeyPair-publicKey">publicKey</a> attribute
of <var>result</var> to be <var>publicKey</var>.
</p>
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-privateKey">privateKey</a> attribute
+ Set the <a href="#dfn-KeyPair-privateKey">privateKey</a> attribute
of <var>result</var> to be <var>privateKey</var>.
</p>
</li>
@@ -9535,7 +9535,7 @@
<li>
<p>
If the <code>"key_ops"</code> field of <var>jwk</var> is present, and
- is invalid according to the requirements of <a href="#JWK">JSON Web
+ is invalid according to the requirements of <a href="#jwk">JSON Web
Key</a>, or it does not contain all of the specified <var>usages</var>
values, then <a href="#concept-return-an-error">return an error</a>
named <a href="#dfn-DataError"><code>DataError</code></a>.
@@ -9557,7 +9557,7 @@
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section
- 6.2.2 of <a href="#JWA">JSON Web Algorithms</a>,
+ 6.2.2 of <a href="#jwa">JSON Web Algorithms</a>,
then <a href="#concept-return-an-error">return an error</a> named
<a href="#dfn-DataError"><code>DataError</code></a>.
</p>
@@ -9567,7 +9567,7 @@
Let <var>key</var> be a new <a href="#dfn-Key">Key</a> object
that represents the Elliptic Curve private key identified by
interpreting <var>jwk</var> according to Section 6.2.2 of <a
- href="#JWA">JSON Web Algorithms</a>.
+ href="#jwa">JSON Web Algorithms</a>.
</p>
</li>
<li>
@@ -9584,7 +9584,7 @@
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section
- 6.2.1 of <a href="#JWA">JSON Web Algorithms</a>,
+ 6.2.1 of <a href="#jwa">JSON Web Algorithms</a>,
then <a href="#concept-return-an-error">return an error</a> named
<a href="#dfn-DataError"><code>DataError</code></a>.
</p>
@@ -9594,7 +9594,7 @@
Let <var>key</var> be a new <a href="#dfn-Key">Key</a> object
that represents the Elliptic Curve public key identified by
interpreting <var>jwk</var> according to Section 6.2.1 of <a
- href="#JWA">JSON Web Algorithms</a>.
+ href="#jwa">JSON Web Algorithms</a>.
</p>
</li>
<li>
@@ -9610,7 +9610,7 @@
<li>
<p>
Let <var>algorithm</var> be a new instance of an <a
- href="#EcKeyAlgorithm">EcKeyAlgorithm</a> object.
+ href="#dfn-EcKeyAlgorithm">EcKeyAlgorithm</a> object.
</p>
</li>
<li>
@@ -9719,13 +9719,13 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"ECDH"</code>.
</p>
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-namedCurve">namedCurve</a> attribute
+ Set the <a href="#dfn-KeyAlgorithm-namedCurve">namedCurve</a> attribute
of <var>algorithm</var> to equal the <a
href="#dfn-EcKeyImportParams-namedCurve">namedCurve</a> member of
<var>normalizedAlgorithm</var>.
@@ -10045,14 +10045,14 @@
<li>
<p>
Set the <code>x</code> property of <var>jwk</var> according to the
- definition in Section 6.2.1.2 of <a href="#JWA">JSON Web
+ definition in Section 6.2.1.2 of <a href="#jwa">JSON Web
Algorithms</a>.
</p>
</li>
<li>
<p>
Set the <code>y</code> property of <var>jwk</var> according to the
- definition in Section 6.2.1.3 of <a href="#JWA">JSON Web
+ definition in Section 6.2.1.3 of <a href="#jwa">JSON Web
Algorithms</a>.
</p>
</li>
@@ -10065,7 +10065,7 @@
<dd>
<p>
Set the <code>d</code> property of <var>jwk</var> according to the
- definition in Section 6.2.2.1 of <a href="#JWA">JSON Web
+ definition in Section 6.2.2.1 of <a href="#jwa">JSON Web
Algorithms</a>.
</p>
</dd>
@@ -10425,7 +10425,7 @@
<li>
<p>
Let <var>key</var> be a new
- <a href="#dfn-key">Key</a> object representing the
+ <a href="#dfn-Key">Key</a> object representing the
generated AES key.
</p>
</li>
@@ -10437,7 +10437,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CTR"</code>.
</p>
</li>
@@ -10597,7 +10597,7 @@
</li>
<li>
<p>
- Let <var>key</var> be a new <code><a href="#dfn-key">Key</a></code>
+ Let <var>key</var> be a new <code><a href="#dfn-Key">Key</a></code>
object representing an AES key with value <var>data</var>.
</p>
</li>
@@ -10609,13 +10609,13 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CTR"</code>.
</p>
</li>
<li>
<p>
- Set the <a href="#dfn-AesKeyAlgorith-length">length</a> attribute of
+ Set the <a href="#dfn-AesKeyAlgorithm-length">length</a> attribute of
<var>algorithm</var> to the length, in bits, of <var>data</var>.
</p>
</li>
@@ -10845,7 +10845,7 @@
<x:codeblock language="idl">
dictionary <dfn id="dfn-AesCbcParams">AesCbcParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The initialization vector. <span class="RFC2119">MUST</span> be 16 bytes.</span>
- CryptoOperationData <dfn id="dfn-AesCbsParams-iv">iv</dfn>;
+ CryptoOperationData <dfn id="dfn-AesCbcParams-iv">iv</dfn>;
};
</x:codeblock>
</div>
@@ -11020,7 +11020,7 @@
<li>
<p>
Let <var>key</var> be a new
- <a href="#dfn-key">Key</a> object representing the
+ <a href="#dfn-Key">Key</a> object representing the
generated AES key.
</p>
</li>
@@ -11032,7 +11032,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CBC"</code>.
</p>
</li>
@@ -11193,7 +11193,7 @@
</li>
<li>
<p>
- Let <var>key</var> be a new <code><a href="#dfn-key">Key</a></code>
+ Let <var>key</var> be a new <code><a href="#dfn-Key">Key</a></code>
object representing an AES key with value <var>data</var>.
</p>
</li>
@@ -11205,13 +11205,13 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CBC"</code>.
</p>
</li>
<li>
<p>
- Set the <a href="#dfn-AesKeyAlgorith-length">length</a> attribute of
+ Set the <a href="#dfn-AesKeyAlgorithm-length">length</a> attribute of
<var>algorithm</var> to the length, in bits, of <var>data</var>.
</p>
</li>
@@ -11565,7 +11565,7 @@
<li>
<p>
Let <var>key</var> be a new
- <a href="#dfn-key">Key</a> object representing the
+ <a href="#dfn-Key">Key</a> object representing the
generated AES key.
</p>
</li>
@@ -11577,7 +11577,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CMAC"</code>.
</p>
</li>
@@ -11737,7 +11737,7 @@
</li>
<li>
<p>
- Let <var>key</var> be a new <code><a href="#dfn-key">Key</a></code>
+ Let <var>key</var> be a new <code><a href="#dfn-Key">Key</a></code>
object representing an AES key with value <var>data</var>.
</p>
</li>
@@ -11749,13 +11749,13 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CMAC"</code>.
</p>
</li>
<li>
<p>
- Set the <a href="#dfn-AesKeyAlgorith-length">length</a> attribute of
+ Set the <a href="#dfn-AesKeyAlgorithm-length">length</a> attribute of
<var>algorithm</var> to the length, in bits, of <var>data</var>.
</p>
</li>
@@ -12094,13 +12094,13 @@
</li>
<li>
<dl class="switch">
- <dt>If the <a href="#dfn-AesGcmParams-tagLangth">tagLength</a> member of
+ <dt>If the <a href="#dfn-AesGcmParams-tagLength">tagLength</a> member of
<var>normalizedAlgorithm</var> is not present or null:</dt>
<dd>Let <var>tagLength</var> be 128.</dd>
- <dt>If the <a href="#dfn-AesGcmParams-tagLangth">tagLength</a> member of
+ <dt>If the <a href="#dfn-AesGcmParams-tagLength">tagLength</a> member of
<var>normalizedAlgorithm</var> is one of 32, 64, 96, 104, 112, 120 or 128:</dt>
<dd>Let <var>tagLength</var> be equal to the
- <a href="#dfn-AesGcmParams-tagLangth">tagLength</a> member of
+ <a href="#dfn-AesGcmParams-tagLength">tagLength</a> member of
<var>normalizedAlgorithm</var></dd>
<dt>Otherwise:</dt>
<dd>
@@ -12238,7 +12238,7 @@
<li>
<p>
Let <var>key</var> be a new
- <a href="#dfn-key">Key</a> object representing the
+ <a href="#dfn-Key">Key</a> object representing the
generated AES key.
</p>
</li>
@@ -12250,7 +12250,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-GCM"</code>.
</p>
</li>
@@ -12411,7 +12411,7 @@
</li>
<li>
<p>
- Let <var>key</var> be a new <code><a href="#dfn-key">Key</a></code>
+ Let <var>key</var> be a new <code><a href="#dfn-Key">Key</a></code>
object representing an AES key with value <var>data</var>.
</p>
</li>
@@ -12423,13 +12423,13 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-GCM"</code>.
</p>
</li>
<li>
<p>
- Set the <a href="#dfn-AesKeyAlgorith-length">length</a> attribute of
+ Set the <a href="#dfn-AesKeyAlgorithm-length">length</a> attribute of
<var>algorithm</var> to the length, in bits, of <var>data</var>.
</p>
</li>
@@ -12803,7 +12803,7 @@
<li>
<p>
Let <var>key</var> be a new
- <a href="#dfn-key">Key</a> object representing the
+ <a href="#dfn-Key">Key</a> object representing the
generated AES key.
</p>
</li>
@@ -12815,7 +12815,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CFB-8"</code>.
</p>
</li>
@@ -12976,7 +12976,7 @@
</li>
<li>
<p>
- Let <var>key</var> be a new <code><a href="#dfn-key">Key</a></code>
+ Let <var>key</var> be a new <code><a href="#dfn-Key">Key</a></code>
object representing an AES key with value <var>data</var>.
</p>
</li>
@@ -12988,13 +12988,13 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CFB-8"</code>.
</p>
</li>
<li>
<p>
- Set the <a href="#dfn-AesKeyAlgorith-length">length</a> attribute of
+ Set the <a href="#dfn-AesKeyAlgorithm-length">length</a> attribute of
<var>algorithm</var> to the length, in bits, of <var>data</var>.
</p>
</li>
@@ -13310,7 +13310,7 @@
<li>
<p>
Let <var>key</var> be a new
- <a href="#dfn-key">Key</a> object representing the
+ <a href="#dfn-Key">Key</a> object representing the
generated AES key.
</p>
</li>
@@ -13322,7 +13322,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-KW"</code>.
</p>
</li>
@@ -13483,7 +13483,7 @@
</li>
<li>
<p>
- Let <var>key</var> be a new <a href="#dfn-key">Key</a>
+ Let <var>key</var> be a new <a href="#dfn-Key">Key</a>
object representing an AES key with value <var>data</var>.
</p>
</li>
@@ -13495,13 +13495,13 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-KW"</code>.
</p>
</li>
<li>
<p>
- Set the <a href="#dfn-AesKeyAlgorith-length">length</a> attribute of
+ Set the <a href="#dfn-AesKeyAlgorithm-length">length</a> attribute of
<var>algorithm</var> to the length, in bits, of <var>data</var>.
</p>
</li>
@@ -13718,7 +13718,7 @@
<x:codeblock language="idl">
dictionary <dfn id="dfn-HmacImportParams">HmacImportParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The inner hash function to use.</span>
- AlgorithmIdentifier hash;
+ AlgorithmIdentifier <dfn id="dfn-HmacImportParams-hash">hash</dfn>;
};
</x:codeblock>
</div>
@@ -13727,7 +13727,7 @@
<x:codeblock language="idl">
interface <dfn id="dfn-HmacKeyAlgorithm">HmacKeyAlgorithm</dfn> : <a href="#dfn-KeyAlgorithm">KeyAlgorithm</a> {
<span class="comment">// The inner hash function to use.</span>
- readonly attribute KeyAlgorithm hash;
+ readonly attribute KeyAlgorithm <dfn id="dfn-HmacKeyAlgorithm-hash">hash</dfn>;
};
</x:codeblock>
</div>
@@ -13736,11 +13736,11 @@
<x:codeblock language="idl">
dictionary <dfn id="dfn-HmacKeyGenParams">HmacKeyGenParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The inner hash function to use.</span>
- AlgorithmIdentifier hash;
+ AlgorithmIdentifier <dfn id="dfn-HmacKeyGenParams-hash">hash</dfn>;
<span class="comment">// The length (in bits) of the key to generate. If unspecified, the
// recommended length will be used, which is the size of the associated hash function's block
// size.</span>
- [EnforceRange] unsigned long length;
+ [EnforceRange] unsigned long <dfn id="dfn-HmacKeyGenParams-length">length</dfn>;
};
</x:codeblock>
</div>
@@ -13751,7 +13751,7 @@
<span class="comment">// The length (in bits) of the key to generate. If unspecified, the
// recommended length will be used, which is the size of the associated hash function's block
// size.</span>
- [EnforceRange] unsigned long length;
+ [EnforceRange] unsigned long <dfn id="dfn-HmacDerivedKeyParams-length">length</dfn>;
};
</x:codeblock>
</div>
@@ -13869,7 +13869,7 @@
<li>
<p>
Let <var>key</var> be a new
- <a href="#dfn-key">Key</a> object representing the
+ <a href="#dfn-Key">Key</a> object representing the
generated key.
</p>
</li>
@@ -13881,7 +13881,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"HMAC"</code>.
</p>
</li>
@@ -14188,7 +14188,7 @@
</li>
<li>
<p>
- Let <var>key</var> be a new <code><a href="#dfn-key">Key</a></code>
+ Let <var>key</var> be a new <code><a href="#dfn-Key">Key</a></code>
object representing an HMAC key with value <var>data</var>.
</p>
</li>
@@ -14200,7 +14200,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"HMAC"</code>.
</p>
</li>
@@ -14599,7 +14599,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>privateKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>privateKey</var>
to <code>"private"</code>
</p>
</li>
@@ -14629,13 +14629,13 @@
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-publicKey">publicKey</a> attribute
+ Set the <a href="#dfn-KeyPair-publicKey">publicKey</a> attribute
of <var>result</var> to be <var>publicKey</var>.
</p>
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-privateKey">privateKey</a> attribute
+ Set the <a href="#dfn-KeyPair-privateKey">privateKey</a> attribute
of <var>result</var> to be <var>privateKey</var>.
</p>
</li>
@@ -14833,7 +14833,7 @@
<p>
Set the <a href="#dfn-DhKeyAlgorithm-prime">prime</a> attribute of
<var>algorithm</var> to equal the <a
- href="#dfn-DhKeyImportParams-prime">prime</a> member of
+ href="#dfn-DhImportKeyParams-prime">prime</a> member of
<var>normalizedAlgorithm</var>.
</p>
</li>
@@ -14841,7 +14841,7 @@
<p>
Set the <a href="#dfn-DhKeyAlgorithm-generator">generator</a> attribute of
<var>algorithm</var> to equal the <a
- href="#dfn-DhKeyImportParams-generator">generator</a> member of
+ href="#dfn-DhImportKeyParams-generator">generator</a> member of
<var>normalizedAlgorithm</var>.
</p>
</li>
@@ -15545,7 +15545,7 @@
<var>normalizedAlgorithm</var> as <var>PartyUInfo</var>, the
<a href="#dfn-ConcatParams-partyVInfo">partyVInfo</a> member of
<var>normalizedAlgorithm</var> as <var>PartyVInfo</var>, the
- <a href="#dfn-ConcatParams-pubicInfo">publicInfo</a> member of
+ <a href="#dfn-ConcatParams-publicInfo">publicInfo</a> member of
<var>normalizedAlgorithm</var>, if present and not null, as
<var>publicInfo</var> and the
<a href="#dfn-ConcatParams-privateInfo">privateInfo</a> member of
@@ -15706,11 +15706,11 @@
<x:codeblock language="idl">
dictionary <dfn id="dfn-HkdfCtrParams">HkdfCtrParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The algorithm to use with HMAC (eg: <a href="#sha-256">SHA-256</a>)</span>
- AlgorithmIdentifier hash;
+ AlgorithmIdentifier <dfn id="dfn-HkdfCtrParams-hash">hash</dfn>;
<span class="comment">// A bit string that corresponds to the label that identifies the purpose for the derived keying material.</span>
- CryptoOperationData label;
+ CryptoOperationData <dfn id="dfn-HkdfCtrParams-label">label</dfn>;
<span class="comment">// A bit string that corresponds to the context of the key derivation, as described in Section 5 of NIST SP 800-108 [<a href="#SP800-108">SP800-108</a>]</span>
- CryptoOperationData context;
+ CryptoOperationData <dfn id="dfn-HkdfCtrParams-context">context</dfn>;
};
</x:codeblock>
<div class="ednote">
@@ -16057,7 +16057,7 @@
<var>key</var> as the password, <var>P</var>, the contents of the
<a href="#dfn-Pbkdf2Params-salt">salt</a> attribute of
<var>normalizedAlgorithm</var> as the salt, <var>S</var>, the value of the
- <a href="dfn-Pbkdf2Params-interations">iterations</a> attribute of
+ <a href="#dfn-Pbkdf2Params-iterations">iterations</a> attribute of
<var>normalizedAlgorithm</var> as the iteration count, <var>c</var>, and
<var>length</var> divided by 8 as the intended key length, <var>dkLen</var>.
</p>
@@ -16251,7 +16251,7 @@
</p>
<p>
When this specification says that a value <var>algorithm</var> be
- <dfn id="dfn-normalize-to-type">normalized to <var>type</var></dfn> the user agent must
+ <dfn id="concept-normalize-to-type">normalized to <var>type</var></dfn> the user agent must
perform the following steps:
</p>
<ol>
@@ -16531,7 +16531,7 @@
</p>
<p>
The W3C would like to thank the <a
- href="http://www.northropgrumman.com/cybersecurity/presskit_research_co.html">Northrop
+ href="http://certdata.northropgrumman.com/cybersecurity/presskit_research_co.html">Northrop
Grumman Cybersecurity Research Consortium</a> for supporting W3C/MIT.
</p>
<p>
@@ -16584,13 +16584,13 @@
</dd>
<dt id="RFC5208">RFC5208</dt>
<dd>
- <cite><a href="http://www.ietf.org/rfc/rfc5208">Public-Key Cryptography Standards
+ <cite><a href="http://www.ietf.org/rfc/rfc5208.txt">Public-Key Cryptography Standards
(PKCS) #8: Private-Key Information Syntax Specification Version 1.2</a></cite>,
B. Kaliski. IETF.
</dd>
<dt id="RFC5280">RFC5280</dt>
<dd>
- <cite><a href="http://www.ietf.org/rfc/rfc5280">Internet X.509 Public Key
+ <cite><a href="http://www.ietf.org/rfc/rfc5280.txt">Internet X.509 Public Key
Infrastructure Certificate and Certificate Revocation List (CRL) Profile</a></cite>,
D. Cooper, S. Santesson, S. Farrell, S. Boeyen, R. Housley, W. Polk. IETF.
</dd>
@@ -16618,6 +16618,10 @@
<dd>
<cite><a href="http://tools.ietf.org/html/draft-ietf-jose-json-web-key">JSON Web Key (work in progress)</a></cite>, M. Jones, Microsoft.
</dd>
+ <dt id="jwa">JSON Web Algorithms</dt>
+ <dd>
+ <cite><a href="http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms">JSON Web Algorithms (work in progress)</a></cite>, M. Jones, Microsoft.
+ </dd>
<dt id="rfc3394">RFC3394</dt>
<dd>
<cite><a href="http://www.ietf.org/rfc/rfc3394.txt">Advanced Encryption Standard (AES) Key Wrap Algorithm</a></cite>, J. Schaad, R. Housley, IETF.
@@ -16686,6 +16690,13 @@
<cite><a href="https://tools.ietf.org/html/rfc5869">HMAC-based Extract-and-Expand
Key Derivation Function (HKDF)</a></cite>, H. Krawczyk, P. Eronen. IETF.
</dd>
+ <dt id="RFC4055">RFC 4055</dt>
+ <dd>
+ <cite><a href="https://tools.ietf.org/html/rfc4055">Additional Algorithms and
+ Identifiers for RSA Cryptography for use in the Internet X.509 Public Key
+ Infrastructure Certificate and Certificate Revocation List (CRL) Profile</a></cite>,
+ J. Schaad, B. Kaliski, R. Housley. IETF.
+ </dd>
<dt id="SP800-38A">NIST SP 800-38A</dt>
<dd>
<cite><a href="http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf">
--- a/spec/Overview.html Wed Mar 12 16:59:19 2014 -0700
+++ b/spec/Overview.html Wed Mar 12 17:41:46 2014 -0700
@@ -808,8 +808,8 @@
</p>
<div class="block"><div class="blockTitleDiv"><span class="blockTitle">IDL</span></div><div class="blockContent"><pre class="code"><code class="idl-code">
[NoInterfaceObject]
-interface <a href="#dfn-KeyAlgorithm">KeyAlgorithm</a> {
- readonly attribute DOMString <a href="#dfn-key-algorithm-name">name</a>
+interface <dfn id="#dfn-KeyAlgorithm">KeyAlgorithm</dfn> {
+ readonly attribute DOMString <a href="#dfn-KeyAlgorithm-name">name</a>
};
</code></pre></div></div>
<div id="key-algorithm-interface-description" class="section">
@@ -826,7 +826,7 @@
<div id="key-algorithm-interface-members" class="section">
<h3>11.2. KeyAlgorithm interface members</h3>
<dl>
- <dt id="dfn-key-algorithm-name">name</dt>
+ <dt id="dfn-KeyAlgorithm-name">name</dt>
<dd>The name of the algorithm used to generate the <a href="#dfn-Key">Key</a></dd>
</dl>
</div>
@@ -1156,7 +1156,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the
encrypt operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1240,7 +1240,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the decrypt
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1324,7 +1324,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the sign
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1407,7 +1407,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the verify
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1490,7 +1490,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the digest
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1566,7 +1566,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the generate
key operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1650,7 +1650,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the derive bits
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1666,7 +1666,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedDerivedKeyAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the get key length
and import key operations, then <a href="#concept-return-an-error">return an error</a> named
@@ -1773,7 +1773,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the derive bits
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1859,7 +1859,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the import key
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -1951,7 +1951,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the export key
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -2031,7 +2031,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the encrypt or wrap
key operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -2181,7 +2181,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the unwrap key or
decrypt
@@ -2198,7 +2198,7 @@
</li>
<li>
<p>
- If the <a href="#dfn-Algorith-name">name</a> member of
+ If the <a href="#dfn-Algorithm-name">name</a> member of
<var>normalizedKeyAlgorithm</var> does not identify a
<a href="#algorithms">registered algorithm</a> that supports the importKey
operation, then <a href="#concept-return-an-error">return an error</a> named
@@ -2911,9 +2911,9 @@
<div class="block"><div class="blockTitleDiv"><span class="blockTitle">IDL</span></div><div class="blockContent"><pre class="code"><code class="idl-code">
dictionary <dfn id="dfn-RsaKeyGenParams">RsaKeyGenParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The length, in bits, of the RSA modulus</span>
- [EnforceRange] unsigned long modulusLength;
+ [EnforceRange] unsigned long <dfn id="dfn-RsaKeyGenParams-modulusLength">modulusLength</dfn>;
<span class="comment">// The RSA public exponent</span>
- <a href="#dfn-BigInteger">BigInteger</a> publicExponent;
+ <a href="#dfn-BigInteger">BigInteger</a> <dfn id="dfn-RsaKeyGenParams-publicExponent">publicExponent</dfn>;
};
</code></pre></div></div>
</div>
@@ -3080,7 +3080,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>publicKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>publicKey</var>
to <code>"public"</code>
</p>
</li>
@@ -3100,7 +3100,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>publicKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "encrypt", "wrapKey" ]</code>.
</p>
</li>
@@ -3112,7 +3112,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>privateKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>privateKey</var>
to <code>"private"</code>
</p>
</li>
@@ -3132,7 +3132,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>privateKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "decrypt", "unwrapKey" ]</code>.
</p>
</li>
@@ -3144,13 +3144,13 @@
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-publicKey">publicKey</a> attribute
+ Set the <a href="#dfn-KeyPair-publicKey">publicKey</a> attribute
of <var>result</var> to be <var>publicKey</var>.
</p>
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-privateKey">privateKey</a> attribute
+ Set the <a href="#dfn-KeyPair-privateKey">privateKey</a> attribute
of <var>result</var> to be <var>privateKey</var>.
</p>
</li>
@@ -3221,7 +3221,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"public"</code>
</p>
</li>
@@ -3280,7 +3280,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"private"</code>
</p>
</li>
@@ -3382,7 +3382,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of
+ Set the <a href="#dfn-Key-type">type</a> attribute of
<var>key</var> to <code>"public"</code>
</p>
</li>
@@ -3573,7 +3573,7 @@
<li>
<p>
Set the properties <code>n</code> and <code>e</code> of <var>jwk</var>
- according to the corresponding definitions in <a href="#JWA">JSON Web
+ according to the corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.1.
</p>
</li>
@@ -3590,7 +3590,7 @@
Set the properties named <code>d</code>, <code>p</code>,
<code>q</code>, <code>dp</code>, <code>dq</code>, and
<code>qi</code> of <var>jwk</var> according to the
- corresponding definitions in <a href="#JWA">JSON Web
+ corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.
</p>
</li>
@@ -3599,7 +3599,7 @@
If the underlying RSA private key represented by
<var>key</var> is represented by more than two primes, set the
member named <code>oth</code> of <var>jwk</var> according to
- the corresponding definition in <a href="#JWA">JSON Web
+ the corresponding definition in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.7
</p>
</li>
@@ -3935,7 +3935,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>publicKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "verify" ]</code>.
</p>
</li>
@@ -3947,7 +3947,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>privateKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>privateKey</var>
to <code>"private"</code>
</p>
</li>
@@ -3967,7 +3967,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>privateKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "sign" ]</code>.
</p>
</li>
@@ -3979,13 +3979,13 @@
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-publicKey">publicKey</a> attribute
+ Set the <a href="#dfn-KeyPair-publicKey">publicKey</a> attribute
of <var>result</var> to be <var>publicKey</var>.
</p>
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-privateKey">privateKey</a> attribute
+ Set the <a href="#dfn-KeyPair-privateKey">privateKey</a> attribute
of <var>result</var> to be <var>privateKey</var>.
</p>
</li>
@@ -4151,7 +4151,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"public"</code>
</p>
</li>
@@ -4283,7 +4283,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"private"</code>
</p>
</li>
@@ -4411,7 +4411,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of
+ Set the <a href="#dfn-Key-type">type</a> attribute of
<var>key</var> to <code>"private"</code>
</p>
</li>
@@ -4436,7 +4436,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of
+ Set the <a href="#dfn-Key-type">type</a> attribute of
<var>key</var> to <code>"public"</code>
</p>
</li>
@@ -4681,7 +4681,7 @@
<li>
<p>
Set the fields <code>n</code> and <code>e</code> of <var>jwk</var>
- according to the corresponding definitions in <a href="#JWA">JSON Web
+ according to the corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.1.
</p>
</li>
@@ -4698,7 +4698,7 @@
Set the fields named <code>d</code>, <code>p</code>,
<code>q</code>, <code>dp</code>, <code>dq</code>, and
<code>qi</code> of <var>jwk</var> according to the
- corresponding definitions in <a href="#JWA">JSON Web
+ corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.
</p>
</li>
@@ -4707,7 +4707,7 @@
If the underlying RSA private key represented by
<var>key</var> is represented by more than two primes, set the
field named <code>oth</code> of <var>jwk</var> according to
- the corresponding definition in <a href="#JWA">JSON Web
+ the corresponding definition in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.7
</p>
</li>
@@ -4826,7 +4826,7 @@
<div class="block"><div class="blockTitleDiv"><span class="blockTitle">IDL</span></div><div class="blockContent"><pre class="code"><code class="idl-code">
dictionary <dfn id="dfn-RsaPssParams">RsaPssParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The desired length of the random salt</span>
- [EnforceRange] unsigned long saltLength;
+ [EnforceRange] unsigned long <dfn id="dfn-RsaPssParams-saltLength">saltLength</dfn>;
};
</code></pre></div></div>
</div>
@@ -5058,7 +5058,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>publicKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "verify" ]</code>.
</p>
</li>
@@ -5070,7 +5070,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>privateKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>privateKey</var>
to <code>"private"</code>
</p>
</li>
@@ -5090,7 +5090,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>privateKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "sign" ]</code>.
</p>
</li>
@@ -5102,13 +5102,13 @@
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-publicKey">publicKey</a> attribute
+ Set the <a href="#dfn-KeyPair-publicKey">publicKey</a> attribute
of <var>result</var> to be <var>publicKey</var>.
</p>
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-privateKey">privateKey</a> attribute
+ Set the <a href="#dfn-KeyPair-privateKey">privateKey</a> attribute
of <var>result</var> to be <var>privateKey</var>.
</p>
</li>
@@ -5327,7 +5327,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"public"</code>
</p>
</li>
@@ -5516,7 +5516,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"private"</code>
</p>
</li>
@@ -5644,7 +5644,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of
+ Set the <a href="#dfn-Key-type">type</a> attribute of
<var>key</var> to <code>"private"</code>
</p>
</li>
@@ -5669,7 +5669,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of
+ Set the <a href="#dfn-Key-type">type</a> attribute of
<var>key</var> to <code>"public"</code>
</p>
</li>
@@ -6097,7 +6097,7 @@
<li>
<p>
Set the fields <code>n</code> and <code>e</code> of <var>jwk</var>
- according to the corresponding definitions in <a href="#JWA">JSON Web
+ according to the corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.1.
</p>
</li>
@@ -6114,7 +6114,7 @@
Set the fields named <code>d</code>, <code>p</code>,
<code>q</code>, <code>dp</code>, <code>dq</code>, and
<code>qi</code> of <var>jwk</var> according to the
- corresponding definitions in <a href="#JWA">JSON Web
+ corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.
</p>
</li>
@@ -6123,7 +6123,7 @@
If the underlying RSA private key represented by
<var>key</var> is represented by more than two primes, set the
field named <code>oth</code> of <var>jwk</var> according to
- the corresponding definition in <a href="#JWA">JSON Web
+ the corresponding definition in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.7
</p>
</li>
@@ -6243,7 +6243,7 @@
<div class="block"><div class="blockTitleDiv"><span class="blockTitle">IDL</span></div><div class="blockContent"><pre class="code"><code class="idl-code">
dictionary <dfn id="dfn-RsaOaepParams">RsaOaepParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The optional label/application data to associate with the message</span>
- CryptoOperationData? label;
+ CryptoOperationData? <dfn id="dfn-RsaOaepParams-label">label</dfn>;
};
</code></pre></div></div>
</div>
@@ -6474,7 +6474,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>publicKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "encrypt", "wrapKey" ]</code>.
</p>
</li>
@@ -6486,7 +6486,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>privateKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>privateKey</var>
to <code>"private"</code>
</p>
</li>
@@ -6506,7 +6506,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>privateKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "decrypt", "unwrapKey" ]</code>.
</p>
</li>
@@ -6518,13 +6518,13 @@
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-publicKey">publicKey</a> attribute
+ Set the <a href="#dfn-KeyPair-publicKey">publicKey</a> attribute
of <var>result</var> to be <var>publicKey</var>.
</p>
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-privateKey">privateKey</a> attribute
+ Set the <a href="#dfn-KeyPair-privateKey">privateKey</a> attribute
of <var>result</var> to be <var>privateKey</var>.
</p>
</li>
@@ -6742,7 +6742,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"public"</code>
</p>
</li>
@@ -6932,7 +6932,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>key</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>key</var>
to <code>"private"</code>
</p>
</li>
@@ -7012,7 +7012,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of
+ Set the <a href="#dfn-Key-type">type</a> attribute of
<var>key</var> to <code>"private"</code>
</p>
</li>
@@ -7037,7 +7037,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of
+ Set the <a href="#dfn-Key-type">type</a> attribute of
<var>key</var> to <code>"public"</code>
</p>
</li>
@@ -7408,7 +7408,7 @@
<li>
<p>
Set the fields <code>n</code> and <code>e</code> of <var>jwk</var>
- according to the corresponding definitions in <a href="#JWA">JSON Web
+ according to the corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.1.
</p>
</li>
@@ -7425,7 +7425,7 @@
Set the fields named <code>d</code>, <code>p</code>,
<code>q</code>, <code>dp</code>, <code>dq</code>, and
<code>qi</code> of <var>jwk</var> according to the
- corresponding definitions in <a href="#JWA">JSON Web
+ corresponding definitions in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.
</p>
</li>
@@ -7434,7 +7434,7 @@
If the underlying RSA private key represented by
<var>key</var> is represented by more than two primes, set the
field named <code>oth</code> of <var>jwk</var> according to
- the corresponding definition in <a href="#JWA">JSON Web
+ the corresponding definition in <a href="#jwa">JSON Web
Algorithms</a>, Section 6.3.2.7
</p>
</li>
@@ -7553,7 +7553,7 @@
<div class="block"><div class="blockTitleDiv"><span class="blockTitle">IDL</span></div><div class="blockContent"><pre class="code"><code class="idl-code">
dictionary <dfn id="dfn-EcdsaParams">EcdsaParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The hash algorithm to use</span>
- AlgorithmIdentifier hash;
+ AlgorithmIdentifier <dfn id="dfn-EcdsaParams-hash">hash</dfn>;
};
</code></pre></div></div>
</div>
@@ -7564,7 +7564,7 @@
dictionary <dfn id="dfn-EcKeyGenParams">EcKeyGenParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// A named curve</span>
- <a href="#dfn-NamedCurve">NamedCurve</a> namedCurve;
+ <a href="#dfn-NamedCurve">NamedCurve</a> <dfn id="dfn-EcKeyGenParams-namedCurve">namedCurve</dfn>;
};
</code></pre></div></div>
<p>
@@ -7812,7 +7812,7 @@
<p>
Generate an Eliptic Curve key pair, as defined in [<a href="#X9.62">X9.62</a>]
with domain parameters for the curve identified by
- the <a href="#dfn-ExKeyGenParams-namedCurve">namedCurve</a> member of
+ the <a href="#dfn-EcKeyGenParams-namedCurve">namedCurve</a> member of
<var>normalizedAlgorithm</var>.
</p>
</li>
@@ -7882,7 +7882,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>privateKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>privateKey</var>
to <code>"private"</code>
</p>
</li>
@@ -7902,7 +7902,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>privateKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "sign", "verify" ]</code>.
</p>
</li>
@@ -7914,13 +7914,13 @@
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-publicKey">publicKey</a> attribute
+ Set the <a href="#dfn-KeyPair-publicKey">publicKey</a> attribute
of <var>result</var> to be <var>publicKey</var>.
</p>
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-privateKey">privateKey</a> attribute
+ Set the <a href="#dfn-KeyPair-privateKey">privateKey</a> attribute
of <var>result</var> to be <var>privateKey</var>.
</p>
</li>
@@ -8249,7 +8249,7 @@
<li>
<p>
If the <code>"key_ops"</code> field of <var>jwk</var> is present, and
- is invalid according to the requirements of <a href="#JWK">JSON Web
+ is invalid according to the requirements of <a href="#jwk">JSON Web
Key</a>, or it does not contain all of the specified <var>usages</var>
values,
then <a href="#concept-return-an-error">return an error</a> named
@@ -8272,7 +8272,7 @@
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section
- 6.2.2 of <a href="#JWA">JSON Web Algorithms</a>,
+ 6.2.2 of <a href="#jwa">JSON Web Algorithms</a>,
then <a href="#concept-return-an-error">return an error</a> named
<a href="#dfn-DataError"><code>DataError</code></a>.
</p>
@@ -8281,7 +8281,7 @@
<p>
Let <var>key</var> be a new <a href="#dfn-Key">Key</a> object
that represents the Elliptic Curve private key identified by
- interpreting <var>jwk</var> according to Section 6.2.2 of <a href="#JWA">JSON Web Algorithms</a>.
+ interpreting <var>jwk</var> according to Section 6.2.2 of <a href="#jwa">JSON Web Algorithms</a>.
</p>
</li>
<li>
@@ -8298,7 +8298,7 @@
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section
- 6.2.1 of <a href="#JWA">JSON Web Algorithms</a>,
+ 6.2.1 of <a href="#jwa">JSON Web Algorithms</a>,
then <a href="#concept-return-an-error">return an error</a> named
<a href="#dfn-DataError"><code>DataError</code></a>.
</p>
@@ -8307,7 +8307,7 @@
<p>
Let <var>key</var> be a new <a href="#dfn-Key">Key</a> object
that represents the Elliptic Curve public key identified by
- interpreting <var>jwk</var> according to Section 6.2.1 of <a href="#JWA">JSON Web Algorithms</a>.
+ interpreting <var>jwk</var> according to Section 6.2.1 of <a href="#jwa">JSON Web Algorithms</a>.
</p>
</li>
<li>
@@ -8322,7 +8322,7 @@
</li>
<li>
<p>
- Let <var>algorithm</var> be a new instance of an <a href="#EcKeyAlgorithm">EcKeyAlgorithm</a> object.
+ Let <var>algorithm</var> be a new instance of an <a href="#dfn-EcKeyAlgorithm">EcKeyAlgorithm</a> object.
</p>
</li>
<li>
@@ -8655,14 +8655,14 @@
<li>
<p>
Set the <code>x</code> property of <var>jwk</var> according to the
- definition in Section 6.2.1.2 of <a href="#JWA">JSON Web
+ definition in Section 6.2.1.2 of <a href="#jwa">JSON Web
Algorithms</a>.
</p>
</li>
<li>
<p>
Set the <code>y</code> property of <var>jwk</var> according to the
- definition in Section 6.2.1.3 of <a href="#JWA">JSON Web
+ definition in Section 6.2.1.3 of <a href="#jwa">JSON Web
Algorithms</a>.
</p>
</li>
@@ -8675,7 +8675,7 @@
<dd>
<p>
Set the <code>d</code> property of <var>jwk</var> according to the
- definition in Section 6.2.2.1 of <a href="#JWA">JSON Web
+ definition in Section 6.2.2.1 of <a href="#jwa">JSON Web
Algorithms</a>.
</p>
</dd>
@@ -8795,7 +8795,7 @@
dictionary <dfn id="dfn-EcdhKeyDeriveParams">EcdhKeyDeriveParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The peer's EC public key.</span>
- <a href="#dfn-Key">Key</a> public;
+ <a href="#dfn-Key">Key</a> <dfn id="dfn-EcdhKeyDeriveParams-public">public</dfn>;
};
</code></pre></div></div>
</div>
@@ -8902,7 +8902,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>privateKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>privateKey</var>
to <code>"private"</code>
</p>
</li>
@@ -8922,7 +8922,7 @@
<p>
Set the <a href="#dfn-Key-usages">usages</a> attribute of
<var>privateKey</var> to be the
- <a href="concept-usage-intersection">usage intersection</a> of
+ <a href="#concept-usage-intersection">usage intersection</a> of
<var>usages</var> and <code>[ "deriveKey", "deriveBits" ]</code>.
</p>
</li>
@@ -8934,13 +8934,13 @@
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-publicKey">publicKey</a> attribute
+ Set the <a href="#dfn-KeyPair-publicKey">publicKey</a> attribute
of <var>result</var> to be <var>publicKey</var>.
</p>
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-privateKey">privateKey</a> attribute
+ Set the <a href="#dfn-KeyPair-privateKey">privateKey</a> attribute
of <var>result</var> to be <var>privateKey</var>.
</p>
</li>
@@ -9381,7 +9381,7 @@
<li>
<p>
If the <code>"key_ops"</code> field of <var>jwk</var> is present, and
- is invalid according to the requirements of <a href="#JWK">JSON Web
+ is invalid according to the requirements of <a href="#jwk">JSON Web
Key</a>, or it does not contain all of the specified <var>usages</var>
values, then <a href="#concept-return-an-error">return an error</a>
named <a href="#dfn-DataError"><code>DataError</code></a>.
@@ -9403,7 +9403,7 @@
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section
- 6.2.2 of <a href="#JWA">JSON Web Algorithms</a>,
+ 6.2.2 of <a href="#jwa">JSON Web Algorithms</a>,
then <a href="#concept-return-an-error">return an error</a> named
<a href="#dfn-DataError"><code>DataError</code></a>.
</p>
@@ -9412,7 +9412,7 @@
<p>
Let <var>key</var> be a new <a href="#dfn-Key">Key</a> object
that represents the Elliptic Curve private key identified by
- interpreting <var>jwk</var> according to Section 6.2.2 of <a href="#JWA">JSON Web Algorithms</a>.
+ interpreting <var>jwk</var> according to Section 6.2.2 of <a href="#jwa">JSON Web Algorithms</a>.
</p>
</li>
<li>
@@ -9429,7 +9429,7 @@
<li>
<p>
If <var>jwk</var> does not meet the requirements of Section
- 6.2.1 of <a href="#JWA">JSON Web Algorithms</a>,
+ 6.2.1 of <a href="#jwa">JSON Web Algorithms</a>,
then <a href="#concept-return-an-error">return an error</a> named
<a href="#dfn-DataError"><code>DataError</code></a>.
</p>
@@ -9438,7 +9438,7 @@
<p>
Let <var>key</var> be a new <a href="#dfn-Key">Key</a> object
that represents the Elliptic Curve public key identified by
- interpreting <var>jwk</var> according to Section 6.2.1 of <a href="#JWA">JSON Web Algorithms</a>.
+ interpreting <var>jwk</var> according to Section 6.2.1 of <a href="#jwa">JSON Web Algorithms</a>.
</p>
</li>
<li>
@@ -9453,7 +9453,7 @@
</li>
<li>
<p>
- Let <var>algorithm</var> be a new instance of an <a href="#EcKeyAlgorithm">EcKeyAlgorithm</a> object.
+ Let <var>algorithm</var> be a new instance of an <a href="#dfn-EcKeyAlgorithm">EcKeyAlgorithm</a> object.
</p>
</li>
<li>
@@ -9560,13 +9560,13 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"ECDH"</code>.
</p>
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-namedCurve">namedCurve</a> attribute
+ Set the <a href="#dfn-KeyAlgorithm-namedCurve">namedCurve</a> attribute
of <var>algorithm</var> to equal the <a href="#dfn-EcKeyImportParams-namedCurve">namedCurve</a> member of
<var>normalizedAlgorithm</var>.
</p>
@@ -9877,14 +9877,14 @@
<li>
<p>
Set the <code>x</code> property of <var>jwk</var> according to the
- definition in Section 6.2.1.2 of <a href="#JWA">JSON Web
+ definition in Section 6.2.1.2 of <a href="#jwa">JSON Web
Algorithms</a>.
</p>
</li>
<li>
<p>
Set the <code>y</code> property of <var>jwk</var> according to the
- definition in Section 6.2.1.3 of <a href="#JWA">JSON Web
+ definition in Section 6.2.1.3 of <a href="#jwa">JSON Web
Algorithms</a>.
</p>
</li>
@@ -9897,7 +9897,7 @@
<dd>
<p>
Set the <code>d</code> property of <var>jwk</var> according to the
- definition in Section 6.2.2.1 of <a href="#JWA">JSON Web
+ definition in Section 6.2.2.1 of <a href="#jwa">JSON Web
Algorithms</a>.
</p>
</dd>
@@ -10255,7 +10255,7 @@
<li>
<p>
Let <var>key</var> be a new
- <a href="#dfn-key">Key</a> object representing the
+ <a href="#dfn-Key">Key</a> object representing the
generated AES key.
</p>
</li>
@@ -10267,7 +10267,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CTR"</code>.
</p>
</li>
@@ -10427,7 +10427,7 @@
</li>
<li>
<p>
- Let <var>key</var> be a new <code><a href="#dfn-key">Key</a></code>
+ Let <var>key</var> be a new <code><a href="#dfn-Key">Key</a></code>
object representing an AES key with value <var>data</var>.
</p>
</li>
@@ -10439,13 +10439,13 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CTR"</code>.
</p>
</li>
<li>
<p>
- Set the <a href="#dfn-AesKeyAlgorith-length">length</a> attribute of
+ Set the <a href="#dfn-AesKeyAlgorithm-length">length</a> attribute of
<var>algorithm</var> to the length, in bits, of <var>data</var>.
</p>
</li>
@@ -10675,7 +10675,7 @@
<div class="block"><div class="blockTitleDiv"><span class="blockTitle">IDL</span></div><div class="blockContent"><pre class="code"><code class="idl-code">
dictionary <dfn id="dfn-AesCbcParams">AesCbcParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The initialization vector. <span class="RFC2119">MUST</span> be 16 bytes.</span>
- CryptoOperationData <dfn id="dfn-AesCbsParams-iv">iv</dfn>;
+ CryptoOperationData <dfn id="dfn-AesCbcParams-iv">iv</dfn>;
};
</code></pre></div></div>
</div>
@@ -10850,7 +10850,7 @@
<li>
<p>
Let <var>key</var> be a new
- <a href="#dfn-key">Key</a> object representing the
+ <a href="#dfn-Key">Key</a> object representing the
generated AES key.
</p>
</li>
@@ -10862,7 +10862,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CBC"</code>.
</p>
</li>
@@ -11023,7 +11023,7 @@
</li>
<li>
<p>
- Let <var>key</var> be a new <code><a href="#dfn-key">Key</a></code>
+ Let <var>key</var> be a new <code><a href="#dfn-Key">Key</a></code>
object representing an AES key with value <var>data</var>.
</p>
</li>
@@ -11035,13 +11035,13 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CBC"</code>.
</p>
</li>
<li>
<p>
- Set the <a href="#dfn-AesKeyAlgorith-length">length</a> attribute of
+ Set the <a href="#dfn-AesKeyAlgorithm-length">length</a> attribute of
<var>algorithm</var> to the length, in bits, of <var>data</var>.
</p>
</li>
@@ -11395,7 +11395,7 @@
<li>
<p>
Let <var>key</var> be a new
- <a href="#dfn-key">Key</a> object representing the
+ <a href="#dfn-Key">Key</a> object representing the
generated AES key.
</p>
</li>
@@ -11407,7 +11407,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CMAC"</code>.
</p>
</li>
@@ -11567,7 +11567,7 @@
</li>
<li>
<p>
- Let <var>key</var> be a new <code><a href="#dfn-key">Key</a></code>
+ Let <var>key</var> be a new <code><a href="#dfn-Key">Key</a></code>
object representing an AES key with value <var>data</var>.
</p>
</li>
@@ -11579,13 +11579,13 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CMAC"</code>.
</p>
</li>
<li>
<p>
- Set the <a href="#dfn-AesKeyAlgorith-length">length</a> attribute of
+ Set the <a href="#dfn-AesKeyAlgorithm-length">length</a> attribute of
<var>algorithm</var> to the length, in bits, of <var>data</var>.
</p>
</li>
@@ -11924,13 +11924,13 @@
</li>
<li>
<dl class="switch">
- <dt>If the <a href="#dfn-AesGcmParams-tagLangth">tagLength</a> member of
+ <dt>If the <a href="#dfn-AesGcmParams-tagLength">tagLength</a> member of
<var>normalizedAlgorithm</var> is not present or null:</dt>
<dd>Let <var>tagLength</var> be 128.</dd>
- <dt>If the <a href="#dfn-AesGcmParams-tagLangth">tagLength</a> member of
+ <dt>If the <a href="#dfn-AesGcmParams-tagLength">tagLength</a> member of
<var>normalizedAlgorithm</var> is one of 32, 64, 96, 104, 112, 120 or 128:</dt>
<dd>Let <var>tagLength</var> be equal to the
- <a href="#dfn-AesGcmParams-tagLangth">tagLength</a> member of
+ <a href="#dfn-AesGcmParams-tagLength">tagLength</a> member of
<var>normalizedAlgorithm</var></dd>
<dt>Otherwise:</dt>
<dd>
@@ -12068,7 +12068,7 @@
<li>
<p>
Let <var>key</var> be a new
- <a href="#dfn-key">Key</a> object representing the
+ <a href="#dfn-Key">Key</a> object representing the
generated AES key.
</p>
</li>
@@ -12080,7 +12080,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-GCM"</code>.
</p>
</li>
@@ -12241,7 +12241,7 @@
</li>
<li>
<p>
- Let <var>key</var> be a new <code><a href="#dfn-key">Key</a></code>
+ Let <var>key</var> be a new <code><a href="#dfn-Key">Key</a></code>
object representing an AES key with value <var>data</var>.
</p>
</li>
@@ -12253,13 +12253,13 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-GCM"</code>.
</p>
</li>
<li>
<p>
- Set the <a href="#dfn-AesKeyAlgorith-length">length</a> attribute of
+ Set the <a href="#dfn-AesKeyAlgorithm-length">length</a> attribute of
<var>algorithm</var> to the length, in bits, of <var>data</var>.
</p>
</li>
@@ -12633,7 +12633,7 @@
<li>
<p>
Let <var>key</var> be a new
- <a href="#dfn-key">Key</a> object representing the
+ <a href="#dfn-Key">Key</a> object representing the
generated AES key.
</p>
</li>
@@ -12645,7 +12645,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CFB-8"</code>.
</p>
</li>
@@ -12806,7 +12806,7 @@
</li>
<li>
<p>
- Let <var>key</var> be a new <code><a href="#dfn-key">Key</a></code>
+ Let <var>key</var> be a new <code><a href="#dfn-Key">Key</a></code>
object representing an AES key with value <var>data</var>.
</p>
</li>
@@ -12818,13 +12818,13 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-CFB-8"</code>.
</p>
</li>
<li>
<p>
- Set the <a href="#dfn-AesKeyAlgorith-length">length</a> attribute of
+ Set the <a href="#dfn-AesKeyAlgorithm-length">length</a> attribute of
<var>algorithm</var> to the length, in bits, of <var>data</var>.
</p>
</li>
@@ -13140,7 +13140,7 @@
<li>
<p>
Let <var>key</var> be a new
- <a href="#dfn-key">Key</a> object representing the
+ <a href="#dfn-Key">Key</a> object representing the
generated AES key.
</p>
</li>
@@ -13152,7 +13152,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-KW"</code>.
</p>
</li>
@@ -13313,7 +13313,7 @@
</li>
<li>
<p>
- Let <var>key</var> be a new <a href="#dfn-key">Key</a>
+ Let <var>key</var> be a new <a href="#dfn-Key">Key</a>
object representing an AES key with value <var>data</var>.
</p>
</li>
@@ -13325,13 +13325,13 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"AES-KW"</code>.
</p>
</li>
<li>
<p>
- Set the <a href="#dfn-AesKeyAlgorith-length">length</a> attribute of
+ Set the <a href="#dfn-AesKeyAlgorithm-length">length</a> attribute of
<var>algorithm</var> to the length, in bits, of <var>data</var>.
</p>
</li>
@@ -13548,7 +13548,7 @@
<div class="block"><div class="blockTitleDiv"><span class="blockTitle">IDL</span></div><div class="blockContent"><pre class="code"><code class="idl-code">
dictionary <dfn id="dfn-HmacImportParams">HmacImportParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The inner hash function to use.</span>
- AlgorithmIdentifier hash;
+ AlgorithmIdentifier <dfn id="dfn-HmacImportParams-hash">hash</dfn>;
};
</code></pre></div></div>
</div>
@@ -13557,7 +13557,7 @@
<div class="block"><div class="blockTitleDiv"><span class="blockTitle">IDL</span></div><div class="blockContent"><pre class="code"><code class="idl-code">
interface <dfn id="dfn-HmacKeyAlgorithm">HmacKeyAlgorithm</dfn> : <a href="#dfn-KeyAlgorithm">KeyAlgorithm</a> {
<span class="comment">// The inner hash function to use.</span>
- readonly attribute KeyAlgorithm hash;
+ readonly attribute KeyAlgorithm <dfn id="dfn-HmacKeyAlgorithm-hash">hash</dfn>;
};
</code></pre></div></div>
</div>
@@ -13566,11 +13566,11 @@
<div class="block"><div class="blockTitleDiv"><span class="blockTitle">IDL</span></div><div class="blockContent"><pre class="code"><code class="idl-code">
dictionary <dfn id="dfn-HmacKeyGenParams">HmacKeyGenParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The inner hash function to use.</span>
- AlgorithmIdentifier hash;
+ AlgorithmIdentifier <dfn id="dfn-HmacKeyGenParams-hash">hash</dfn>;
<span class="comment">// The length (in bits) of the key to generate. If unspecified, the
// recommended length will be used, which is the size of the associated hash function's block
// size.</span>
- [EnforceRange] unsigned long length;
+ [EnforceRange] unsigned long <dfn id="dfn-HmacKeyGenParams-length">length</dfn>;
};
</code></pre></div></div>
</div>
@@ -13581,7 +13581,7 @@
<span class="comment">// The length (in bits) of the key to generate. If unspecified, the
// recommended length will be used, which is the size of the associated hash function's block
// size.</span>
- [EnforceRange] unsigned long length;
+ [EnforceRange] unsigned long <dfn id="dfn-HmacDerivedKeyParams-length">length</dfn>;
};
</code></pre></div></div>
</div>
@@ -13699,7 +13699,7 @@
<li>
<p>
Let <var>key</var> be a new
- <a href="#dfn-key">Key</a> object representing the
+ <a href="#dfn-Key">Key</a> object representing the
generated key.
</p>
</li>
@@ -13711,7 +13711,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"HMAC"</code>.
</p>
</li>
@@ -14018,7 +14018,7 @@
</li>
<li>
<p>
- Let <var>key</var> be a new <code><a href="#dfn-key">Key</a></code>
+ Let <var>key</var> be a new <code><a href="#dfn-Key">Key</a></code>
object representing an HMAC key with value <var>data</var>.
</p>
</li>
@@ -14030,7 +14030,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-KeyAlgorith-name">name</a> attribute of
+ Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
<var>algorithm</var> to <code>"HMAC"</code>.
</p>
</li>
@@ -14429,7 +14429,7 @@
</li>
<li>
<p>
- Set the <a href="#dfn-Key-Type">type</a> attribute of <var>privateKey</var>
+ Set the <a href="#dfn-Key-type">type</a> attribute of <var>privateKey</var>
to <code>"private"</code>
</p>
</li>
@@ -14459,13 +14459,13 @@
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-publicKey">publicKey</a> attribute
+ Set the <a href="#dfn-KeyPair-publicKey">publicKey</a> attribute
of <var>result</var> to be <var>publicKey</var>.
</p>
</li>
<li>
<p>
- Set the <a href="#def-KeyPair-privateKey">privateKey</a> attribute
+ Set the <a href="#dfn-KeyPair-privateKey">privateKey</a> attribute
of <var>result</var> to be <var>privateKey</var>.
</p>
</li>
@@ -14657,14 +14657,14 @@
<li>
<p>
Set the <a href="#dfn-DhKeyAlgorithm-prime">prime</a> attribute of
- <var>algorithm</var> to equal the <a href="#dfn-DhKeyImportParams-prime">prime</a> member of
+ <var>algorithm</var> to equal the <a href="#dfn-DhImportKeyParams-prime">prime</a> member of
<var>normalizedAlgorithm</var>.
</p>
</li>
<li>
<p>
Set the <a href="#dfn-DhKeyAlgorithm-generator">generator</a> attribute of
- <var>algorithm</var> to equal the <a href="#dfn-DhKeyImportParams-generator">generator</a> member of
+ <var>algorithm</var> to equal the <a href="#dfn-DhImportKeyParams-generator">generator</a> member of
<var>normalizedAlgorithm</var>.
</p>
</li>
@@ -15356,7 +15356,7 @@
<var>normalizedAlgorithm</var> as <var>PartyUInfo</var>, the
<a href="#dfn-ConcatParams-partyVInfo">partyVInfo</a> member of
<var>normalizedAlgorithm</var> as <var>PartyVInfo</var>, the
- <a href="#dfn-ConcatParams-pubicInfo">publicInfo</a> member of
+ <a href="#dfn-ConcatParams-publicInfo">publicInfo</a> member of
<var>normalizedAlgorithm</var>, if present and not null, as
<var>publicInfo</var> and the
<a href="#dfn-ConcatParams-privateInfo">privateInfo</a> member of
@@ -15517,11 +15517,11 @@
<div class="block"><div class="blockTitleDiv"><span class="blockTitle">IDL</span></div><div class="blockContent"><pre class="code"><code class="idl-code">
dictionary <dfn id="dfn-HkdfCtrParams">HkdfCtrParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
<span class="comment">// The algorithm to use with HMAC (eg: <a href="#sha-256">SHA-256</a>)</span>
- AlgorithmIdentifier hash;
+ AlgorithmIdentifier <dfn id="dfn-HkdfCtrParams-hash">hash</dfn>;
<span class="comment">// A bit string that corresponds to the label that identifies the purpose for the derived keying material.</span>
- CryptoOperationData label;
+ CryptoOperationData <dfn id="dfn-HkdfCtrParams-label">label</dfn>;
<span class="comment">// A bit string that corresponds to the context of the key derivation, as described in Section 5 of NIST SP 800-108 [<a href="#SP800-108">SP800-108</a>]</span>
- CryptoOperationData context;
+ CryptoOperationData <dfn id="dfn-HkdfCtrParams-context">context</dfn>;
};
</code></pre></div></div>
<div class="ednote"><div class="ednoteHeader">Editorial note</div>
@@ -15868,7 +15868,7 @@
<var>key</var> as the password, <var>P</var>, the contents of the
<a href="#dfn-Pbkdf2Params-salt">salt</a> attribute of
<var>normalizedAlgorithm</var> as the salt, <var>S</var>, the value of the
- <a href="dfn-Pbkdf2Params-interations">iterations</a> attribute of
+ <a href="#dfn-Pbkdf2Params-iterations">iterations</a> attribute of
<var>normalizedAlgorithm</var> as the iteration count, <var>c</var>, and
<var>length</var> divided by 8 as the intended key length, <var>dkLen</var>.
</p>
@@ -16062,7 +16062,7 @@
</p>
<p>
When this specification says that a value <var>algorithm</var> be
- <dfn id="dfn-normalize-to-type">normalized to <var>type</var></dfn> the user agent must
+ <dfn id="concept-normalize-to-type">normalized to <var>type</var></dfn> the user agent must
perform the following steps:
</p>
<ol>
@@ -16341,7 +16341,7 @@
mailing list.
</p>
<p>
- The W3C would like to thank the <a href="http://www.northropgrumman.com/cybersecurity/presskit_research_co.html">Northrop
+ The W3C would like to thank the <a href="http://certdata.northropgrumman.com/cybersecurity/presskit_research_co.html">Northrop
Grumman Cybersecurity Research Consortium</a> for supporting W3C/MIT.
</p>
<p>
@@ -16394,13 +16394,13 @@
</dd>
<dt id="RFC5208">RFC5208</dt>
<dd>
- <cite><a href="http://www.ietf.org/rfc/rfc5208">Public-Key Cryptography Standards
+ <cite><a href="http://www.ietf.org/rfc/rfc5208.txt">Public-Key Cryptography Standards
(PKCS) #8: Private-Key Information Syntax Specification Version 1.2</a></cite>,
B. Kaliski. IETF.
</dd>
<dt id="RFC5280">RFC5280</dt>
<dd>
- <cite><a href="http://www.ietf.org/rfc/rfc5280">Internet X.509 Public Key
+ <cite><a href="http://www.ietf.org/rfc/rfc5280.txt">Internet X.509 Public Key
Infrastructure Certificate and Certificate Revocation List (CRL) Profile</a></cite>,
D. Cooper, S. Santesson, S. Farrell, S. Boeyen, R. Housley, W. Polk. IETF.
</dd>
@@ -16428,6 +16428,10 @@
<dd>
<cite><a href="http://tools.ietf.org/html/draft-ietf-jose-json-web-key">JSON Web Key (work in progress)</a></cite>, M. Jones, Microsoft.
</dd>
+ <dt id="jwa">JSON Web Algorithms</dt>
+ <dd>
+ <cite><a href="http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms">JSON Web Algorithms (work in progress)</a></cite>, M. Jones, Microsoft.
+ </dd>
<dt id="rfc3394">RFC3394</dt>
<dd>
<cite><a href="http://www.ietf.org/rfc/rfc3394.txt">Advanced Encryption Standard (AES) Key Wrap Algorithm</a></cite>, J. Schaad, R. Housley, IETF.
@@ -16496,6 +16500,13 @@
<cite><a href="https://tools.ietf.org/html/rfc5869">HMAC-based Extract-and-Expand
Key Derivation Function (HKDF)</a></cite>, H. Krawczyk, P. Eronen. IETF.
</dd>
+ <dt id="RFC4055">RFC 4055</dt>
+ <dd>
+ <cite><a href="https://tools.ietf.org/html/rfc4055">Additional Algorithms and
+ Identifiers for RSA Cryptography for use in the Internet X.509 Public Key
+ Infrastructure Certificate and Certificate Revocation List (CRL) Profile</a></cite>,
+ J. Schaad, B. Kaliski, R. Housley. IETF.
+ </dd>
<dt id="SP800-38A">NIST SP 800-38A</dt>
<dd>
<cite><a href="http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf">