Style: Ensure that all string literals follow <code>"style"</code> and not <code>style</code> used for identifiers
authorRyan Sleevi <sleevi@google.com>
Mon, 16 Jun 2014 00:00:00 -0700
changeset 204 ee10c81e1141
parent 203 71498804a64d
child 205 93a00e50f184
Style: Ensure that all string literals follow <code>"style"</code> and not <code>style</code> used for identifiers
spec/Overview-WebCryptoAPI.xml
spec/Overview.html
--- a/spec/Overview-WebCryptoAPI.xml	Mon Jun 16 00:00:00 2014 -0700
+++ b/spec/Overview-WebCryptoAPI.xml	Mon Jun 16 00:00:00 2014 -0700
@@ -1267,13 +1267,13 @@
               Specifies a serialization format for a key. The <dfn
               id="dfn-RecognizedKeyFormats">recognized key format values</dfn> are:
               <dl>
-                <dt><code>raw</code></dt>
+                <dt><code>"raw"</code></dt>
                 <dd>An unformatted sequence of bytes. Intended for secret keys.</dd>
-                <dt><code>pkcs8</code></dt>
+                <dt><code>"pkcs8"</code></dt>
                 <dd>The DER encoding of the PrivateKeyInfo structure from <a href="#RFC5208">RFC 5208</a>.</dd>
-                <dt><code>spki</code></dt>
+                <dt><code>"spki"</code></dt>
                 <dd>The DER encoding of the SubjectPublicKeyInfo structure from <a href="#RFC5280">RFC 5280</a>.</dd>
-                <dt><code>jwk</code></dt>
+                <dt><code>"jwk"</code></dt>
                 <dd>The key is a <a href="#dfn-JsonWebKey">JsonWebKey</a> dictionary encoded as a JavaScript object</dd>
               </dl>
             </dd>
@@ -1319,7 +1319,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>encrypt</code>.
+                  <code>"encrypt"</code>.
                 </p>
               </li>
               <li>
@@ -1402,7 +1402,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>decrypt</code>.
+                  <code>"decrypt"</code>.
                 </p>
               </li>
               <li>
@@ -1485,7 +1485,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>sign</code>.
+                  <code>"sign"</code>.
                 </p>
               </li>
               <li>
@@ -1566,7 +1566,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>verify</code>.
+                  <code>"verify"</code>.
                 </p>
               </li>
               <li>
@@ -1654,7 +1654,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>digest</code>.
+                  <code>"digest"</code>.
                 </p>
               </li>
               <li>
@@ -1722,7 +1722,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>generateKey</code>.
+                  <code>"generateKey"</code>.
                 </p>
               </li>
               <li>
@@ -1787,10 +1787,8 @@
                   Let <var>algorithm</var>, <var>baseKey</var>, <var>derivedKeyType</var>,
                   <var>extractable</var> and <var>usages</var> be the <code>algorithm</code>,
                   <code>baseKey</code>, <code>derivedKeyType</code>, <code>extractable</code> and
-                  <code>keyUsages</code>
-                  parameters passed to the
-                  <a href="#dfn-SubtleCrypto-method-deriveKey">deriveKey</a> method,
-                  respectively.
+                  <code>keyUsages</code> parameters passed to the <a
+                  href="#dfn-SubtleCrypto-method-deriveKey">deriveKey</a> method, respectively.
                 </p>
               </li>
               <li>
@@ -1798,7 +1796,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>deriveKey</code>.
+                  <code>"deriveBits"</code>.
                 </p>
               </li>
               <li>
@@ -1812,7 +1810,7 @@
                   Let <var>normalizedDerivedKeyAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>derivedKeyType</var> and <code>op</code> set to
-                  <code>importKey</code>.
+                  <code>"importKey"</code>.
                 </p>
               </li>
               <li>
@@ -1929,7 +1927,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>deriveBits</code>.
+                  <code>"deriveBits"</code>.
                 </p>
               </li>
               <li>
@@ -1993,13 +1991,10 @@
             <ol>
               <li>
                 <p>
-                  Let <var>format</var>, <var>algorithm</var>,
-                  <var>extractable</var> and <var>usages</var>,
-                  be the <code>format</code>, <code>algorithm</code>,
-                  <code>extractable</code> and <code>keyUsages</code>
-                  parameters passed to the
-                  <a href="#dfn-SubtleCrypto-method-importKey">importKey</a> method,
-                  respectively.
+                  Let <var>format</var>, <var>algorithm</var>, <var>extractable</var> and
+                  <var>usages</var>, be the <code>format</code>, <code>algorithm</code>,
+                  <code>extractable</code> and <code>keyUsages</code> parameters passed to the <a
+                  href="#dfn-SubtleCrypto-method-importKey">importKey</a> method, respectively.
                 </p>
               </li>
               <li>
@@ -2007,7 +2002,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>importKey</code>.
+                  <code>"importKey"</code>.
                 </p>
               </li>
               <li>
@@ -2019,8 +2014,8 @@
               <li>
                 <dl class="switch">
                   <dt>
-                    If <var>format</var> is equal to the string <code>raw</code>,
-                    <code>pkcs8</code>, or <code>spki</code>:
+                    If <var>format</var> is equal to the string <code>"raw"</code>,
+                    <code>"pkcs8"</code>, or <code>"spki"</code>:
                   </dt>
                   <dd>
                     Let <var>keyData</var> be the result of
@@ -2029,7 +2024,7 @@
                     <a href="#dfn-SubtleCrypto-method-importKey">importKey</a> method.
                   </dd>
                   <dt>
-                    If <var>format</var> is equal to the string <code>jwk</code>:
+                    If <var>format</var> is equal to the string <code>"jwk"</code>:
                   </dt>
                   <dd>
                     Let <var>keyData</var> be the result of converting the <code>keyData</code>
@@ -2191,7 +2186,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>wrapKey</code>.
+                  <code>"wrapKey"</code>.
                 </p>
               </li>
               <li>
@@ -2199,7 +2194,7 @@
                   If an error occurred, let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>encrypt</code>.
+                  <code>"encrypt"</code>.
                 </p>
               </li>
               <li>
@@ -2279,14 +2274,14 @@
               <li>
                 <dl class="switch">
                   <dt>
-                    If <var>format</var> is equal to the strings <code>raw</code>,
-                    <code>pkcs8</code>, or <code>spki</code>:
+                    If <var>format</var> is equal to the strings <code>"raw"</code>,
+                    <code>"pkcs8"</code>, or <code>"spki"</code>:
                   </dt>
                   <dd>
                     Set <var>bytes</var> be set to <var>key</var>.
                   </dd>
                   <dt>
-                    If <var>format</var> is equal to the string <code>jwk</code>:
+                    If <var>format</var> is equal to the string <code>"jwk"</code>:
                   </dt>
                   <dd>
                     <ol>
@@ -2399,7 +2394,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>unwrapKey</code>.
+                  <code>"unwrapKey"</code>.
                 </p>
               </li>
               <li>
@@ -2407,7 +2402,7 @@
                   If an error occurred, let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>decrypt</code>.
+                  <code>"decrypt"</code>.
                 </p>
               </li>
               <li>
@@ -2418,10 +2413,10 @@
               </li>
               <li>
                 <p>
-                  Let <var>normalizedKeyAlgorithm</var> be the result of
-                  <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
-                  <code>alg</code> set to <var>unwrappedKeyAlgorithm</var> and <code>op</code> set to
-                  <code>importKey</code>.
+                  Let <var>normalizedKeyAlgorithm</var> be the result of <a
+                  href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
+                  <code>alg</code> set to <var>unwrappedKeyAlgorithm</var> and <code>op</code> set
+                  to <code>"importKey"</code>.
                 </p>
               </li>
               <li>
@@ -2503,14 +2498,14 @@
               <li>
                 <dl class="switch">
                   <dt>
-                    If <var>format</var> is equal to the strings <code>raw</code>,
-                    <code>pkcs8</code>, or <code>spki</code>:
+                    If <var>format</var> is equal to the strings <code>"raw"</code>,
+                    <code>"pkcs8"</code>, or <code>"spki"</code>:
                   </dt>
                   <dd>
                     Set <var>bytes</var> be set to <var>key</var>.
                   </dd>
                   <dt>
-                    If <var>format</var> is equal to the string <code>jwk</code>:
+                    If <var>format</var> is equal to the string <code>"jwk"</code>:
                   </dt>
                   <dd>
                     Let <var>bytes</var> be the result of executing the
@@ -3916,7 +3911,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-1</code>.
+                                Let <var>hash</var> be the string <code>"SHA-1"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -3926,7 +3921,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-256</code>.
+                                Let <var>hash</var> be the string <code>"SHA-256"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -3936,7 +3931,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-384</code>.
+                                Let <var>hash</var> be the string <code>"SHA-384"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -3946,7 +3941,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-512</code>.
+                                Let <var>hash</var> be the string <code>"SHA-512"</code>.
                               </p>
                             </dd>
                             <dt>Otherwise:</dt>
@@ -4056,7 +4051,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-1</code>.
+                                Let <var>hash</var> be the string <code>"SHA-1"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -4066,7 +4061,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-256</code>.
+                                Let <var>hash</var> be the string <code>"SHA-256"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -4076,7 +4071,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-384</code>.
+                                Let <var>hash</var> be the string <code>"SHA-384"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -4086,7 +4081,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-512</code>.
+                                Let <var>hash</var> be the string <code>"SHA-512"</code>.
                               </p>
                             </dd>
                             <dt>Otherwise:</dt>
@@ -4207,7 +4202,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-1</code>.
+                                Let <var>hash</var> be the string <code>"SHA-1"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -4216,7 +4211,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-256</code>.
+                                Let <var>hash</var> be the string <code>"SHA-256"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -4225,7 +4220,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-384</code>.
+                                Let <var>hash</var> be the string <code>"SHA-384"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -4234,7 +4229,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-512</code>.
+                                Let <var>hash</var> be the string <code>"SHA-512"</code>.
                               </p>
                             </dd>
                             <dt>Otherwise:</dt>
@@ -4527,32 +4522,32 @@
                         </li>
                         <li>
                           <dl class="switch">
-                            <dt>If <var>hash</var> is <code>SHA-1</code>:</dt>
-                            <dd>
-                              <p>
-                                Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>RS1</code>.
-                              </p>
-                            </dd>
-                            <dt>If <var>hash</var> is <code>SHA-256</code>:</dt>
+                            <dt>If <var>hash</var> is <code>"SHA-1"</code>:</dt>
                             <dd>
                               <p>
                                 Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>RS256</code>.
-                              </p>
-                            </dd>
-                            <dt>If <var>hash</var> is <code>SHA-384</code>:</dt>
+                                <code>"RS1"</code>.
+                              </p>
+                            </dd>
+                            <dt>If <var>hash</var> is <code>"SHA-256"</code>:</dt>
                             <dd>
                               <p>
                                 Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>RS384</code>.
-                              </p>
-                            </dd>
-                            <dt>If <var>hash</var> is <code>SHA-512</code>:</dt>
+                                <code>"RS256"</code>.
+                              </p>
+                            </dd>
+                            <dt>If <var>hash</var> is <code>"SHA-384"</code>:</dt>
                             <dd>
                               <p>
                                 Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>RS512</code>.
+                                <code>"RS384"</code>.
+                              </p>
+                            </dd>
+                            <dt>If <var>hash</var> is <code>"SHA-512"</code>:</dt>
+                            <dd>
+                              <p>
+                                Set the <code>alg</code> attribute of <var>jwk</var> to the string
+                                <code>"RS512"</code>.
                               </p>
                             </dd>
                             <dt>Otherwise:</dt>
@@ -4566,7 +4561,7 @@
                         </li>
                         <li>
                           <p>Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                          <code>RSA1_5</code>.</p>
+                          <code>"RSA1_5"</code>.</p>
                         </li>
                         <li>
                           <p>
@@ -5045,7 +5040,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-1</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-1"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -5055,7 +5050,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-256</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-256"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -5065,7 +5060,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-384</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-384"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -5075,7 +5070,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-512</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-512"</code>.
                                       </p>
                                     </dd>
                                     <dt>Otherwise:</dt>
@@ -5248,7 +5243,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-1</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-1"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -5258,7 +5253,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-256</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-256"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -5268,7 +5263,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-384</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-384"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -5278,7 +5273,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-512</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-512"</code>.
                                       </p>
                                     </dd>
                                     <dt>Otherwise:</dt>
@@ -5431,7 +5426,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-1</code>.
+                                Let <var>hash</var> be the string <code>"SHA-1"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -5440,7 +5435,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-256</code>.
+                                Let <var>hash</var> be the string <code>"SHA-256"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -5449,7 +5444,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-384</code>.
+                                Let <var>hash</var> be the string <code>"SHA-384"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -5458,7 +5453,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-512</code>.
+                                Let <var>hash</var> be the string <code>"SHA-512"</code>.
                               </p>
                             </dd>
                             <dt>Otherwise:</dt>
@@ -5655,7 +5650,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-1</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-1"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5670,7 +5665,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-256</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-256"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5685,7 +5680,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-384</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-384"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5700,7 +5695,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-512</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-512"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5826,7 +5821,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-1</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-1"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5841,7 +5836,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-256</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-256"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5856,7 +5851,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-384</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-384"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5871,7 +5866,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-512</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-512"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5968,32 +5963,32 @@
                         </li>
                         <li>
                           <dl class="switch">
-                            <dt>If <var>hash</var> is <code>SHA-1</code>:</dt>
-                            <dd>
-                              <p>
-                                Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>PS1</code>.
-                              </p>
-                            </dd>
-                            <dt>If <var>hash</var> is <code>SHA-256</code>:</dt>
+                            <dt>If <var>hash</var> is <code>"SHA-1"</code>:</dt>
                             <dd>
                               <p>
                                 Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>PS256</code>.
-                              </p>
-                            </dd>
-                            <dt>If <var>hash</var> is <code>SHA-384</code>:</dt>
+                                <code>"PS1"</code>.
+                              </p>
+                            </dd>
+                            <dt>If <var>hash</var> is <code>"SHA-256"</code>:</dt>
                             <dd>
                               <p>
                                 Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>PS384</code>.
-                              </p>
-                            </dd>
-                            <dt>If <var>hash</var> is <code>SHA-512</code>:</dt>
+                                <code>"PS256"</code>.
+                              </p>
+                            </dd>
+                            <dt>If <var>hash</var> is <code>"SHA-384"</code>:</dt>
                             <dd>
                               <p>
                                 Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>PS512</code>.
+                                <code>"PS384"</code>.
+                              </p>
+                            </dd>
+                            <dt>If <var>hash</var> is <code>"SHA-512"</code>:</dt>
+                            <dd>
+                              <p>
+                                Set the <code>alg</code> attribute of <var>jwk</var> to the string
+                                <code>"PS512"</code>.
                               </p>
                             </dd>
                             <dt>Otherwise:</dt>
@@ -6481,7 +6476,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-1</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-1"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -6491,7 +6486,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-256</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-256"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -6501,7 +6496,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-384</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-384"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -6511,7 +6506,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-512</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-512"</code>.
                                       </p>
                                     </dd>
                                     <dt>Otherwise:</dt>
@@ -6685,7 +6680,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-1</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-1"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -6696,7 +6691,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-256</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-256"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -6707,7 +6702,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-384</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-384"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -6718,7 +6713,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-512</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-512"</code>.
                                       </p>
                                     </dd>
                                     <dt>Otherwise:</dt>
@@ -6859,24 +6854,24 @@
                             <dd>Let <var>hash</var> be undefined.</dd>
                             <dt>
                               If the <code>alg</code> field of <var>jwk</var> is equal to
-                              <code>RSA-OAEP</code>:
-                            </dt>
-                            <dd>Let <var>hash</var> be the string <code>SHA-1</code>.</dd>
+                              <code>"RSA-OAEP"</code>:
+                            </dt>
+                            <dd>Let <var>hash</var> be the string <code>"SHA-1"</code>.</dd>
                             <dt>
                               If the <code>alg</code> field of <var>jwk</var> is equal to
-                              <code>RSA-OAEP-256</code>:
-                            </dt>
-                            <dd>Let <var>hash</var> be the string <code>SHA-256</code>.</dd>
+                              <code>"RSA-OAEP-256"</code>:
+                            </dt>
+                            <dd>Let <var>hash</var> be the string <code>"SHA-256"</code>.</dd>
                             <dt>
                               If the <code>alg</code> field of <var>jwk</var> is equal to
-                              <code>RSA-OAEP-384</code>:
-                            </dt>
-                            <dd>Let <var>hash</var> be the string <code>SHA-384</code>.</dd>
+                              <code>"RSA-OAEP-384"</code>:
+                            </dt>
+                            <dd>Let <var>hash</var> be the string <code>"SHA-384"</code>.</dd>
                             <dt>
                               If the <code>alg</code> field of <var>jwk</var> is equal to
-                              <code>RSA-OAEP-512</code>:
-                            </dt>
-                            <dd>Let <var>hash</var> be the string <code>SHA-512</code>.</dd>
+                              <code>"RSA-OAEP-512"</code>:
+                            </dt>
+                            <dd>Let <var>hash</var> be the string <code>"SHA-512"</code>.</dd>
                             <dt>Otherwise:</dt>
                             <dd>
                               <a href="#concept-return-an-error">return an error</a> named
@@ -7078,7 +7073,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-1</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-1"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -7093,7 +7088,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-256</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-256"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -7108,7 +7103,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-384</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-384"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -7123,7 +7118,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-512</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-512"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -7238,7 +7233,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-1</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-1"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -7253,7 +7248,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-256</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-256"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -7268,7 +7263,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-384</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-384"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -7283,7 +7278,7 @@
                                           href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a
                                           href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-512</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-512"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -7369,7 +7364,7 @@
                               If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of the <a
                               href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of the [[<a
                               href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>SHA-1</code>:
+                              of <var>key</var> is <code>"SHA-1"</code>:
                             </dt>
                             <dd>
                               <p>
@@ -7381,7 +7376,7 @@
                               If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of the <a
                               href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of the [[<a
                               href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>SHA-256</code>:
+                              of <var>key</var> is <code>"SHA-256"</code>:
                             </dt>
                             <dd>
                               <p>
@@ -7393,7 +7388,7 @@
                               If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of the <a
                               href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of the [[<a
                               href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>SHA-384</code>:
+                              of <var>key</var> is <code>"SHA-384"</code>:
                             </dt>
                             <dd>
                               <p>
@@ -7405,7 +7400,7 @@
                               If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of the <a
                               href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of the [[<a
                               href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>SHA-512</code>:
+                              of <var>key</var> is <code>"SHA-512"</code>:
                             </dt>
                             <dd>
                               <p>
@@ -7573,11 +7568,11 @@
             curves. The following values are recognized:
           </p>
           <dl>
-            <dt id="dfn-NamedCurve-p256"><code>P-256</code></dt>
+            <dt id="dfn-NamedCurve-p256"><code>"P-256"</code></dt>
             <dd>NIST recommended curve P-256, also known as <code>secp256r1</code>.</dd>
-            <dt id="dfn-NamedCurve-p2384"><code>P-384</code></dt>
+            <dt id="dfn-NamedCurve-p2384"><code>"P-384"</code></dt>
             <dd>NIST recommended curve P-384, also known as <code>secp384r1</code>.</dd>
-            <dt id="dfn-NamedCurve-p521"><code>P-521</code></dt>
+            <dt id="dfn-NamedCurve-p521"><code>"P-521"</code></dt>
             <dd>NIST recommended curve P-521, also known as <code>secp521r1</code>.</dd>
           </dl>
         </div>
@@ -8293,19 +8288,19 @@
                               If the <code>"alg"</code> field is equal to the string "ES256":
                             </dt>
                             <dd>
-                              Let <var>algNamedCurve</var> be the string <code>P-256</code>.
+                              Let <var>algNamedCurve</var> be the string <code>"P-256"</code>.
                             </dd>
                             <dt>
                               If the <code>"alg"</code> field is equal to the string "ES384":
                             </dt>
                             <dd>
-                              Let <var>algNamedCurve</var> be the string <code>P-384</code>.
+                              Let <var>algNamedCurve</var> be the string <code>"P-384"</code>.
                             </dd>
                             <dt>
                               If the <code>"alg"</code> field is equal to the string "ES521":
                             </dt>
                             <dd>
-                              Let <var>algNamedCurve</var> be the string <code>P-521</code>.
+                              Let <var>algNamedCurve</var> be the string <code>"P-521"</code>.
                             </dd>
                           </dl>
                         </li>
@@ -8689,7 +8684,7 @@
                               If the <a href="#dfn-EcKeyAlgorithm-namedCurve">namedCurve</a>
                               attribute of the [[<a
                               href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>P-256</code>:
+                              of <var>key</var> is <code>"P-256"</code>:
                             </dt>
                             <dd>
                               Set the <code>crv</code> attribute of <var>jwk</var> to
@@ -8699,7 +8694,7 @@
                               If the <a href="#dfn-EcKeyAlgorithm-namedCurve">namedCurve</a>
                               attribute of the [[<a
                               href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>P-384</code>:
+                              of <var>key</var> is <code>"P-384"</code>:
                             </dt>
                             <dd>
                               Set the <code>crv</code> attribute of <var>jwk</var> to
@@ -8709,7 +8704,7 @@
                               If the <a href="#dfn-EcKeyAlgorithm-namedCurve">namedCurve</a>
                               attribute of the [[<a
                               href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>P-521</code>:
+                              of <var>key</var> is <code>"P-521"</code>:
                             </dt>
                             <dd>
                               Set the <code>crv</code> attribute of <var>jwk</var> to
@@ -8735,7 +8730,7 @@
                           <dl class="switch">
                             <dt>
                               If the [[<a href="#dfn-CryptoKey-slot-type">type</a>]] internal slot
-                              of <var>key</var> is <code>private</code>
+                              of <var>key</var> is <code>"private"</code>
                             </dt>
                             <dd>
                               <p>
@@ -9928,7 +9923,7 @@
                               If the <a href="#dfn-EcKeyAlgorithm-namedCurve">namedCurve</a>
                               attribute of the [[<a
                               href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>P-256</code>:
+                              of <var>key</var> is <code>"P-256"</code>:
                             </dt>
                             <dd>
                               Set the <code>crv</code> attribute of <var>jwk</var> to
@@ -9938,7 +9933,7 @@
                               If the <a href="#dfn-EcKeyAlgorithm-namedCurve">namedCurve</a>
                               attribute of the [[<a
                               href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>P-384</code>:
+                              of <var>key</var> is <code>"P-384"</code>:
                             </dt>
                             <dd>
                               Set the <code>crv</code> attribute of <var>jwk</var> to
@@ -9948,7 +9943,7 @@
                               If the <a href="#dfn-EcKeyAlgorithm-namedCurve">namedCurve</a>
                               attribute of the [[<a
                               href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>P-521</code>:
+                              of <var>key</var> is <code>"P-521"</code>:
                             </dt>
                             <dd>
                               Set the <code>crv</code> attribute of <var>jwk</var> to
@@ -9974,7 +9969,7 @@
                           <dl class="switch">
                             <dt>
                               If the [[<a href="#dfn-CryptoKey-slot-type">type</a>]] internal slot
-                              of <var>key</var> is <code>private</code>
+                              of <var>key</var> is <code>"private"</code>
                             </dt>
                             <dd>
                               <p>
--- a/spec/Overview.html	Mon Jun 16 00:00:00 2014 -0700
+++ b/spec/Overview.html	Mon Jun 16 00:00:00 2014 -0700
@@ -1261,13 +1261,13 @@
             <dd>
               Specifies a serialization format for a key. The <dfn id="dfn-RecognizedKeyFormats">recognized key format values</dfn> are:
               <dl>
-                <dt><code>raw</code></dt>
+                <dt><code>"raw"</code></dt>
                 <dd>An unformatted sequence of bytes. Intended for secret keys.</dd>
-                <dt><code>pkcs8</code></dt>
+                <dt><code>"pkcs8"</code></dt>
                 <dd>The DER encoding of the PrivateKeyInfo structure from <a href="#RFC5208">RFC 5208</a>.</dd>
-                <dt><code>spki</code></dt>
+                <dt><code>"spki"</code></dt>
                 <dd>The DER encoding of the SubjectPublicKeyInfo structure from <a href="#RFC5280">RFC 5280</a>.</dd>
-                <dt><code>jwk</code></dt>
+                <dt><code>"jwk"</code></dt>
                 <dd>The key is a <a href="#dfn-JsonWebKey">JsonWebKey</a> dictionary encoded as a JavaScript object</dd>
               </dl>
             </dd>
@@ -1313,7 +1313,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>encrypt</code>.
+                  <code>"encrypt"</code>.
                 </p>
               </li>
               <li>
@@ -1394,7 +1394,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>decrypt</code>.
+                  <code>"decrypt"</code>.
                 </p>
               </li>
               <li>
@@ -1474,7 +1474,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>sign</code>.
+                  <code>"sign"</code>.
                 </p>
               </li>
               <li>
@@ -1552,7 +1552,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>verify</code>.
+                  <code>"verify"</code>.
                 </p>
               </li>
               <li>
@@ -1638,7 +1638,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>digest</code>.
+                  <code>"digest"</code>.
                 </p>
               </li>
               <li>
@@ -1706,7 +1706,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>generateKey</code>.
+                  <code>"generateKey"</code>.
                 </p>
               </li>
               <li>
@@ -1771,10 +1771,7 @@
                   Let <var>algorithm</var>, <var>baseKey</var>, <var>derivedKeyType</var>,
                   <var>extractable</var> and <var>usages</var> be the <code>algorithm</code>,
                   <code>baseKey</code>, <code>derivedKeyType</code>, <code>extractable</code> and
-                  <code>keyUsages</code>
-                  parameters passed to the
-                  <a href="#dfn-SubtleCrypto-method-deriveKey">deriveKey</a> method,
-                  respectively.
+                  <code>keyUsages</code> parameters passed to the <a href="#dfn-SubtleCrypto-method-deriveKey">deriveKey</a> method, respectively.
                 </p>
               </li>
               <li>
@@ -1782,7 +1779,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>deriveKey</code>.
+                  <code>"deriveBits"</code>.
                 </p>
               </li>
               <li>
@@ -1796,7 +1793,7 @@
                   Let <var>normalizedDerivedKeyAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>derivedKeyType</var> and <code>op</code> set to
-                  <code>importKey</code>.
+                  <code>"importKey"</code>.
                 </p>
               </li>
               <li>
@@ -1910,7 +1907,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>deriveBits</code>.
+                  <code>"deriveBits"</code>.
                 </p>
               </li>
               <li>
@@ -1971,13 +1968,9 @@
             <ol>
               <li>
                 <p>
-                  Let <var>format</var>, <var>algorithm</var>,
-                  <var>extractable</var> and <var>usages</var>,
-                  be the <code>format</code>, <code>algorithm</code>,
-                  <code>extractable</code> and <code>keyUsages</code>
-                  parameters passed to the
-                  <a href="#dfn-SubtleCrypto-method-importKey">importKey</a> method,
-                  respectively.
+                  Let <var>format</var>, <var>algorithm</var>, <var>extractable</var> and
+                  <var>usages</var>, be the <code>format</code>, <code>algorithm</code>,
+                  <code>extractable</code> and <code>keyUsages</code> parameters passed to the <a href="#dfn-SubtleCrypto-method-importKey">importKey</a> method, respectively.
                 </p>
               </li>
               <li>
@@ -1985,7 +1978,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>importKey</code>.
+                  <code>"importKey"</code>.
                 </p>
               </li>
               <li>
@@ -1997,8 +1990,8 @@
               <li>
                 <dl class="switch">
                   <dt>
-                    If <var>format</var> is equal to the string <code>raw</code>,
-                    <code>pkcs8</code>, or <code>spki</code>:
+                    If <var>format</var> is equal to the string <code>"raw"</code>,
+                    <code>"pkcs8"</code>, or <code>"spki"</code>:
                   </dt>
                   <dd>
                     Let <var>keyData</var> be the result of
@@ -2007,7 +2000,7 @@
                     <a href="#dfn-SubtleCrypto-method-importKey">importKey</a> method.
                   </dd>
                   <dt>
-                    If <var>format</var> is equal to the string <code>jwk</code>:
+                    If <var>format</var> is equal to the string <code>"jwk"</code>:
                   </dt>
                   <dd>
                     Let <var>keyData</var> be the result of converting the <code>keyData</code>
@@ -2159,7 +2152,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>wrapKey</code>.
+                  <code>"wrapKey"</code>.
                 </p>
               </li>
               <li>
@@ -2167,7 +2160,7 @@
                   If an error occurred, let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>encrypt</code>.
+                  <code>"encrypt"</code>.
                 </p>
               </li>
               <li>
@@ -2242,14 +2235,14 @@
               <li>
                 <dl class="switch">
                   <dt>
-                    If <var>format</var> is equal to the strings <code>raw</code>,
-                    <code>pkcs8</code>, or <code>spki</code>:
+                    If <var>format</var> is equal to the strings <code>"raw"</code>,
+                    <code>"pkcs8"</code>, or <code>"spki"</code>:
                   </dt>
                   <dd>
                     Set <var>bytes</var> be set to <var>key</var>.
                   </dd>
                   <dt>
-                    If <var>format</var> is equal to the string <code>jwk</code>:
+                    If <var>format</var> is equal to the string <code>"jwk"</code>:
                   </dt>
                   <dd>
                     <ol>
@@ -2362,7 +2355,7 @@
                   Let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>unwrapKey</code>.
+                  <code>"unwrapKey"</code>.
                 </p>
               </li>
               <li>
@@ -2370,7 +2363,7 @@
                   If an error occurred, let <var>normalizedAlgorithm</var> be the result of
                   <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
                   <code>alg</code> set to <var>algorithm</var> and <code>op</code> set to
-                  <code>decrypt</code>.
+                  <code>"decrypt"</code>.
                 </p>
               </li>
               <li>
@@ -2381,10 +2374,9 @@
               </li>
               <li>
                 <p>
-                  Let <var>normalizedKeyAlgorithm</var> be the result of
-                  <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
-                  <code>alg</code> set to <var>unwrappedKeyAlgorithm</var> and <code>op</code> set to
-                  <code>importKey</code>.
+                  Let <var>normalizedKeyAlgorithm</var> be the result of <a href="#dfn-normalize-an-algorithm">normalizing an algorithm</a>, with
+                  <code>alg</code> set to <var>unwrappedKeyAlgorithm</var> and <code>op</code> set
+                  to <code>"importKey"</code>.
                 </p>
               </li>
               <li>
@@ -2465,14 +2457,14 @@
               <li>
                 <dl class="switch">
                   <dt>
-                    If <var>format</var> is equal to the strings <code>raw</code>,
-                    <code>pkcs8</code>, or <code>spki</code>:
+                    If <var>format</var> is equal to the strings <code>"raw"</code>,
+                    <code>"pkcs8"</code>, or <code>"spki"</code>:
                   </dt>
                   <dd>
                     Set <var>bytes</var> be set to <var>key</var>.
                   </dd>
                   <dt>
-                    If <var>format</var> is equal to the string <code>jwk</code>:
+                    If <var>format</var> is equal to the string <code>"jwk"</code>:
                   </dt>
                   <dd>
                     Let <var>bytes</var> be the result of executing the
@@ -3854,7 +3846,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-1</code>.
+                                Let <var>hash</var> be the string <code>"SHA-1"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -3864,7 +3856,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-256</code>.
+                                Let <var>hash</var> be the string <code>"SHA-256"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -3874,7 +3866,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-384</code>.
+                                Let <var>hash</var> be the string <code>"SHA-384"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -3884,7 +3876,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-512</code>.
+                                Let <var>hash</var> be the string <code>"SHA-512"</code>.
                               </p>
                             </dd>
                             <dt>Otherwise:</dt>
@@ -3987,7 +3979,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-1</code>.
+                                Let <var>hash</var> be the string <code>"SHA-1"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -3997,7 +3989,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-256</code>.
+                                Let <var>hash</var> be the string <code>"SHA-256"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -4007,7 +3999,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-384</code>.
+                                Let <var>hash</var> be the string <code>"SHA-384"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -4017,7 +4009,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-512</code>.
+                                Let <var>hash</var> be the string <code>"SHA-512"</code>.
                               </p>
                             </dd>
                             <dt>Otherwise:</dt>
@@ -4131,7 +4123,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-1</code>.
+                                Let <var>hash</var> be the string <code>"SHA-1"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -4140,7 +4132,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-256</code>.
+                                Let <var>hash</var> be the string <code>"SHA-256"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -4149,7 +4141,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-384</code>.
+                                Let <var>hash</var> be the string <code>"SHA-384"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -4158,7 +4150,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-512</code>.
+                                Let <var>hash</var> be the string <code>"SHA-512"</code>.
                               </p>
                             </dd>
                             <dt>Otherwise:</dt>
@@ -4437,32 +4429,32 @@
                         </li>
                         <li>
                           <dl class="switch">
-                            <dt>If <var>hash</var> is <code>SHA-1</code>:</dt>
-                            <dd>
-                              <p>
-                                Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>RS1</code>.
-                              </p>
-                            </dd>
-                            <dt>If <var>hash</var> is <code>SHA-256</code>:</dt>
+                            <dt>If <var>hash</var> is <code>"SHA-1"</code>:</dt>
                             <dd>
                               <p>
                                 Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>RS256</code>.
-                              </p>
-                            </dd>
-                            <dt>If <var>hash</var> is <code>SHA-384</code>:</dt>
+                                <code>"RS1"</code>.
+                              </p>
+                            </dd>
+                            <dt>If <var>hash</var> is <code>"SHA-256"</code>:</dt>
                             <dd>
                               <p>
                                 Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>RS384</code>.
-                              </p>
-                            </dd>
-                            <dt>If <var>hash</var> is <code>SHA-512</code>:</dt>
+                                <code>"RS256"</code>.
+                              </p>
+                            </dd>
+                            <dt>If <var>hash</var> is <code>"SHA-384"</code>:</dt>
                             <dd>
                               <p>
                                 Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>RS512</code>.
+                                <code>"RS384"</code>.
+                              </p>
+                            </dd>
+                            <dt>If <var>hash</var> is <code>"SHA-512"</code>:</dt>
+                            <dd>
+                              <p>
+                                Set the <code>alg</code> attribute of <var>jwk</var> to the string
+                                <code>"RS512"</code>.
                               </p>
                             </dd>
                             <dt>Otherwise:</dt>
@@ -4476,7 +4468,7 @@
                         </li>
                         <li>
                           <p>Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                          <code>RSA1_5</code>.</p>
+                          <code>"RSA1_5"</code>.</p>
                         </li>
                         <li>
                           <p>
@@ -4938,7 +4930,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-1</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-1"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -4948,7 +4940,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-256</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-256"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -4958,7 +4950,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-384</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-384"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -4968,7 +4960,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-512</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-512"</code>.
                                       </p>
                                     </dd>
                                     <dt>Otherwise:</dt>
@@ -5128,7 +5120,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-1</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-1"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -5138,7 +5130,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-256</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-256"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -5148,7 +5140,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-384</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-384"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -5158,7 +5150,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-512</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-512"</code>.
                                       </p>
                                     </dd>
                                     <dt>Otherwise:</dt>
@@ -5300,7 +5292,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-1</code>.
+                                Let <var>hash</var> be the string <code>"SHA-1"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -5309,7 +5301,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-256</code>.
+                                Let <var>hash</var> be the string <code>"SHA-256"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -5318,7 +5310,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-384</code>.
+                                Let <var>hash</var> be the string <code>"SHA-384"</code>.
                               </p>
                             </dd>
                             <dt>
@@ -5327,7 +5319,7 @@
                             </dt>
                             <dd>
                               <p>
-                                Let <var>hash</var> be the string <code>SHA-512</code>.
+                                Let <var>hash</var> be the string <code>"SHA-512"</code>.
                               </p>
                             </dd>
                             <dt>Otherwise:</dt>
@@ -5514,7 +5506,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-1</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-1"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5526,7 +5518,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-256</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-256"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5538,7 +5530,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-384</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-384"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5550,7 +5542,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-512</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-512"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5666,7 +5658,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-1</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-1"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5678,7 +5670,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-256</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-256"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5690,7 +5682,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-384</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-384"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5702,7 +5694,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-512</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-512"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -5792,32 +5784,32 @@
                         </li>
                         <li>
                           <dl class="switch">
-                            <dt>If <var>hash</var> is <code>SHA-1</code>:</dt>
-                            <dd>
-                              <p>
-                                Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>PS1</code>.
-                              </p>
-                            </dd>
-                            <dt>If <var>hash</var> is <code>SHA-256</code>:</dt>
+                            <dt>If <var>hash</var> is <code>"SHA-1"</code>:</dt>
                             <dd>
                               <p>
                                 Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>PS256</code>.
-                              </p>
-                            </dd>
-                            <dt>If <var>hash</var> is <code>SHA-384</code>:</dt>
+                                <code>"PS1"</code>.
+                              </p>
+                            </dd>
+                            <dt>If <var>hash</var> is <code>"SHA-256"</code>:</dt>
                             <dd>
                               <p>
                                 Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>PS384</code>.
-                              </p>
-                            </dd>
-                            <dt>If <var>hash</var> is <code>SHA-512</code>:</dt>
+                                <code>"PS256"</code>.
+                              </p>
+                            </dd>
+                            <dt>If <var>hash</var> is <code>"SHA-384"</code>:</dt>
                             <dd>
                               <p>
                                 Set the <code>alg</code> attribute of <var>jwk</var> to the string
-                                <code>PS512</code>.
+                                <code>"PS384"</code>.
+                              </p>
+                            </dd>
+                            <dt>If <var>hash</var> is <code>"SHA-512"</code>:</dt>
+                            <dd>
+                              <p>
+                                Set the <code>alg</code> attribute of <var>jwk</var> to the string
+                                <code>"PS512"</code>.
                               </p>
                             </dd>
                             <dt>Otherwise:</dt>
@@ -6292,7 +6284,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-1</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-1"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -6302,7 +6294,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-256</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-256"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -6312,7 +6304,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-384</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-384"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -6322,7 +6314,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-512</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-512"</code>.
                                       </p>
                                     </dd>
                                     <dt>Otherwise:</dt>
@@ -6480,7 +6472,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-1</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-1"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -6491,7 +6483,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-256</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-256"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -6502,7 +6494,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-384</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-384"</code>.
                                       </p>
                                     </dd>
                                     <dt>
@@ -6513,7 +6505,7 @@
                                     </dt>
                                     <dd>
                                       <p>
-                                        Set <var>hash</var> to the string <code>SHA-512</code>.
+                                        Set <var>hash</var> to the string <code>"SHA-512"</code>.
                                       </p>
                                     </dd>
                                     <dt>Otherwise:</dt>
@@ -6643,24 +6635,24 @@
                             <dd>Let <var>hash</var> be undefined.</dd>
                             <dt>
                               If the <code>alg</code> field of <var>jwk</var> is equal to
-                              <code>RSA-OAEP</code>:
-                            </dt>
-                            <dd>Let <var>hash</var> be the string <code>SHA-1</code>.</dd>
+                              <code>"RSA-OAEP"</code>:
+                            </dt>
+                            <dd>Let <var>hash</var> be the string <code>"SHA-1"</code>.</dd>
                             <dt>
                               If the <code>alg</code> field of <var>jwk</var> is equal to
-                              <code>RSA-OAEP-256</code>:
-                            </dt>
-                            <dd>Let <var>hash</var> be the string <code>SHA-256</code>.</dd>
+                              <code>"RSA-OAEP-256"</code>:
+                            </dt>
+                            <dd>Let <var>hash</var> be the string <code>"SHA-256"</code>.</dd>
                             <dt>
                               If the <code>alg</code> field of <var>jwk</var> is equal to
-                              <code>RSA-OAEP-384</code>:
-                            </dt>
-                            <dd>Let <var>hash</var> be the string <code>SHA-384</code>.</dd>
+                              <code>"RSA-OAEP-384"</code>:
+                            </dt>
+                            <dd>Let <var>hash</var> be the string <code>"SHA-384"</code>.</dd>
                             <dt>
                               If the <code>alg</code> field of <var>jwk</var> is equal to
-                              <code>RSA-OAEP-512</code>:
-                            </dt>
-                            <dd>Let <var>hash</var> be the string <code>SHA-512</code>.</dd>
+                              <code>"RSA-OAEP-512"</code>:
+                            </dt>
+                            <dd>Let <var>hash</var> be the string <code>"SHA-512"</code>.</dd>
                             <dt>Otherwise:</dt>
                             <dd>
                               <a href="#concept-return-an-error">return an error</a> named
@@ -6846,7 +6838,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-1</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-1"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -6858,7 +6850,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-256</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-256"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -6870,7 +6862,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-384</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-384"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -6882,7 +6874,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-512</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-512"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -6990,7 +6982,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-1</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-1"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -7002,7 +6994,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-256</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-256"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -7014,7 +7006,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-384</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-384"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -7026,7 +7018,7 @@
                                           If the <a href="#dfn-KeyAlgorithm-name">name</a>
                                           attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of
                                           the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]]
-                                          internal slot of <var>key</var> is <code>SHA-512</code>:
+                                          internal slot of <var>key</var> is <code>"SHA-512"</code>:
                                         </dt>
                                         <dd>
                                           <p>
@@ -7107,7 +7099,7 @@
                           <dl class="switch">
                             <dt>
                               If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>SHA-1</code>:
+                              of <var>key</var> is <code>"SHA-1"</code>:
                             </dt>
                             <dd>
                               <p>
@@ -7117,7 +7109,7 @@
                             </dd>
                             <dt>
                               If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>SHA-256</code>:
+                              of <var>key</var> is <code>"SHA-256"</code>:
                             </dt>
                             <dd>
                               <p>
@@ -7127,7 +7119,7 @@
                             </dd>
                             <dt>
                               If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>SHA-384</code>:
+                              of <var>key</var> is <code>"SHA-384"</code>:
                             </dt>
                             <dd>
                               <p>
@@ -7137,7 +7129,7 @@
                             </dd>
                             <dt>
                               If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of the <a href="#dfn-RsaHashedKeyAlgorithm">hash</a> attribute of the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>SHA-512</code>:
+                              of <var>key</var> is <code>"SHA-512"</code>:
                             </dt>
                             <dd>
                               <p>
@@ -7301,11 +7293,11 @@
             curves. The following values are recognized:
           </p>
           <dl>
-            <dt id="dfn-NamedCurve-p256"><code>P-256</code></dt>
+            <dt id="dfn-NamedCurve-p256"><code>"P-256"</code></dt>
             <dd>NIST recommended curve P-256, also known as <code>secp256r1</code>.</dd>
-            <dt id="dfn-NamedCurve-p2384"><code>P-384</code></dt>
+            <dt id="dfn-NamedCurve-p2384"><code>"P-384"</code></dt>
             <dd>NIST recommended curve P-384, also known as <code>secp384r1</code>.</dd>
-            <dt id="dfn-NamedCurve-p521"><code>P-521</code></dt>
+            <dt id="dfn-NamedCurve-p521"><code>"P-521"</code></dt>
             <dd>NIST recommended curve P-521, also known as <code>secp521r1</code>.</dd>
           </dl>
         </div>
@@ -7998,19 +7990,19 @@
                               If the <code>"alg"</code> field is equal to the string "ES256":
                             </dt>
                             <dd>
-                              Let <var>algNamedCurve</var> be the string <code>P-256</code>.
+                              Let <var>algNamedCurve</var> be the string <code>"P-256"</code>.
                             </dd>
                             <dt>
                               If the <code>"alg"</code> field is equal to the string "ES384":
                             </dt>
                             <dd>
-                              Let <var>algNamedCurve</var> be the string <code>P-384</code>.
+                              Let <var>algNamedCurve</var> be the string <code>"P-384"</code>.
                             </dd>
                             <dt>
                               If the <code>"alg"</code> field is equal to the string "ES521":
                             </dt>
                             <dd>
-                              Let <var>algNamedCurve</var> be the string <code>P-521</code>.
+                              Let <var>algNamedCurve</var> be the string <code>"P-521"</code>.
                             </dd>
                           </dl>
                         </li>
@@ -8362,7 +8354,7 @@
                             <dt>
                               If the <a href="#dfn-EcKeyAlgorithm-namedCurve">namedCurve</a>
                               attribute of the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>P-256</code>:
+                              of <var>key</var> is <code>"P-256"</code>:
                             </dt>
                             <dd>
                               Set the <code>crv</code> attribute of <var>jwk</var> to
@@ -8371,7 +8363,7 @@
                             <dt>
                               If the <a href="#dfn-EcKeyAlgorithm-namedCurve">namedCurve</a>
                               attribute of the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>P-384</code>:
+                              of <var>key</var> is <code>"P-384"</code>:
                             </dt>
                             <dd>
                               Set the <code>crv</code> attribute of <var>jwk</var> to
@@ -8380,7 +8372,7 @@
                             <dt>
                               If the <a href="#dfn-EcKeyAlgorithm-namedCurve">namedCurve</a>
                               attribute of the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>P-521</code>:
+                              of <var>key</var> is <code>"P-521"</code>:
                             </dt>
                             <dd>
                               Set the <code>crv</code> attribute of <var>jwk</var> to
@@ -8406,7 +8398,7 @@
                           <dl class="switch">
                             <dt>
                               If the [[<a href="#dfn-CryptoKey-slot-type">type</a>]] internal slot
-                              of <var>key</var> is <code>private</code>
+                              of <var>key</var> is <code>"private"</code>
                             </dt>
                             <dd>
                               <p>
@@ -9539,7 +9531,7 @@
                             <dt>
                               If the <a href="#dfn-EcKeyAlgorithm-namedCurve">namedCurve</a>
                               attribute of the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>P-256</code>:
+                              of <var>key</var> is <code>"P-256"</code>:
                             </dt>
                             <dd>
                               Set the <code>crv</code> attribute of <var>jwk</var> to
@@ -9548,7 +9540,7 @@
                             <dt>
                               If the <a href="#dfn-EcKeyAlgorithm-namedCurve">namedCurve</a>
                               attribute of the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>P-384</code>:
+                              of <var>key</var> is <code>"P-384"</code>:
                             </dt>
                             <dd>
                               Set the <code>crv</code> attribute of <var>jwk</var> to
@@ -9557,7 +9549,7 @@
                             <dt>
                               If the <a href="#dfn-EcKeyAlgorithm-namedCurve">namedCurve</a>
                               attribute of the [[<a href="#dfn-CryptoKey-slot-algorithm">algorithm</a>]] internal slot
-                              of <var>key</var> is <code>P-521</code>:
+                              of <var>key</var> is <code>"P-521"</code>:
                             </dt>
                             <dd>
                               Set the <code>crv</code> attribute of <var>jwk</var> to
@@ -9583,7 +9575,7 @@
                           <dl class="switch">
                             <dt>
                               If the [[<a href="#dfn-CryptoKey-slot-type">type</a>]] internal slot
-                              of <var>key</var> is <code>private</code>
+                              of <var>key</var> is <code>"private"</code>
                             </dt>
                             <dd>
                               <p>