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

Side by Side Diff: LayoutTests/crypto/clone-aesKey-expected.txt

Issue 195543002: [webcrypto] Implement structured clone of keys (blink-side). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update serialized-script-value.html for version bump Created 6 years, 9 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 | « LayoutTests/crypto/clone-aesKey.html ('k') | LayoutTests/crypto/clone-hmacKey.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Tests structured cloning of AES keys
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS importedKey.extraProperty is "hi"
7 PASS importedKey.type is "secret"
8 PASS typeof importedKey.extractable is 'boolean'
9 PASS importedKey.extractable is true
10 PASS importedKey.algorithm.name is "AES-CBC"
11 PASS importedKey.algorithm.length is 128
12 PASS importedKey.usages.join(',') is ""
13 PASS importedKey != clonedKey is true
14 PASS clonedKey.extraProperty is undefined.
15 PASS clonedKey.type is "secret"
16 PASS typeof clonedKey.extractable is 'boolean'
17 PASS clonedKey.extractable is true
18 PASS clonedKey.algorithm.name is "AES-CBC"
19 PASS clonedKey.algorithm.length is 128
20 PASS clonedKey.usages.join(',') is ""
21 Serialized key bytes: ff053f004b010110011030112233445566778899aabbccddeeff
22 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
23
24 PASS importedKey.extraProperty is "hi"
25 PASS importedKey.type is "secret"
26 PASS typeof importedKey.extractable is 'boolean'
27 PASS importedKey.extractable is true
28 PASS importedKey.algorithm.name is "AES-CBC"
29 PASS importedKey.algorithm.length is 192
30 PASS importedKey.usages.join(',') is ""
31 PASS importedKey != clonedKey is true
32 PASS clonedKey.extraProperty is undefined.
33 PASS clonedKey.type is "secret"
34 PASS typeof clonedKey.extractable is 'boolean'
35 PASS clonedKey.extractable is true
36 PASS clonedKey.algorithm.name is "AES-CBC"
37 PASS clonedKey.algorithm.length is 192
38 PASS clonedKey.usages.join(',') is ""
39 Serialized key bytes: ff053f004b0101180118800102030405060708090a0b0c0d0e0f101112 1314151617
40 PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f101112 1314151617] and was
41
42 PASS importedKey.extraProperty is "hi"
43 PASS importedKey.type is "secret"
44 PASS typeof importedKey.extractable is 'boolean'
45 PASS importedKey.extractable is true
46 PASS importedKey.algorithm.name is "AES-CBC"
47 PASS importedKey.algorithm.length is 256
48 PASS importedKey.usages.join(',') is ""
49 PASS importedKey != clonedKey is true
50 PASS clonedKey.extraProperty is undefined.
51 PASS clonedKey.type is "secret"
52 PASS typeof clonedKey.extractable is 'boolean'
53 PASS clonedKey.extractable is true
54 PASS clonedKey.algorithm.name is "AES-CBC"
55 PASS clonedKey.algorithm.length is 256
56 PASS clonedKey.usages.join(',') is ""
57 Serialized key bytes: ff053f004b010120012000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
58 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f] and was
59
60 PASS importedKey.extraProperty is "hi"
61 PASS importedKey.type is "secret"
62 PASS typeof importedKey.extractable is 'boolean'
63 PASS importedKey.extractable is true
64 PASS importedKey.algorithm.name is "AES-CBC"
65 PASS importedKey.algorithm.length is 128
66 PASS importedKey.usages.join(',') is "encrypt"
67 PASS importedKey != clonedKey is true
68 PASS clonedKey.extraProperty is undefined.
69 PASS clonedKey.type is "secret"
70 PASS typeof clonedKey.extractable is 'boolean'
71 PASS clonedKey.extractable is true
72 PASS clonedKey.algorithm.name is "AES-CBC"
73 PASS clonedKey.algorithm.length is 128
74 PASS clonedKey.usages.join(',') is "encrypt"
75 Serialized key bytes: ff053f004b010110031030112233445566778899aabbccddeeff
76 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
77
78 PASS importedKey.extraProperty is "hi"
79 PASS importedKey.type is "secret"
80 PASS typeof importedKey.extractable is 'boolean'
81 PASS importedKey.extractable is true
82 PASS importedKey.algorithm.name is "AES-CBC"
83 PASS importedKey.algorithm.length is 192
84 PASS importedKey.usages.join(',') is "encrypt"
85 PASS importedKey != clonedKey is true
86 PASS clonedKey.extraProperty is undefined.
87 PASS clonedKey.type is "secret"
88 PASS typeof clonedKey.extractable is 'boolean'
89 PASS clonedKey.extractable is true
90 PASS clonedKey.algorithm.name is "AES-CBC"
91 PASS clonedKey.algorithm.length is 192
92 PASS clonedKey.usages.join(',') is "encrypt"
93 Serialized key bytes: ff053f004b0101180318800102030405060708090a0b0c0d0e0f101112 1314151617
94 PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f101112 1314151617] and was
95
96 PASS importedKey.extraProperty is "hi"
97 PASS importedKey.type is "secret"
98 PASS typeof importedKey.extractable is 'boolean'
99 PASS importedKey.extractable is true
100 PASS importedKey.algorithm.name is "AES-CBC"
101 PASS importedKey.algorithm.length is 256
102 PASS importedKey.usages.join(',') is "encrypt"
103 PASS importedKey != clonedKey is true
104 PASS clonedKey.extraProperty is undefined.
105 PASS clonedKey.type is "secret"
106 PASS typeof clonedKey.extractable is 'boolean'
107 PASS clonedKey.extractable is true
108 PASS clonedKey.algorithm.name is "AES-CBC"
109 PASS clonedKey.algorithm.length is 256
110 PASS clonedKey.usages.join(',') is "encrypt"
111 Serialized key bytes: ff053f004b010120032000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
112 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f] and was
113
114 PASS importedKey.extraProperty is "hi"
115 PASS importedKey.type is "secret"
116 PASS typeof importedKey.extractable is 'boolean'
117 PASS importedKey.extractable is true
118 PASS importedKey.algorithm.name is "AES-CBC"
119 PASS importedKey.algorithm.length is 128
120 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
121 PASS importedKey != clonedKey is true
122 PASS clonedKey.extraProperty is undefined.
123 PASS clonedKey.type is "secret"
124 PASS typeof clonedKey.extractable is 'boolean'
125 PASS clonedKey.extractable is true
126 PASS clonedKey.algorithm.name is "AES-CBC"
127 PASS clonedKey.algorithm.length is 128
128 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
129 Serialized key bytes: ff053f004b010110451030112233445566778899aabbccddeeff
130 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
131
132 PASS importedKey.extraProperty is "hi"
133 PASS importedKey.type is "secret"
134 PASS typeof importedKey.extractable is 'boolean'
135 PASS importedKey.extractable is true
136 PASS importedKey.algorithm.name is "AES-CBC"
137 PASS importedKey.algorithm.length is 192
138 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
139 PASS importedKey != clonedKey is true
140 PASS clonedKey.extraProperty is undefined.
141 PASS clonedKey.type is "secret"
142 PASS typeof clonedKey.extractable is 'boolean'
143 PASS clonedKey.extractable is true
144 PASS clonedKey.algorithm.name is "AES-CBC"
145 PASS clonedKey.algorithm.length is 192
146 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
147 Serialized key bytes: ff053f004b0101184518800102030405060708090a0b0c0d0e0f101112 1314151617
148 PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f101112 1314151617] and was
149
150 PASS importedKey.extraProperty is "hi"
151 PASS importedKey.type is "secret"
152 PASS typeof importedKey.extractable is 'boolean'
153 PASS importedKey.extractable is true
154 PASS importedKey.algorithm.name is "AES-CBC"
155 PASS importedKey.algorithm.length is 256
156 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
157 PASS importedKey != clonedKey is true
158 PASS clonedKey.extraProperty is undefined.
159 PASS clonedKey.type is "secret"
160 PASS typeof clonedKey.extractable is 'boolean'
161 PASS clonedKey.extractable is true
162 PASS clonedKey.algorithm.name is "AES-CBC"
163 PASS clonedKey.algorithm.length is 256
164 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
165 Serialized key bytes: ff053f004b010120452000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
166 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f] and was
167
168 PASS importedKey.extraProperty is "hi"
169 PASS importedKey.type is "secret"
170 PASS typeof importedKey.extractable is 'boolean'
171 PASS importedKey.extractable is true
172 PASS importedKey.algorithm.name is "AES-CBC"
173 PASS importedKey.algorithm.length is 128
174 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
175 PASS importedKey != clonedKey is true
176 PASS clonedKey.extraProperty is undefined.
177 PASS clonedKey.type is "secret"
178 PASS typeof clonedKey.extractable is 'boolean'
179 PASS clonedKey.extractable is true
180 PASS clonedKey.algorithm.name is "AES-CBC"
181 PASS clonedKey.algorithm.length is 128
182 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
183 Serialized key bytes: ff053f004b010110c3011030112233445566778899aabbccddeeff00
184 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
185
186 PASS importedKey.extraProperty is "hi"
187 PASS importedKey.type is "secret"
188 PASS typeof importedKey.extractable is 'boolean'
189 PASS importedKey.extractable is true
190 PASS importedKey.algorithm.name is "AES-CBC"
191 PASS importedKey.algorithm.length is 192
192 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
193 PASS importedKey != clonedKey is true
194 PASS clonedKey.extraProperty is undefined.
195 PASS clonedKey.type is "secret"
196 PASS typeof clonedKey.extractable is 'boolean'
197 PASS clonedKey.extractable is true
198 PASS clonedKey.algorithm.name is "AES-CBC"
199 PASS clonedKey.algorithm.length is 192
200 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
201 Serialized key bytes: ff053f004b010118c30118800102030405060708090a0b0c0d0e0f1011 12131415161700
202 PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f101112 1314151617] and was
203
204 PASS importedKey.extraProperty is "hi"
205 PASS importedKey.type is "secret"
206 PASS typeof importedKey.extractable is 'boolean'
207 PASS importedKey.extractable is true
208 PASS importedKey.algorithm.name is "AES-CBC"
209 PASS importedKey.algorithm.length is 256
210 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
211 PASS importedKey != clonedKey is true
212 PASS clonedKey.extraProperty is undefined.
213 PASS clonedKey.type is "secret"
214 PASS typeof clonedKey.extractable is 'boolean'
215 PASS clonedKey.extractable is true
216 PASS clonedKey.algorithm.name is "AES-CBC"
217 PASS clonedKey.algorithm.length is 256
218 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
219 Serialized key bytes: ff053f004b010120c3012000112233445546778899aabbccddeeff0001 02030405060708090a0b0c0d0e0f00
220 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f] and was
221
222 PASS importedKey.extraProperty is "hi"
223 PASS importedKey.type is "secret"
224 PASS typeof importedKey.extractable is 'boolean'
225 PASS importedKey.extractable is false
226 PASS importedKey.algorithm.name is "AES-CBC"
227 PASS importedKey.algorithm.length is 128
228 PASS importedKey.usages.join(',') is ""
229 PASS importedKey != clonedKey is true
230 PASS clonedKey.extraProperty is undefined.
231 PASS clonedKey.type is "secret"
232 PASS typeof clonedKey.extractable is 'boolean'
233 PASS clonedKey.extractable is false
234 PASS clonedKey.algorithm.name is "AES-CBC"
235 PASS clonedKey.algorithm.length is 128
236 PASS clonedKey.usages.join(',') is ""
237 Serialized key bytes: ff053f004b010110001030112233445566778899aabbccddeeff
238
239 PASS importedKey.extraProperty is "hi"
240 PASS importedKey.type is "secret"
241 PASS typeof importedKey.extractable is 'boolean'
242 PASS importedKey.extractable is false
243 PASS importedKey.algorithm.name is "AES-CBC"
244 PASS importedKey.algorithm.length is 192
245 PASS importedKey.usages.join(',') is ""
246 PASS importedKey != clonedKey is true
247 PASS clonedKey.extraProperty is undefined.
248 PASS clonedKey.type is "secret"
249 PASS typeof clonedKey.extractable is 'boolean'
250 PASS clonedKey.extractable is false
251 PASS clonedKey.algorithm.name is "AES-CBC"
252 PASS clonedKey.algorithm.length is 192
253 PASS clonedKey.usages.join(',') is ""
254 Serialized key bytes: ff053f004b0101180018800102030405060708090a0b0c0d0e0f101112 1314151617
255
256 PASS importedKey.extraProperty is "hi"
257 PASS importedKey.type is "secret"
258 PASS typeof importedKey.extractable is 'boolean'
259 PASS importedKey.extractable is false
260 PASS importedKey.algorithm.name is "AES-CBC"
261 PASS importedKey.algorithm.length is 256
262 PASS importedKey.usages.join(',') is ""
263 PASS importedKey != clonedKey is true
264 PASS clonedKey.extraProperty is undefined.
265 PASS clonedKey.type is "secret"
266 PASS typeof clonedKey.extractable is 'boolean'
267 PASS clonedKey.extractable is false
268 PASS clonedKey.algorithm.name is "AES-CBC"
269 PASS clonedKey.algorithm.length is 256
270 PASS clonedKey.usages.join(',') is ""
271 Serialized key bytes: ff053f004b010120002000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
272
273 PASS importedKey.extraProperty is "hi"
274 PASS importedKey.type is "secret"
275 PASS typeof importedKey.extractable is 'boolean'
276 PASS importedKey.extractable is false
277 PASS importedKey.algorithm.name is "AES-CBC"
278 PASS importedKey.algorithm.length is 128
279 PASS importedKey.usages.join(',') is "encrypt"
280 PASS importedKey != clonedKey is true
281 PASS clonedKey.extraProperty is undefined.
282 PASS clonedKey.type is "secret"
283 PASS typeof clonedKey.extractable is 'boolean'
284 PASS clonedKey.extractable is false
285 PASS clonedKey.algorithm.name is "AES-CBC"
286 PASS clonedKey.algorithm.length is 128
287 PASS clonedKey.usages.join(',') is "encrypt"
288 Serialized key bytes: ff053f004b010110021030112233445566778899aabbccddeeff
289
290 PASS importedKey.extraProperty is "hi"
291 PASS importedKey.type is "secret"
292 PASS typeof importedKey.extractable is 'boolean'
293 PASS importedKey.extractable is false
294 PASS importedKey.algorithm.name is "AES-CBC"
295 PASS importedKey.algorithm.length is 192
296 PASS importedKey.usages.join(',') is "encrypt"
297 PASS importedKey != clonedKey is true
298 PASS clonedKey.extraProperty is undefined.
299 PASS clonedKey.type is "secret"
300 PASS typeof clonedKey.extractable is 'boolean'
301 PASS clonedKey.extractable is false
302 PASS clonedKey.algorithm.name is "AES-CBC"
303 PASS clonedKey.algorithm.length is 192
304 PASS clonedKey.usages.join(',') is "encrypt"
305 Serialized key bytes: ff053f004b0101180218800102030405060708090a0b0c0d0e0f101112 1314151617
306
307 PASS importedKey.extraProperty is "hi"
308 PASS importedKey.type is "secret"
309 PASS typeof importedKey.extractable is 'boolean'
310 PASS importedKey.extractable is false
311 PASS importedKey.algorithm.name is "AES-CBC"
312 PASS importedKey.algorithm.length is 256
313 PASS importedKey.usages.join(',') is "encrypt"
314 PASS importedKey != clonedKey is true
315 PASS clonedKey.extraProperty is undefined.
316 PASS clonedKey.type is "secret"
317 PASS typeof clonedKey.extractable is 'boolean'
318 PASS clonedKey.extractable is false
319 PASS clonedKey.algorithm.name is "AES-CBC"
320 PASS clonedKey.algorithm.length is 256
321 PASS clonedKey.usages.join(',') is "encrypt"
322 Serialized key bytes: ff053f004b010120022000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
323
324 PASS importedKey.extraProperty is "hi"
325 PASS importedKey.type is "secret"
326 PASS typeof importedKey.extractable is 'boolean'
327 PASS importedKey.extractable is false
328 PASS importedKey.algorithm.name is "AES-CBC"
329 PASS importedKey.algorithm.length is 128
330 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
331 PASS importedKey != clonedKey is true
332 PASS clonedKey.extraProperty is undefined.
333 PASS clonedKey.type is "secret"
334 PASS typeof clonedKey.extractable is 'boolean'
335 PASS clonedKey.extractable is false
336 PASS clonedKey.algorithm.name is "AES-CBC"
337 PASS clonedKey.algorithm.length is 128
338 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
339 Serialized key bytes: ff053f004b010110441030112233445566778899aabbccddeeff
340
341 PASS importedKey.extraProperty is "hi"
342 PASS importedKey.type is "secret"
343 PASS typeof importedKey.extractable is 'boolean'
344 PASS importedKey.extractable is false
345 PASS importedKey.algorithm.name is "AES-CBC"
346 PASS importedKey.algorithm.length is 192
347 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
348 PASS importedKey != clonedKey is true
349 PASS clonedKey.extraProperty is undefined.
350 PASS clonedKey.type is "secret"
351 PASS typeof clonedKey.extractable is 'boolean'
352 PASS clonedKey.extractable is false
353 PASS clonedKey.algorithm.name is "AES-CBC"
354 PASS clonedKey.algorithm.length is 192
355 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
356 Serialized key bytes: ff053f004b0101184418800102030405060708090a0b0c0d0e0f101112 1314151617
357
358 PASS importedKey.extraProperty is "hi"
359 PASS importedKey.type is "secret"
360 PASS typeof importedKey.extractable is 'boolean'
361 PASS importedKey.extractable is false
362 PASS importedKey.algorithm.name is "AES-CBC"
363 PASS importedKey.algorithm.length is 256
364 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
365 PASS importedKey != clonedKey is true
366 PASS clonedKey.extraProperty is undefined.
367 PASS clonedKey.type is "secret"
368 PASS typeof clonedKey.extractable is 'boolean'
369 PASS clonedKey.extractable is false
370 PASS clonedKey.algorithm.name is "AES-CBC"
371 PASS clonedKey.algorithm.length is 256
372 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
373 Serialized key bytes: ff053f004b010120442000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
374
375 PASS importedKey.extraProperty is "hi"
376 PASS importedKey.type is "secret"
377 PASS typeof importedKey.extractable is 'boolean'
378 PASS importedKey.extractable is false
379 PASS importedKey.algorithm.name is "AES-CBC"
380 PASS importedKey.algorithm.length is 128
381 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
382 PASS importedKey != clonedKey is true
383 PASS clonedKey.extraProperty is undefined.
384 PASS clonedKey.type is "secret"
385 PASS typeof clonedKey.extractable is 'boolean'
386 PASS clonedKey.extractable is false
387 PASS clonedKey.algorithm.name is "AES-CBC"
388 PASS clonedKey.algorithm.length is 128
389 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
390 Serialized key bytes: ff053f004b010110c2011030112233445566778899aabbccddeeff00
391
392 PASS importedKey.extraProperty is "hi"
393 PASS importedKey.type is "secret"
394 PASS typeof importedKey.extractable is 'boolean'
395 PASS importedKey.extractable is false
396 PASS importedKey.algorithm.name is "AES-CBC"
397 PASS importedKey.algorithm.length is 192
398 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
399 PASS importedKey != clonedKey is true
400 PASS clonedKey.extraProperty is undefined.
401 PASS clonedKey.type is "secret"
402 PASS typeof clonedKey.extractable is 'boolean'
403 PASS clonedKey.extractable is false
404 PASS clonedKey.algorithm.name is "AES-CBC"
405 PASS clonedKey.algorithm.length is 192
406 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
407 Serialized key bytes: ff053f004b010118c20118800102030405060708090a0b0c0d0e0f1011 12131415161700
408
409 PASS importedKey.extraProperty is "hi"
410 PASS importedKey.type is "secret"
411 PASS typeof importedKey.extractable is 'boolean'
412 PASS importedKey.extractable is false
413 PASS importedKey.algorithm.name is "AES-CBC"
414 PASS importedKey.algorithm.length is 256
415 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
416 PASS importedKey != clonedKey is true
417 PASS clonedKey.extraProperty is undefined.
418 PASS clonedKey.type is "secret"
419 PASS typeof clonedKey.extractable is 'boolean'
420 PASS clonedKey.extractable is false
421 PASS clonedKey.algorithm.name is "AES-CBC"
422 PASS clonedKey.algorithm.length is 256
423 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
424 Serialized key bytes: ff053f004b010120c2012000112233445546778899aabbccddeeff0001 02030405060708090a0b0c0d0e0f00
425
426 PASS importedKey.extraProperty is "hi"
427 PASS importedKey.type is "secret"
428 PASS typeof importedKey.extractable is 'boolean'
429 PASS importedKey.extractable is true
430 PASS importedKey.algorithm.name is "AES-GCM"
431 PASS importedKey.algorithm.length is 128
432 PASS importedKey.usages.join(',') is ""
433 PASS importedKey != clonedKey is true
434 PASS clonedKey.extraProperty is undefined.
435 PASS clonedKey.type is "secret"
436 PASS typeof clonedKey.extractable is 'boolean'
437 PASS clonedKey.extractable is true
438 PASS clonedKey.algorithm.name is "AES-GCM"
439 PASS clonedKey.algorithm.length is 128
440 PASS clonedKey.usages.join(',') is ""
441 Serialized key bytes: ff053f004b010910011030112233445566778899aabbccddeeff
442 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
443
444 PASS importedKey.extraProperty is "hi"
445 PASS importedKey.type is "secret"
446 PASS typeof importedKey.extractable is 'boolean'
447 PASS importedKey.extractable is true
448 PASS importedKey.algorithm.name is "AES-GCM"
449 PASS importedKey.algorithm.length is 192
450 PASS importedKey.usages.join(',') is ""
451 PASS importedKey != clonedKey is true
452 PASS clonedKey.extraProperty is undefined.
453 PASS clonedKey.type is "secret"
454 PASS typeof clonedKey.extractable is 'boolean'
455 PASS clonedKey.extractable is true
456 PASS clonedKey.algorithm.name is "AES-GCM"
457 PASS clonedKey.algorithm.length is 192
458 PASS clonedKey.usages.join(',') is ""
459 Serialized key bytes: ff053f004b0109180118800102030405060708090a0b0c0d0e0f101112 1314151617
460 PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f101112 1314151617] and was
461
462 PASS importedKey.extraProperty is "hi"
463 PASS importedKey.type is "secret"
464 PASS typeof importedKey.extractable is 'boolean'
465 PASS importedKey.extractable is true
466 PASS importedKey.algorithm.name is "AES-GCM"
467 PASS importedKey.algorithm.length is 256
468 PASS importedKey.usages.join(',') is ""
469 PASS importedKey != clonedKey is true
470 PASS clonedKey.extraProperty is undefined.
471 PASS clonedKey.type is "secret"
472 PASS typeof clonedKey.extractable is 'boolean'
473 PASS clonedKey.extractable is true
474 PASS clonedKey.algorithm.name is "AES-GCM"
475 PASS clonedKey.algorithm.length is 256
476 PASS clonedKey.usages.join(',') is ""
477 Serialized key bytes: ff053f004b010920012000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
478 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f] and was
479
480 PASS importedKey.extraProperty is "hi"
481 PASS importedKey.type is "secret"
482 PASS typeof importedKey.extractable is 'boolean'
483 PASS importedKey.extractable is true
484 PASS importedKey.algorithm.name is "AES-GCM"
485 PASS importedKey.algorithm.length is 128
486 PASS importedKey.usages.join(',') is "encrypt"
487 PASS importedKey != clonedKey is true
488 PASS clonedKey.extraProperty is undefined.
489 PASS clonedKey.type is "secret"
490 PASS typeof clonedKey.extractable is 'boolean'
491 PASS clonedKey.extractable is true
492 PASS clonedKey.algorithm.name is "AES-GCM"
493 PASS clonedKey.algorithm.length is 128
494 PASS clonedKey.usages.join(',') is "encrypt"
495 Serialized key bytes: ff053f004b010910031030112233445566778899aabbccddeeff
496 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
497
498 PASS importedKey.extraProperty is "hi"
499 PASS importedKey.type is "secret"
500 PASS typeof importedKey.extractable is 'boolean'
501 PASS importedKey.extractable is true
502 PASS importedKey.algorithm.name is "AES-GCM"
503 PASS importedKey.algorithm.length is 192
504 PASS importedKey.usages.join(',') is "encrypt"
505 PASS importedKey != clonedKey is true
506 PASS clonedKey.extraProperty is undefined.
507 PASS clonedKey.type is "secret"
508 PASS typeof clonedKey.extractable is 'boolean'
509 PASS clonedKey.extractable is true
510 PASS clonedKey.algorithm.name is "AES-GCM"
511 PASS clonedKey.algorithm.length is 192
512 PASS clonedKey.usages.join(',') is "encrypt"
513 Serialized key bytes: ff053f004b0109180318800102030405060708090a0b0c0d0e0f101112 1314151617
514 PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f101112 1314151617] and was
515
516 PASS importedKey.extraProperty is "hi"
517 PASS importedKey.type is "secret"
518 PASS typeof importedKey.extractable is 'boolean'
519 PASS importedKey.extractable is true
520 PASS importedKey.algorithm.name is "AES-GCM"
521 PASS importedKey.algorithm.length is 256
522 PASS importedKey.usages.join(',') is "encrypt"
523 PASS importedKey != clonedKey is true
524 PASS clonedKey.extraProperty is undefined.
525 PASS clonedKey.type is "secret"
526 PASS typeof clonedKey.extractable is 'boolean'
527 PASS clonedKey.extractable is true
528 PASS clonedKey.algorithm.name is "AES-GCM"
529 PASS clonedKey.algorithm.length is 256
530 PASS clonedKey.usages.join(',') is "encrypt"
531 Serialized key bytes: ff053f004b010920032000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
532 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f] and was
533
534 PASS importedKey.extraProperty is "hi"
535 PASS importedKey.type is "secret"
536 PASS typeof importedKey.extractable is 'boolean'
537 PASS importedKey.extractable is true
538 PASS importedKey.algorithm.name is "AES-GCM"
539 PASS importedKey.algorithm.length is 128
540 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
541 PASS importedKey != clonedKey is true
542 PASS clonedKey.extraProperty is undefined.
543 PASS clonedKey.type is "secret"
544 PASS typeof clonedKey.extractable is 'boolean'
545 PASS clonedKey.extractable is true
546 PASS clonedKey.algorithm.name is "AES-GCM"
547 PASS clonedKey.algorithm.length is 128
548 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
549 Serialized key bytes: ff053f004b010910451030112233445566778899aabbccddeeff
550 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
551
552 PASS importedKey.extraProperty is "hi"
553 PASS importedKey.type is "secret"
554 PASS typeof importedKey.extractable is 'boolean'
555 PASS importedKey.extractable is true
556 PASS importedKey.algorithm.name is "AES-GCM"
557 PASS importedKey.algorithm.length is 192
558 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
559 PASS importedKey != clonedKey is true
560 PASS clonedKey.extraProperty is undefined.
561 PASS clonedKey.type is "secret"
562 PASS typeof clonedKey.extractable is 'boolean'
563 PASS clonedKey.extractable is true
564 PASS clonedKey.algorithm.name is "AES-GCM"
565 PASS clonedKey.algorithm.length is 192
566 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
567 Serialized key bytes: ff053f004b0109184518800102030405060708090a0b0c0d0e0f101112 1314151617
568 PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f101112 1314151617] and was
569
570 PASS importedKey.extraProperty is "hi"
571 PASS importedKey.type is "secret"
572 PASS typeof importedKey.extractable is 'boolean'
573 PASS importedKey.extractable is true
574 PASS importedKey.algorithm.name is "AES-GCM"
575 PASS importedKey.algorithm.length is 256
576 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
577 PASS importedKey != clonedKey is true
578 PASS clonedKey.extraProperty is undefined.
579 PASS clonedKey.type is "secret"
580 PASS typeof clonedKey.extractable is 'boolean'
581 PASS clonedKey.extractable is true
582 PASS clonedKey.algorithm.name is "AES-GCM"
583 PASS clonedKey.algorithm.length is 256
584 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
585 Serialized key bytes: ff053f004b010920452000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
586 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f] and was
587
588 PASS importedKey.extraProperty is "hi"
589 PASS importedKey.type is "secret"
590 PASS typeof importedKey.extractable is 'boolean'
591 PASS importedKey.extractable is true
592 PASS importedKey.algorithm.name is "AES-GCM"
593 PASS importedKey.algorithm.length is 128
594 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
595 PASS importedKey != clonedKey is true
596 PASS clonedKey.extraProperty is undefined.
597 PASS clonedKey.type is "secret"
598 PASS typeof clonedKey.extractable is 'boolean'
599 PASS clonedKey.extractable is true
600 PASS clonedKey.algorithm.name is "AES-GCM"
601 PASS clonedKey.algorithm.length is 128
602 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
603 Serialized key bytes: ff053f004b010910c3011030112233445566778899aabbccddeeff00
604 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
605
606 PASS importedKey.extraProperty is "hi"
607 PASS importedKey.type is "secret"
608 PASS typeof importedKey.extractable is 'boolean'
609 PASS importedKey.extractable is true
610 PASS importedKey.algorithm.name is "AES-GCM"
611 PASS importedKey.algorithm.length is 192
612 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
613 PASS importedKey != clonedKey is true
614 PASS clonedKey.extraProperty is undefined.
615 PASS clonedKey.type is "secret"
616 PASS typeof clonedKey.extractable is 'boolean'
617 PASS clonedKey.extractable is true
618 PASS clonedKey.algorithm.name is "AES-GCM"
619 PASS clonedKey.algorithm.length is 192
620 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
621 Serialized key bytes: ff053f004b010918c30118800102030405060708090a0b0c0d0e0f1011 12131415161700
622 PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f101112 1314151617] and was
623
624 PASS importedKey.extraProperty is "hi"
625 PASS importedKey.type is "secret"
626 PASS typeof importedKey.extractable is 'boolean'
627 PASS importedKey.extractable is true
628 PASS importedKey.algorithm.name is "AES-GCM"
629 PASS importedKey.algorithm.length is 256
630 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
631 PASS importedKey != clonedKey is true
632 PASS clonedKey.extraProperty is undefined.
633 PASS clonedKey.type is "secret"
634 PASS typeof clonedKey.extractable is 'boolean'
635 PASS clonedKey.extractable is true
636 PASS clonedKey.algorithm.name is "AES-GCM"
637 PASS clonedKey.algorithm.length is 256
638 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
639 Serialized key bytes: ff053f004b010920c3012000112233445546778899aabbccddeeff0001 02030405060708090a0b0c0d0e0f00
640 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f] and was
641
642 PASS importedKey.extraProperty is "hi"
643 PASS importedKey.type is "secret"
644 PASS typeof importedKey.extractable is 'boolean'
645 PASS importedKey.extractable is false
646 PASS importedKey.algorithm.name is "AES-GCM"
647 PASS importedKey.algorithm.length is 128
648 PASS importedKey.usages.join(',') is ""
649 PASS importedKey != clonedKey is true
650 PASS clonedKey.extraProperty is undefined.
651 PASS clonedKey.type is "secret"
652 PASS typeof clonedKey.extractable is 'boolean'
653 PASS clonedKey.extractable is false
654 PASS clonedKey.algorithm.name is "AES-GCM"
655 PASS clonedKey.algorithm.length is 128
656 PASS clonedKey.usages.join(',') is ""
657 Serialized key bytes: ff053f004b010910001030112233445566778899aabbccddeeff
658
659 PASS importedKey.extraProperty is "hi"
660 PASS importedKey.type is "secret"
661 PASS typeof importedKey.extractable is 'boolean'
662 PASS importedKey.extractable is false
663 PASS importedKey.algorithm.name is "AES-GCM"
664 PASS importedKey.algorithm.length is 192
665 PASS importedKey.usages.join(',') is ""
666 PASS importedKey != clonedKey is true
667 PASS clonedKey.extraProperty is undefined.
668 PASS clonedKey.type is "secret"
669 PASS typeof clonedKey.extractable is 'boolean'
670 PASS clonedKey.extractable is false
671 PASS clonedKey.algorithm.name is "AES-GCM"
672 PASS clonedKey.algorithm.length is 192
673 PASS clonedKey.usages.join(',') is ""
674 Serialized key bytes: ff053f004b0109180018800102030405060708090a0b0c0d0e0f101112 1314151617
675
676 PASS importedKey.extraProperty is "hi"
677 PASS importedKey.type is "secret"
678 PASS typeof importedKey.extractable is 'boolean'
679 PASS importedKey.extractable is false
680 PASS importedKey.algorithm.name is "AES-GCM"
681 PASS importedKey.algorithm.length is 256
682 PASS importedKey.usages.join(',') is ""
683 PASS importedKey != clonedKey is true
684 PASS clonedKey.extraProperty is undefined.
685 PASS clonedKey.type is "secret"
686 PASS typeof clonedKey.extractable is 'boolean'
687 PASS clonedKey.extractable is false
688 PASS clonedKey.algorithm.name is "AES-GCM"
689 PASS clonedKey.algorithm.length is 256
690 PASS clonedKey.usages.join(',') is ""
691 Serialized key bytes: ff053f004b010920002000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
692
693 PASS importedKey.extraProperty is "hi"
694 PASS importedKey.type is "secret"
695 PASS typeof importedKey.extractable is 'boolean'
696 PASS importedKey.extractable is false
697 PASS importedKey.algorithm.name is "AES-GCM"
698 PASS importedKey.algorithm.length is 128
699 PASS importedKey.usages.join(',') is "encrypt"
700 PASS importedKey != clonedKey is true
701 PASS clonedKey.extraProperty is undefined.
702 PASS clonedKey.type is "secret"
703 PASS typeof clonedKey.extractable is 'boolean'
704 PASS clonedKey.extractable is false
705 PASS clonedKey.algorithm.name is "AES-GCM"
706 PASS clonedKey.algorithm.length is 128
707 PASS clonedKey.usages.join(',') is "encrypt"
708 Serialized key bytes: ff053f004b010910021030112233445566778899aabbccddeeff
709
710 PASS importedKey.extraProperty is "hi"
711 PASS importedKey.type is "secret"
712 PASS typeof importedKey.extractable is 'boolean'
713 PASS importedKey.extractable is false
714 PASS importedKey.algorithm.name is "AES-GCM"
715 PASS importedKey.algorithm.length is 192
716 PASS importedKey.usages.join(',') is "encrypt"
717 PASS importedKey != clonedKey is true
718 PASS clonedKey.extraProperty is undefined.
719 PASS clonedKey.type is "secret"
720 PASS typeof clonedKey.extractable is 'boolean'
721 PASS clonedKey.extractable is false
722 PASS clonedKey.algorithm.name is "AES-GCM"
723 PASS clonedKey.algorithm.length is 192
724 PASS clonedKey.usages.join(',') is "encrypt"
725 Serialized key bytes: ff053f004b0109180218800102030405060708090a0b0c0d0e0f101112 1314151617
726
727 PASS importedKey.extraProperty is "hi"
728 PASS importedKey.type is "secret"
729 PASS typeof importedKey.extractable is 'boolean'
730 PASS importedKey.extractable is false
731 PASS importedKey.algorithm.name is "AES-GCM"
732 PASS importedKey.algorithm.length is 256
733 PASS importedKey.usages.join(',') is "encrypt"
734 PASS importedKey != clonedKey is true
735 PASS clonedKey.extraProperty is undefined.
736 PASS clonedKey.type is "secret"
737 PASS typeof clonedKey.extractable is 'boolean'
738 PASS clonedKey.extractable is false
739 PASS clonedKey.algorithm.name is "AES-GCM"
740 PASS clonedKey.algorithm.length is 256
741 PASS clonedKey.usages.join(',') is "encrypt"
742 Serialized key bytes: ff053f004b010920022000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
743
744 PASS importedKey.extraProperty is "hi"
745 PASS importedKey.type is "secret"
746 PASS typeof importedKey.extractable is 'boolean'
747 PASS importedKey.extractable is false
748 PASS importedKey.algorithm.name is "AES-GCM"
749 PASS importedKey.algorithm.length is 128
750 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
751 PASS importedKey != clonedKey is true
752 PASS clonedKey.extraProperty is undefined.
753 PASS clonedKey.type is "secret"
754 PASS typeof clonedKey.extractable is 'boolean'
755 PASS clonedKey.extractable is false
756 PASS clonedKey.algorithm.name is "AES-GCM"
757 PASS clonedKey.algorithm.length is 128
758 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
759 Serialized key bytes: ff053f004b010910441030112233445566778899aabbccddeeff
760
761 PASS importedKey.extraProperty is "hi"
762 PASS importedKey.type is "secret"
763 PASS typeof importedKey.extractable is 'boolean'
764 PASS importedKey.extractable is false
765 PASS importedKey.algorithm.name is "AES-GCM"
766 PASS importedKey.algorithm.length is 192
767 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
768 PASS importedKey != clonedKey is true
769 PASS clonedKey.extraProperty is undefined.
770 PASS clonedKey.type is "secret"
771 PASS typeof clonedKey.extractable is 'boolean'
772 PASS clonedKey.extractable is false
773 PASS clonedKey.algorithm.name is "AES-GCM"
774 PASS clonedKey.algorithm.length is 192
775 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
776 Serialized key bytes: ff053f004b0109184418800102030405060708090a0b0c0d0e0f101112 1314151617
777
778 PASS importedKey.extraProperty is "hi"
779 PASS importedKey.type is "secret"
780 PASS typeof importedKey.extractable is 'boolean'
781 PASS importedKey.extractable is false
782 PASS importedKey.algorithm.name is "AES-GCM"
783 PASS importedKey.algorithm.length is 256
784 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
785 PASS importedKey != clonedKey is true
786 PASS clonedKey.extraProperty is undefined.
787 PASS clonedKey.type is "secret"
788 PASS typeof clonedKey.extractable is 'boolean'
789 PASS clonedKey.extractable is false
790 PASS clonedKey.algorithm.name is "AES-GCM"
791 PASS clonedKey.algorithm.length is 256
792 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
793 Serialized key bytes: ff053f004b010920442000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
794
795 PASS importedKey.extraProperty is "hi"
796 PASS importedKey.type is "secret"
797 PASS typeof importedKey.extractable is 'boolean'
798 PASS importedKey.extractable is false
799 PASS importedKey.algorithm.name is "AES-GCM"
800 PASS importedKey.algorithm.length is 128
801 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
802 PASS importedKey != clonedKey is true
803 PASS clonedKey.extraProperty is undefined.
804 PASS clonedKey.type is "secret"
805 PASS typeof clonedKey.extractable is 'boolean'
806 PASS clonedKey.extractable is false
807 PASS clonedKey.algorithm.name is "AES-GCM"
808 PASS clonedKey.algorithm.length is 128
809 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
810 Serialized key bytes: ff053f004b010910c2011030112233445566778899aabbccddeeff00
811
812 PASS importedKey.extraProperty is "hi"
813 PASS importedKey.type is "secret"
814 PASS typeof importedKey.extractable is 'boolean'
815 PASS importedKey.extractable is false
816 PASS importedKey.algorithm.name is "AES-GCM"
817 PASS importedKey.algorithm.length is 192
818 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
819 PASS importedKey != clonedKey is true
820 PASS clonedKey.extraProperty is undefined.
821 PASS clonedKey.type is "secret"
822 PASS typeof clonedKey.extractable is 'boolean'
823 PASS clonedKey.extractable is false
824 PASS clonedKey.algorithm.name is "AES-GCM"
825 PASS clonedKey.algorithm.length is 192
826 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
827 Serialized key bytes: ff053f004b010918c20118800102030405060708090a0b0c0d0e0f1011 12131415161700
828
829 PASS importedKey.extraProperty is "hi"
830 PASS importedKey.type is "secret"
831 PASS typeof importedKey.extractable is 'boolean'
832 PASS importedKey.extractable is false
833 PASS importedKey.algorithm.name is "AES-GCM"
834 PASS importedKey.algorithm.length is 256
835 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
836 PASS importedKey != clonedKey is true
837 PASS clonedKey.extraProperty is undefined.
838 PASS clonedKey.type is "secret"
839 PASS typeof clonedKey.extractable is 'boolean'
840 PASS clonedKey.extractable is false
841 PASS clonedKey.algorithm.name is "AES-GCM"
842 PASS clonedKey.algorithm.length is 256
843 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
844 Serialized key bytes: ff053f004b010920c2012000112233445546778899aabbccddeeff0001 02030405060708090a0b0c0d0e0f00
845
846 PASS successfullyParsed is true
847
848 TEST COMPLETE
849
OLDNEW
« no previous file with comments | « LayoutTests/crypto/clone-aesKey.html ('k') | LayoutTests/crypto/clone-hmacKey.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698