title: How to use KEYGEN html 5 tag in a JSF app?
body: <p>I want to use the KEYGEN html 5 tag to generate certificates from a Firefox browser. </p>
  
  <p>In my facelet i have a form with the tag and a commandbutton that will submit the form to my backing bean called clientCertificateBean in this case. What I cant figure out is how I get the byteArray public key argument sent by the browser. Can i bind the keygen to a field in my backing bean or send it as an argument in the backing bean method? </p>
  
  <pre><code>&lt;h:form&gt;
      &lt;keygen name="RSA public key" challenge="123456789" KEYTYPE="RSA"/&gt;
      &lt;h:commandButton value="Generate" action="#{clientCertificateBean.generate}" /&gt;
  &lt;/h:form&gt;
  </code></pre>