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

Side by Side Diff: modules/crypto/SubtleCrypto.idl

Issue 22498002: Roll IDL to multivm@1329 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « modules/crypto/Key.idl ('k') | modules/crypto/WindowCrypto.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions are
6 * are met: 6 * met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * * Redistributions in binary form must reproduce the above
11 * notice, this list of conditions and the following disclaimer in the 11 * copyright notice, this list of conditions and the following disclaimer
12 * documentation and/or other materials provided with the distribution. 12 * in the documentation and/or other materials provided with the
13 * 3. Neither the name of Google, Inc. ("Google") nor the names of 13 * distribution.
14 * its contributors may be used to endorse or promote products derived 14 * * Neither the name of Google Inc. nor the names of its
15 * from this software without specific prior written permission. 15 * contributors may be used to endorse or promote products derived from
16 * this software without specific prior written permission.
16 * 17 *
17 * THIS SOFTWARE IS PROVIDED BY GOOGLE AND ITS CONTRIBUTORS "AS IS" AND ANY 18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 19 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 20 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY 21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 29 */
28 30
29 [ 31 [
30 NoInterfaceObject, 32 NoInterfaceObject,
31 ] interface SubtleCrypto { 33 ] interface SubtleCrypto {
32 // TODO(eroman): Work in progress: http://crbug.com/245025. 34 [RaisesException] CryptoOperation encrypt(Dictionary algorithm);
35 [RaisesException] CryptoOperation decrypt(Dictionary algorithm);
36 [RaisesException] CryptoOperation sign(Dictionary algorithm);
37 [RaisesException, ImplementedAs=verifySignature] CryptoOperation verify(Dict ionary algorithm);
38 [RaisesException] CryptoOperation digest(Dictionary algorithm);
39
40 [RaisesException] any importKey(DOMString format, ArrayBufferView keyData, D ictionary algorithm, boolean extractable, DOMString[] keyUsages);
33 }; 41 };
34 42
OLDNEW
« no previous file with comments | « modules/crypto/Key.idl ('k') | modules/crypto/WindowCrypto.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698