Creating Public/Private Key Pairs

You use the keygen element to generate a public/private pair of keys. When the form is submitted, a new pair of keys is created. The public key is sent to the server, and the private key is retained by the browser and added to the user's key store.

The keytype attribute specifies the algorithm(RSA) that will be used to generate the key pair. The challenge attribute specifies a challenge phrase that is sent to the server along with the public key.

  HTML CSS Book