Skip to content

Commit

Permalink
[] (0) Make <keygen>'s crypto bits optional.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3843 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 14, 2009
1 parent 7fe85e8 commit 2761815
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 12 deletions.
24 changes: 18 additions & 6 deletions index
Expand Up @@ -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
Expand All @@ -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>

Expand All @@ -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>

Expand Down
24 changes: 18 additions & 6 deletions source
Expand Up @@ -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
Expand All @@ -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>

Expand All @@ -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>

Expand Down

0 comments on commit 2761815

Please sign in to comment.