[Bug 25382] New: What error is returned when key mismatches operation?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25382

            Bug ID: 25382
           Summary: What error is returned when key mismatches operation?
           Product: Web Cryptography
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Cryptography API Document
          Assignee: sleevi@google.com
          Reporter: ericroman@google.com
                CC: public-webcrypto@w3.org

For instance if calling encrypt() with an AES-CBC algorithm, however provided a
key for RSASSA.

Perhaps InvalidAccessError, to match what the failure asymmetric algorithms are
using when given the wrong key type?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Thursday, 17 April 2014 23:37:51 UTC