ISSUE-16: Remove explicit startDate and endDate attributes from the Key object
authorRyan Sleevi <sleevi@google.com>
Mon, 03 Dec 2012 17:16:28 -0800
changeset 5 d9331d9ca55b
parent 4 7b55923657e7
child 6 9baa26b28e78
ISSUE-16: Remove explicit startDate and endDate attributes from the Key object

These can be implemented via the "extra" attribute as appropriate for the
lifetime of the underlying key object.

http://www.w3.org/2012/webcrypto/track/issues/16
spec/Overview-WebCryptoAPI.xml
spec/Overview.html
--- a/spec/Overview-WebCryptoAPI.xml	Mon Dec 03 17:16:20 2012 -0800
+++ b/spec/Overview-WebCryptoAPI.xml	Mon Dec 03 17:16:28 2012 -0800
@@ -778,11 +778,7 @@
   readonly attribute <a href="#dfn-Algorithm">Algorithm</a> <a href="#dfn-Key-algorithm">algorithm</a>;
   readonly attribute <a href="#dfn-KeyUsage">KeyUsage</a>[] <a href="#dfn-Key-keyUsage">keyUsage</a>;
 
-  <span class="comment">// TBD: <a href="https://www.w3.org/2012/webcrypto/track/issues/16">ISSUE-16</a></span>
-  readonly attribute Date? <a href="#dfn-Key-startDate">startDate</a>;
-  readonly attribute Date? <a href="#dfn-Key-endDate">endDate</a>;
-
-  <span class="comment">// TBD: <a href="https://www.w3.org/2012/webcrypto/track/issues/17">ISSUE-17</a></span>
+ <span class="comment">// TBD: <a href="https://www.w3.org/2012/webcrypto/track/issues/17">ISSUE-17</a></span>
   <span class="comment">// TBD: <a href="https://www.w3.org/2012/webcrypto/track/issues/25">ISSUE-25</a></span>
   attribute <a href="#dfn-KeyAttributes">KeyAttributes</a> <a href="#dfn-Key-extra">extra</a>;
 };
@@ -836,34 +832,6 @@
               indicate what <a href="#dfn-CryptoOperation">CryptoOperations</a> may be used with this
               key.
             </dd>
-            <dt id="dfn-Key-startDate"><code>startDate</code></dt>
-            <dd>
-              <p>
-                The effective start date for the validity of the key. This is not enforced by the
-                Web Cryptography API, and is provided for informative purposes only. May be
-                <code>null</code>, indicating that the start date is unknown or undefined.
-              </p>
-              <div class="ednote">
-                <p>
-                  <a href="https://www.w3.org/2012/webcrypto/track/issues/16">ISSUE-16</a>
-                  TBD: The semantics of key expiration.
-                </p>
-              </div>
-            </dd>
-            <dt id="dfn-Key-endDate"><code>endDate</code></dt>
-            <dd>
-              <p>
-                The effective end date for the validity of the key. This is not enforced by the
-                Web Cryptography API, and is provided for informative purposes only. May be
-                <code>null</code>, indicating that the end date is unknown or undefined.
-              </p>
-              <div class="ednote">
-                <p>
-                  <a href="https://www.w3.org/2012/webcrypto/track/issues/16">ISSUE-16</a>
-                  TBD: The semantics of key expiration.
-                </p>
-              </div>
-            </dd>
             <dt id="dfn-Key-extra"><code>extra</code></dt>
             <dd>
               Application-defined attributes that are associated with a key.
@@ -909,8 +877,6 @@
                 <li><a href="#dfn-Key-temporary">temporary</a></li>
                 <li><a href="#dfn-Key-Algorithm">Algorithm</a></li>
                 <li><a href="#dfn-Key-KeyUsage">KeyUsage</a></li>
-                <li><a href="#dfn-Key-startDate">startDate</a></li>
-                <li><a href="#dfn-Key-endDate">endDate</a></li>
                 <li><a href="#dfn-Key-KeyAttributes">keyAttributes</a></li>
               </ul>
             </li>
--- a/spec/Overview.html	Mon Dec 03 17:16:20 2012 -0800
+++ b/spec/Overview.html	Mon Dec 03 17:16:28 2012 -0800
@@ -46,7 +46,7 @@
 communications.
       </p>
   
-      <div class="ednote"><div class="ednoteHeader">Editorial note</div><p>There are 13 further editorial notes in the document.</p></div>
+      <div class="ednote"><div class="ednoteHeader">Editorial note</div><p>There are 11 further editorial notes in the document.</p></div>
     </div>
 
     <div class="section">
@@ -774,11 +774,7 @@
   readonly attribute <a href="#dfn-Algorithm">Algorithm</a> <a href="#dfn-Key-algorithm">algorithm</a>;
   readonly attribute <a href="#dfn-KeyUsage">KeyUsage</a>[] <a href="#dfn-Key-keyUsage">keyUsage</a>;
 
-  <span class="comment">// TBD: <a href="https://www.w3.org/2012/webcrypto/track/issues/16">ISSUE-16</a></span>
-  readonly attribute Date? <a href="#dfn-Key-startDate">startDate</a>;
-  readonly attribute Date? <a href="#dfn-Key-endDate">endDate</a>;
-
-  <span class="comment">// TBD: <a href="https://www.w3.org/2012/webcrypto/track/issues/17">ISSUE-17</a></span>
+ <span class="comment">// TBD: <a href="https://www.w3.org/2012/webcrypto/track/issues/17">ISSUE-17</a></span>
   <span class="comment">// TBD: <a href="https://www.w3.org/2012/webcrypto/track/issues/25">ISSUE-25</a></span>
   attribute <a href="#dfn-KeyAttributes">KeyAttributes</a> <a href="#dfn-Key-extra">extra</a>;
 };
@@ -832,34 +828,6 @@
               indicate what <a href="#dfn-CryptoOperation">CryptoOperations</a> may be used with this
               key.
             </dd>
-            <dt id="dfn-Key-startDate"><code>startDate</code></dt>
-            <dd>
-              <p>
-                The effective start date for the validity of the key. This is not enforced by the
-                Web Cryptography API, and is provided for informative purposes only. May be
-                <code>null</code>, indicating that the start date is unknown or undefined.
-              </p>
-              <div class="ednote"><div class="ednoteHeader">Editorial note</div>
-                <p>
-                  <a href="https://www.w3.org/2012/webcrypto/track/issues/16">ISSUE-16</a>
-                  TBD: The semantics of key expiration.
-                </p>
-              </div>
-            </dd>
-            <dt id="dfn-Key-endDate"><code>endDate</code></dt>
-            <dd>
-              <p>
-                The effective end date for the validity of the key. This is not enforced by the
-                Web Cryptography API, and is provided for informative purposes only. May be
-                <code>null</code>, indicating that the end date is unknown or undefined.
-              </p>
-              <div class="ednote"><div class="ednoteHeader">Editorial note</div>
-                <p>
-                  <a href="https://www.w3.org/2012/webcrypto/track/issues/16">ISSUE-16</a>
-                  TBD: The semantics of key expiration.
-                </p>
-              </div>
-            </dd>
             <dt id="dfn-Key-extra"><code>extra</code></dt>
             <dd>
               Application-defined attributes that are associated with a key.
@@ -905,8 +873,6 @@
                 <li><a href="#dfn-Key-temporary">temporary</a></li>
                 <li><a href="#dfn-Key-Algorithm">Algorithm</a></li>
                 <li><a href="#dfn-Key-KeyUsage">KeyUsage</a></li>
-                <li><a href="#dfn-Key-startDate">startDate</a></li>
-                <li><a href="#dfn-Key-endDate">endDate</a></li>
                 <li><a href="#dfn-Key-KeyAttributes">keyAttributes</a></li>
               </ul>
             </li>