W3C home > Mailing lists > Public > public-webcrypto@w3.org > July 2012

Re: ISSUE-3: Algorithm discovery

From: Seetharama Rao Durbha <S.Durbha@cablelabs.com>
Date: Tue, 10 Jul 2012 11:22:30 -0600
To: Ryan Sleevi <sleevi@google.com>, "public-webcrypto@w3.org" <public-webcrypto@w3.org>
CC: David Dahl <ddahl@mozilla.com>, Michael Jones <Michael.Jones@microsoft.com>
Message-ID: <CC219F22.483A%s.durbha@cablelabs.com>
On 7/9/12 7:26 PM, "Ryan Sleevi" <sleevi@google.com<mailto:sleevi@google.com>> wrote:

>>Note that none of the above semantics would necessarily be altered by a MUST-IMPLEMENT registry (ISSUE-1), since there would still
>>need to be some form of error handling for invalid constants/strings and for unsupported key+algorithm+operation tuples.

The difference is whether the developer needs to 'explicitly' catch UnsupportedAlgorithmException and 'do something about it', or 'just not bother', as the algorithm they picked is guaranteed to be available.

Errors caused by invalid constants/strings must be caught at development time.
Received on Tuesday, 10 July 2012 17:24:30 UTC

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