Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1868)

Unified Diff: Source/modules/crypto/Key.idl

Issue 19885002: WebCrypto: Add interfaces for importKey(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and rename Interface --> Private Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/crypto/Key.cpp ('k') | Source/modules/crypto/KeyOperation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/Key.idl
diff --git a/Source/modules/crypto/Key.idl b/Source/modules/crypto/Key.idl
index ef447f034d4714f17ca97877852332df2ca24752..6124a2f57462bfb7150ddcf317d3bb7b8a9779ed 100644
--- a/Source/modules/crypto/Key.idl
+++ b/Source/modules/crypto/Key.idl
@@ -28,27 +28,11 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-enum KeyType {
- "secret",
- "public",
- "private"
-};
-
-enum KeyUsage {
- "encrypt",
- "decrypt",
- "sign",
- "verify",
- "deriveKey",
- "wrapKey",
- "unwrapKey"
-};
-
[
NoInterfaceObject,
] interface Key {
- readonly attribute KeyType type;
+ readonly attribute DOMString type;
readonly attribute boolean extractable;
readonly attribute Algorithm algorithm;
- readonly attribute KeyUsage[] usages;
+ readonly attribute DOMString[] usages;
};
« no previous file with comments | « Source/modules/crypto/Key.cpp ('k') | Source/modules/crypto/KeyOperation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698