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

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

Issue 19885002: WebCrypto: Add interfaces for importKey(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move test stuff into MockWebCrypto 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
Index: Source/modules/crypto/SubtleCrypto.idl
diff --git a/Source/modules/crypto/SubtleCrypto.idl b/Source/modules/crypto/SubtleCrypto.idl
index fb5522bc83c92762b12d74e52634d979d47e9c92..d8f93f4c00424ce5a2af3aa56835f29660a8cace 100644
--- a/Source/modules/crypto/SubtleCrypto.idl
+++ b/Source/modules/crypto/SubtleCrypto.idl
@@ -36,5 +36,7 @@
[RaisesException] CryptoOperation sign(Dictionary algorithm);
[RaisesException, ImplementedAs=verifySignature] CryptoOperation verify(Dictionary algorithm);
[RaisesException] CryptoOperation digest(Dictionary algorithm);
+
+ [RaisesException] any importKey(DOMString format, ArrayBufferView keyData, Dictionary algorithm, boolean extractable, DOMString[] keyUsages);
};

Powered by Google App Engine
This is Rietveld 408576698