Easy Tutorial
❮ Prop Style Transform Prop Form Length ❯

Keygen keytype Attribute

Keygen Object

Example

Return the keytype attribute value of the keygen field:

x Output result:


Definition and Usage

The keytype attribute is used to set or return the value of the keygen field's keytype attribute.

The keytype attribute describes the type of key used.


Browser Support

All major browsers support the disabled attribute, except Internet Explorer and Safari.


Syntax

Return the keytype attribute:

Set the keytype attribute:

Attribute Values

Value Description
rsa Default. Specifies an RSA encryption algorithm.
dsa Specifies a DSA encryption algorithm.
ec Specifies an EC encryption algorithm.

Technical Description

| Return Value: | String, representing the key type. | | --- | --- |


Related Pages

HTML Reference: HTML <keygen> keytype Attribute


Keygen Object

❮ Prop Style Transform Prop Form Length ❯