[whatwg] The <keygen> element
ide at berkeley.edu
Tue Apr 7 00:13:42 PDT 2009
> 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.
More information about the whatwg