W3C home > Mailing lists > Public > public-webcrypto@w3.org > February 2013

Question about step 1 of section '12.4.1. process(ArrayBufferView data)'

From: Nick Van den Bleeken <Nick.Van.den.Bleeken@inventivegroup.com>
Date: Thu, 28 Feb 2013 14:28:46 +0000
To: "public-webcrypto@w3.org" <public-webcrypto@w3.org>
Message-ID: <B3B49A19-4751-4BE7-BC05-FCAF49C477CD@inventivegroup.com>
All,

In step 1 of 12.4.1. process(ArrayBufferView data) [1] the text reads:

   'If the internal state is in the "error" state, throw an InvalidStateError exception and abort these steps.'

Shouldn't this be:

   'If the internal state is in the "error" or "complete" state, throw an InvalidStateError exception and abort these steps.'

Because I think that it isn't possible to process additional data when you are finishing or have finished a crypto operation.

Kind regards,

Nick Van den Bleeken
R&D Manager

Phone: +32 3 425 41 02
Office fax: +32 3 821 01 71
nick.van.den.bleeken@inventivegroup.com<mailto:nick.van.den.bleeken@inventivegroup.com>
www.inventivedesigners.com

1: http://www.w3.org/TR/WebCryptoAPI/#dfn-CryptoOperation-method-process



________________________________

Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer
Received on Thursday, 28 February 2013 14:29:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:02:00 UTC