Developing Webs logo
Google
Web DW-Main DW-Photoshop
Visit the message board for solutions or post a question Check out the Classes offered for free at Developing Webs Voice Chat submit a tutorial, resources, article, font for publication consideration and earn a one way link back to your site Get more specifics about the Developing Webs Voice chat room and its room members View the current news at Developing Webs alternative sites which are resources for your d3evelopment needs Join Developing Webs Chat Link to us on your web page to help support this resource! Check out Developing Webs At yahoo groups! Developing Webs Home Adobe Photoshop Tutorials Macromedia Flash Tutorials Jasc Paint Shop Pro Tutorials Adobe Illustrator Animation basics Some Basic PHP tutorials Perl Tutorials HTML Tutorials Cascading Style Sheets javascript Front Page Tutorials Macromedia Dream Weaver Tutorials dreamweaver Publishing your site, FTP, ChMod, Promotions
RSS Newsfeed
for your site
DW News
Calendar
DW Forum
Right click on button and copy shortcut

Add to My Yahoo!

Reminder
Remember to book mark this site!



Request a Tutorial

 

<KEYGEN> ... KEYGEN

Description:

The KEYGEN element is a Netscape creation used to process security transactions with web-based certificate management systems. This element is used in the context of an HTML form along with other information needed to construct a certificate request - the generation of key material and submission of the public key - and the result of the transaction will be a signed certificate that the form can use to generate a challenge string paired with the KEYGEN's NAME attribute.

Use of the KEYGEN element generates a menu of key-size choices that the user must choose from. When the form contents are submitted for processing, a key pair of the selected size is generated. The private key is encrypted and stored in the local key database.

Attributes:

challenge - Specifies the challenge string to be packaged with the public key for use in verification of the form submission. If no challenge string is provided, then it is encoded as an 'IA5STRING' of length zero.

name - Names the keygen string.

Example code:

<form METHOD="post" ACTION="http://example.com/secure/keygen/test.cgi"
ENCTYPE="application/x-www-form-urlencoded">
<keygen NAME="randomkey" CHALLENGE="1234567890">
<input TYPE="text" NAME="Field1" VALUE="Default Text">
</form> 

Result:



"Building The Web Into a Nicer Place -- One Site At A Time"
Developing Webs Group Copyright © 2001-2019 All Rights Reserved
Privacy and Legal