HTML and CSS Reference
In-Depth Information
challenge="
challenge-string
challenge-string
"
Provides a challenge string to be submitted with the key.
disabled
(
disabled="disabled"
in XHTML)
Prevents the control from being interactive and prevents its value from being submitted.
form="
id of form owner
id of form owner
"
Associates the element with a named
form
on the page.
keytype="
keyword
keyword
"
Identifies the type of key to be generated, for example,
rsa
or
ec
.
name="
text
text
"
Gives the control an identifying name for the form submission process.
Example
The following is based on an example from
developer.mozilla.org
,
used with permission via
a Creative Commons “Attribution-Share Alike” License:
<form method="post" action="http://www.example.com/
cgi-bin/decode.cgi">
<keygen
name="RSA public key" challenge="123456789"
keytype="RSA"
>
<input type="submit" name="createcertificate"
value="Make Key">
</form>