<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>24657</bug_id>
          
          <creation_ts>2014-02-13 20:58:59 +0000</creation_ts>
          <short_desc>Key.algorithm should be of type KeyAlgorithm</short_desc>
          <delta_ts>2014-02-20 21:35:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Web Cryptography</product>
          <component>Web Cryptography API Document</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Roman">ericroman</reporter>
          <assigned_to name="Ryan Sleevi">sleevi</assigned_to>
          <cc>watsonm</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>100559</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Roman">ericroman</who>
    <bug_when>2014-02-13 20:58:59 +0000</bug_when>
    <thetext>Change 2fa3494f0179 introduced the KeyAlgorithm interface.

Section 12 needs to be updated. Currently it lists:

interface Key {
  readonly attribute KeyType type;
  readonly attribute boolean extractable;
  readonly attribute Algorithm algorithm;
  readonly attribute KeyUsage[] usages;
};

I believe that &quot;Algorithm algorithm&quot; should be replaced now with &quot;KeyAlgorithm algorithm&quot;, otherwise the Key interface doesn&apos;t make sense (since KeyAlgorithm does not derive from Algorithm).

Cheers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100840</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Roman">ericroman</who>
    <bug_when>2014-02-19 02:21:24 +0000</bug_when>
    <thetext>Similarly in the structured clone section it says:

* type
* extractable
* Algorithm
* KeyUsage

Should be KeyAlgorithm instead of Algorithm. Or change the last to to &quot;algorithm&quot; and &quot;usages&quot; for consistency with the first two which are names rather than types.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101034</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Watson">watsonm</who>
    <bug_when>2014-02-20 21:35:43 +0000</bug_when>
    <thetext>Changeset e7788285fb48</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>