W3C home > Mailing lists > Public > public-webcrypto@w3.org > October 2013

Re: Algorithm parameters in the use cases document are incorrect

From: Arun Ranganathan <arun@mozilla.com>
Date: Wed, 16 Oct 2013 16:49:37 -0400
Cc: "public-webcrypto@w3.org" <public-webcrypto@w3.org>
Message-Id: <6426F780-C0C1-4006-88D4-4991F9EFB01A@mozilla.com>
To: Nick Van den Bleeken <Nick.Van.den.Bleeken@inventivegroup.com>
Thanks Nick :)  I think this was a holdover from previous syntax within the specification.

I will issue a bug-fix version of the document shortly; some actions are also marked to remove the first section.

-- A*
On Oct 16, 2013, at 11:19 AM, Nick Van den Bleeken wrote:

> Hi,
> 
> I was looking at the use cases document[1], and all algorithm parameters are incorrect. They add the parameters to a 'params' dictionary, instead of adding them directly to the algorithm dictionary (as it is specified now [2]).
> 
> So for example:
> 
> var algorithmKeyGen = {
> name: "RSASSA-PKCS1-v1_5",
> // RsaKeyGenParams
>   params: {
>     modulusLength: 2048,
>     publicExponent: new Uint8Array([0x01, 0x00, 0x01]),  // Equivalent to 65537
>   }
> };
> 
> should become 
> 
> var algorithmKeyGen = {
>   name: "RSASSA-PKCS1-v1_5",
> // RsaKeyGenParams
>    modulusLength: 2048,
>    publicExponent: new Uint8Array([0x01, 0x00, 0x01]),  // Equivalent to 65537
> };
> 
> Kind regards,
> 
> Nick Van den Bleeken
> 
> 1: http://www.w3.org/TR/2013/NOTE-webcrypto-usecases-20130910/
> 2: http://www.w3.org/TR/2013/WD-WebCryptoAPI-20130625/#rsaes-pkcs1
> 
> 
> Inventive Designers' Email Disclaimer:
> http://www.inventivedesigners.com/email-disclaimer
Received on Wednesday, 16 October 2013 20:50:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:17:19 UTC