- From: <bugzilla@jessica.w3.org>
- Date: Tue, 29 Apr 2014 10:12:36 +0000
- To: public-webcrypto@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25388
--- Comment #3 from Anne <annevk@annevk.nl> ---
I would not suggest to nest objects, that does indeed seem bad. Can it be a
keyUsages parameter with values as per Mark's suggestion?
The main problem is that if you look at a call such as
window.crypto.subtle.deriveKey({ alg }, key, { derived alg }, false, [
"encrypt" ]);
it is not clear what is going on. The same with the last argument being a
length of sorts.
I would need a much better understanding of the problem space to give more
informed feedback as to what a better API would be. :-(
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 29 April 2014 10:12:50 UTC