- From: Nick Van den Bleeken <Nick.Van.den.Bleeken@inventivegroup.com>
- Date: Wed, 16 Oct 2013 15:19:04 +0000
- To: "public-webcrypto@w3.org" <public-webcrypto@w3.org>
Received on Wednesday, 16 October 2013 15:19:37 UTC
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 15:19:37 UTC