[whatwg] The <keygen> element

> Going forward maybe we should add this to the keytype="" attribute,
> though, making it a space separated list instead of an enumerated
> attribute. For the parameters, maybe we can use different attributes for
> the different types? e.g. dsaparams="" ecparams="" etc? Netscape 4 used to
> have pqg="" for DSA (PQG is what DSA's parameters are called) so there is
> some precedent there.

Going one step further, if the <keygen> element does support multiple
algorithms, would it be worthwhile to allow it to contain parameters,
e.g. <param name="dsa" value="some-value">? On one hand, the set of
widely-implemented algorithms seems small and fixing attribute names
like dsaparams="" makes sense. But on the other, allowing params with
arbitrary names seems like a more flexible approach.

Regards,
James

Received on Tuesday, 7 April 2009 00:13:42 UTC