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

Re: [W3C Web Crypto WG] Deciding if we need a discovery mechanism

From: Wan-Teh Chang <wtc@google.com>
Date: Fri, 8 Jun 2012 17:48:22 -0700
Message-ID: <CALTJjxF3aC0fB25q2hb9FEDD9COktofOoa8t9mhg_cACkZsqOg@mail.gmail.com>
To: David Dahl <ddahl@mozilla.com>
Cc: Mitch Zollinger <mzollinger@netflix.com>, public-webcrypto@w3.org
On Thu, Jun 7, 2012 at 8:26 PM, David Dahl <ddahl@mozilla.com> wrote:
>
> I think so. We do need to figure out just how flexible this mechanism should be. Perhaps the key handle object you get back has properties like:
>
> kh.mode
> kh.padding
> kh.algorithm

An AES key can be used in different modes of operation and with
different padding schemes, so 'mode' and 'padding' aren't properties
of a key unless we artificially constrain the key.

kh.algorithm and kh.key_size are common properties of a key.

Wan-Teh
Received on Saturday, 9 June 2012 00:48:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 9 June 2012 00:48:46 GMT