Browse files

[] (0) Make <keygen>'s crypto bits optional.

git-svn-id: http://svn.whatwg.org/webapps@3843 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 7fe85e8 commit 2761815404c38bd06092cc8fc26ee8d9d003df68 @Hixie Hixie committed Sep 14, 2009
Showing with 36 additions and 12 deletions.
  1. +18 −6 index
  2. +18 −6 source
View
24 index
@@ -37002,9 +37002,18 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
<table><thead><tr><th> Keyword <th> State
<tbody><tr><td> <code title="">rsa</code>
<td> <i title="">RSA</i>
+<!-- v2 (see below)
+ <tr>
+ <td> <code title="">ec</code>
+ <td> <i title="">EC</i>
+-->
</table><p>The <i>invalid value default</i> state is the <i title="">unknown</i> state. The <i>missing value default</i> state
is the <i title="">RSA</i> state.</p>
+ <p class=note>This specification does not specify what key types
+ user agents are to support &mdash; it is possible for a user agent
+ to not support any key types at all.</p>
+
<div class=impl>
<p>The user agent may expose a user interface for each
@@ -37022,21 +37031,23 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
<p>Use the appropriate step from the following list:</p>
- <dl class=switch><!--
+ <dl class=switch><!-- v2 (see above)
<dt>If the <code title="attr-keygen-keytype">keytype</code>
- attribute is in the <i title="">EC</i> state</dt>
+ attribute is in the <i title="">EC</i> state and the user agent
+ supports an EC signature algorithm</dt>
<dd>
<p>...
- </dd>
+ http://www.mail-archive.com/dev-tech-crypto@lists.mozilla.org/msg05902.html
- http://www.mail-archive.com/dev-tech-crypto@lists.mozilla.org/msg05902.html
+ </dd>
--><dt>If the <code title=attr-keygen-keytype><a href=#attr-keygen-keytype>keytype</a></code>
- attribute is in the <i title="">RSA</i> state</dt>
+ attribute is in the <i title="">RSA</i> state, and the user agent
+ supports an RSA signature algorithm</dt>
<dd>
@@ -37048,7 +37059,8 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
</dd>
- <dt>Otherwise, the <code title=attr-keygen-keytype><a href=#attr-keygen-keytype>keytype</a></code> attribute is in the <i title="">unknown</i> state</dt>
+ <dt>Otherwise, the <code title=attr-keygen-keytype><a href=#attr-keygen-keytype>keytype</a></code> attribute is in the <i title="">unknown</i> state, or the user agent does not support
+ the selected key type</dt>
<dd>
View
24 source
@@ -41335,12 +41335,21 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
<tr>
<td> <code title="">rsa</code>
<td> <i title="">RSA</i>
+<!-- v2 (see below)
+ <tr>
+ <td> <code title="">ec</code>
+ <td> <i title="">EC</i>
+-->
</table>
<p>The <i>invalid value default</i> state is the <i
title="">unknown</i> state. The <i>missing value default</i> state
is the <i title="">RSA</i> state.</p>
+ <p class="note">This specification does not specify what key types
+ user agents are to support &mdash; it is possible for a user agent
+ to not support any key types at all.</p>
+
<div class="impl">
<p>The user agent may expose a user interface for each
@@ -41362,23 +41371,25 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
<dl class="switch">
- <!--
+ <!-- v2 (see above)
<dt>If the <code title="attr-keygen-keytype">keytype</code>
- attribute is in the <i title="">EC</i> state</dt>
+ attribute is in the <i title="">EC</i> state and the user agent
+ supports an EC signature algorithm</dt>
<dd>
<p>...
- </dd>
+ http://www.mail-archive.com/dev-tech-crypto@lists.mozilla.org/msg05902.html
- http://www.mail-archive.com/dev-tech-crypto@lists.mozilla.org/msg05902.html
+ </dd>
-->
<dt>If the <code title="attr-keygen-keytype">keytype</code>
- attribute is in the <i title="">RSA</i> state</dt>
+ attribute is in the <i title="">RSA</i> state, and the user agent
+ supports an RSA signature algorithm</dt>
<dd>
@@ -41393,7 +41404,8 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
<dt>Otherwise, the <code
title="attr-keygen-keytype">keytype</code> attribute is in the <i
- title="">unknown</i> state</dt>
+ title="">unknown</i> state, or the user agent does not support
+ the selected key type</dt>
<dd>

0 comments on commit 2761815

Please sign in to comment.