Generate the key with an RSA alogrithm:
The keytype attribute specifies a key type to be used.
Note: The support for key types may vary between browsers.
The numbers in the table specify the first browser version that fully supports the attribute.
Attribute | |||||
---|---|---|---|---|---|
keytype | Yes | Not supported | Yes | Not supported | Yes |
The <keygen> tag is new in HTML5.
Value | Description |
---|---|
rsa | Default. Specifies an RSA security algorithm. The user may be given a choice of RSA key strengths |
dsa | Specifies a DSA security algorithm. The user may be given a choice of DSA key sizes |
ec | Specifies an EC security algorithm. The user may be given a choice of EC key strengths |