- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 09 Sep 2009 07:36:16 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv4931
Modified Files:
Overview.html
Log Message:
Add a worthless <keygen> example. (whatwg r3773)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2942
retrieving revision 1.2943
diff -u -d -r1.2942 -r1.2943
--- Overview.html 9 Sep 2009 06:43:02 -0000 1.2942
+++ Overview.html 9 Sep 2009 07:36:12 -0000 1.2943
@@ -31979,7 +31979,25 @@
user for download; this certificate, once downloaded and stored in
the key store along with the private key, can then be used to
authenticate to services that use SSL and certificate
- authentication.<h4 id="the-output-element"><span class="secno">4.10.12 </span>The <dfn><code>output</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="element"><dt>Categories</dt>
+ authentication.</p><!-- how does the UA know which private key is associated with a
+ certificate it gets back after the server has taken the public key
+ created by <keygen> and turned it into a client cert? --><div class="example">
+
+ <p>To generate a key pair, add the private key to the user's key
+ store, and submit the public key to the server, markup such as the
+ following can be used:</p>
+
+ <pre><form action="processkey.cgi" method="post" enctype="multipart/formdata">
+ <p><keygen name="key"></p>
+ <p><input type=submit value="Submit key...">
+</form></pre>
+
+ <p>The server will then receive a form submission with a packaged
+ RSA public key as the value of "<code title="">key</code>". This
+ can then be used for various purposes, such as generating a client
+ certificate, as mentioned above.</p>
+
+ </div><h4 id="the-output-element"><span class="secno">4.10.12 </span>The <dfn><code>output</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="element"><dt>Categories</dt>
<dd><a href="#flow-content">Flow content</a>.</dd>
<dd><a href="#phrasing-content">Phrasing content</a>.</dd>
<dd><a href="#category-listed" title="category-listed">Listed</a> and <a href="#category-reset" title="category-reset">resettable</a> <a href="#form-associated-element">form-associated element</a>.</dd>
Received on Wednesday, 9 September 2009 07:36:26 UTC