[W3C Web Crypto WG] - Comments on Draft API v22

Thanks to the editors for the web crypto API draft! I have two additional comments/questions.

1. Should CryptoOperation states include an error state? Currently, the "complete" state covers the error state. However, completing a successful operation is different from entering into an error state, unless an operator can only be used once regardless how it gets into the "complete" state. 

2. In section 11.5, every methods end with "Terminate this algorithm". What does it mean? For example, the last step of the init() method is "Terminate this algorithm". Do you mean "return"?


Received on Monday, 27 August 2012 20:15:38 UTC