Importing self-identifying JWKs

I filed this:

Presently, the algorithm whose import key operation is executed when
importKey is called is determined entirely by the "algorithm" parameter to
that method.

For JWK, it would in theory be possible to support:

P = crypto.subtle.importKey( "jwk", jwk, null, true, [ <usages> ] )

and have the correct algorithm determined by the "alg" member of the JWK.

Do we want to support this ?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24759

...Mark

Received on Friday, 21 February 2014 01:09:38 UTC