OLD | NEW |
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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 // FIXME: should be: Promise verify(Dictionary algorithm, Key key, CryptoOpe
rationData signature, CryptoOperationData data); | 52 // FIXME: should be: Promise verify(Dictionary algorithm, Key key, CryptoOpe
rationData signature, CryptoOperationData data); |
53 [CallWith=ScriptState, Custom, ImplementedAs=verifySignature] Promise verify
(Dictionary algorithm, Key key, object signature, object data); | 53 [CallWith=ScriptState, Custom, ImplementedAs=verifySignature] Promise verify
(Dictionary algorithm, Key key, object signature, object data); |
54 | 54 |
55 [CallWith=ScriptState] Promise digest(Dictionary algorithm, ArrayBuffer data
); | 55 [CallWith=ScriptState] Promise digest(Dictionary algorithm, ArrayBuffer data
); |
56 [CallWith=ScriptState] Promise digest(Dictionary algorithm, ArrayBufferView
data); | 56 [CallWith=ScriptState] Promise digest(Dictionary algorithm, ArrayBufferView
data); |
57 | 57 |
58 [CallWith=ScriptState] Promise generateKey(Dictionary algorithm, boolean ext
ractable, DOMString[] keyUsages); | 58 [CallWith=ScriptState] Promise generateKey(Dictionary algorithm, boolean ext
ractable, DOMString[] keyUsages); |
59 | 59 |
60 [CallWith=ScriptState] Promise importKey(KeyFormat format, ArrayBuffer keyDa
ta, Dictionary algorithm, boolean extractable, KeyUsage[] keyUsages); | 60 [CallWith=ScriptState] Promise importKey(KeyFormat format, ArrayBuffer keyDa
ta, Dictionary algorithm, boolean extractable, KeyUsage[] keyUsages); |
61 [CallWith=ScriptState] Promise importKey(KeyFormat format, ArrayBufferView k
eyData, Dictionary algorithm, boolean extractable, KeyUsage[] keyUsages); | 61 [CallWith=ScriptState] Promise importKey(KeyFormat format, ArrayBufferView k
eyData, Dictionary algorithm, boolean extractable, KeyUsage[] keyUsages); |
| 62 [CallWith=ScriptState] Promise importKey(KeyFormat format, Dictionary keyDat
a, Dictionary algorithm, boolean extractable, KeyUsage[] keyUsages); |
62 | 63 |
63 [CallWith=ScriptState] Promise exportKey(KeyFormat format, Key key); | 64 [CallWith=ScriptState] Promise exportKey(KeyFormat format, Key key); |
64 | 65 |
65 [CallWith=ScriptState] Promise wrapKey(KeyFormat format, Key key, Key wrappi
ngKey, Dictionary wrapAlgorithm); | 66 [CallWith=ScriptState] Promise wrapKey(KeyFormat format, Key key, Key wrappi
ngKey, Dictionary wrapAlgorithm); |
66 | 67 |
67 [CallWith=ScriptState] Promise unwrapKey(KeyFormat format, ArrayBuffer wrapp
edKey, Key unwrappingKey, Dictionary unwrapAlgorithm, Dictionary unwrappedKeyAlg
orithm, boolean extractable, KeyUsage[] keyUsages); | 68 [CallWith=ScriptState] Promise unwrapKey(KeyFormat format, ArrayBuffer wrapp
edKey, Key unwrappingKey, Dictionary unwrapAlgorithm, Dictionary unwrappedKeyAlg
orithm, boolean extractable, KeyUsage[] keyUsages); |
68 [CallWith=ScriptState] Promise unwrapKey(KeyFormat format, ArrayBufferView w
rappedKey, Key unwrappingKey, Dictionary unwrapAlgorithm, Dictionary unwrappedKe
yAlgorithm, boolean extractable, KeyUsage[] keyUsages); | 69 [CallWith=ScriptState] Promise unwrapKey(KeyFormat format, ArrayBufferView w
rappedKey, Key unwrappingKey, Dictionary unwrapAlgorithm, Dictionary unwrappedKe
yAlgorithm, boolean extractable, KeyUsage[] keyUsages); |
69 }; | 70 }; |
OLD | NEW |