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

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: fix another comment 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
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.type is "secret"
7 PASS importedKey.extractable is true
8 PASS importedKey.algorithm.name is "AES-CBC"
9 PASS importedKey.algorithm.length is 128
10 PASS importedKey.usages.join(',') is ""
11 Serialized key bytes: ff043f004b010110011030112233445566778899aabbccddeeff
12 PASS clonedKey.type is "secret"
13 PASS clonedKey.extractable is true
14 PASS clonedKey.algorithm.name is "AES-CBC"
15 PASS clonedKey.algorithm.length is 128
16 PASS clonedKey.usages.join(',') is ""
17 PASS importedKey.type is "secret"
18 PASS importedKey.extractable is true
19 PASS importedKey.algorithm.name is "AES-CBC"
20 PASS importedKey.algorithm.length is 192
21 PASS importedKey.usages.join(',') is ""
22 Serialized key bytes: ff043f004b0101180118800102030405060708090a0b0c0d0e0f101112 1314151617
23 PASS clonedKey.type is "secret"
24 PASS clonedKey.extractable is true
25 PASS clonedKey.algorithm.name is "AES-CBC"
26 PASS clonedKey.algorithm.length is 192
27 PASS clonedKey.usages.join(',') is ""
28 PASS importedKey.type is "secret"
29 PASS importedKey.extractable is true
30 PASS importedKey.algorithm.name is "AES-CBC"
31 PASS importedKey.algorithm.length is 256
32 PASS importedKey.usages.join(',') is ""
33 Serialized key bytes: ff043f004b010120012000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
34 PASS clonedKey.type is "secret"
35 PASS clonedKey.extractable is true
36 PASS clonedKey.algorithm.name is "AES-CBC"
37 PASS clonedKey.algorithm.length is 256
38 PASS clonedKey.usages.join(',') is ""
39 PASS importedKey.type is "secret"
40 PASS importedKey.extractable is true
41 PASS importedKey.algorithm.name is "AES-CBC"
42 PASS importedKey.algorithm.length is 128
43 PASS importedKey.usages.join(',') is "encrypt"
44 Serialized key bytes: ff043f004b010110031030112233445566778899aabbccddeeff
45 PASS clonedKey.type is "secret"
46 PASS clonedKey.extractable is true
47 PASS clonedKey.algorithm.name is "AES-CBC"
48 PASS clonedKey.algorithm.length is 128
49 PASS clonedKey.usages.join(',') is "encrypt"
50 PASS importedKey.type is "secret"
51 PASS importedKey.extractable is true
52 PASS importedKey.algorithm.name is "AES-CBC"
53 PASS importedKey.algorithm.length is 192
54 PASS importedKey.usages.join(',') is "encrypt"
55 Serialized key bytes: ff043f004b0101180318800102030405060708090a0b0c0d0e0f101112 1314151617
56 PASS clonedKey.type is "secret"
57 PASS clonedKey.extractable is true
58 PASS clonedKey.algorithm.name is "AES-CBC"
59 PASS clonedKey.algorithm.length is 192
60 PASS clonedKey.usages.join(',') is "encrypt"
61 PASS importedKey.type is "secret"
62 PASS importedKey.extractable is true
63 PASS importedKey.algorithm.name is "AES-CBC"
64 PASS importedKey.algorithm.length is 256
65 PASS importedKey.usages.join(',') is "encrypt"
66 Serialized key bytes: ff043f004b010120032000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
67 PASS clonedKey.type is "secret"
68 PASS clonedKey.extractable is true
69 PASS clonedKey.algorithm.name is "AES-CBC"
70 PASS clonedKey.algorithm.length is 256
71 PASS clonedKey.usages.join(',') is "encrypt"
72 PASS importedKey.type is "secret"
73 PASS importedKey.extractable is true
74 PASS importedKey.algorithm.name is "AES-CBC"
75 PASS importedKey.algorithm.length is 128
76 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
77 Serialized key bytes: ff043f004b010110451030112233445566778899aabbccddeeff
78 PASS clonedKey.type is "secret"
79 PASS clonedKey.extractable is true
80 PASS clonedKey.algorithm.name is "AES-CBC"
81 PASS clonedKey.algorithm.length is 128
82 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
83 PASS importedKey.type is "secret"
84 PASS importedKey.extractable is true
85 PASS importedKey.algorithm.name is "AES-CBC"
86 PASS importedKey.algorithm.length is 192
87 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
88 Serialized key bytes: ff043f004b0101184518800102030405060708090a0b0c0d0e0f101112 1314151617
89 PASS clonedKey.type is "secret"
90 PASS clonedKey.extractable is true
91 PASS clonedKey.algorithm.name is "AES-CBC"
92 PASS clonedKey.algorithm.length is 192
93 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
94 PASS importedKey.type is "secret"
95 PASS importedKey.extractable is true
96 PASS importedKey.algorithm.name is "AES-CBC"
97 PASS importedKey.algorithm.length is 256
98 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
99 Serialized key bytes: ff043f004b010120452000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
100 PASS clonedKey.type is "secret"
101 PASS clonedKey.extractable is true
102 PASS clonedKey.algorithm.name is "AES-CBC"
103 PASS clonedKey.algorithm.length is 256
104 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
105 PASS importedKey.type is "secret"
106 PASS importedKey.extractable is true
107 PASS importedKey.algorithm.name is "AES-CBC"
108 PASS importedKey.algorithm.length is 128
109 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
110 Serialized key bytes: ff043f004b010110c3011030112233445566778899aabbccddeeff00
111 PASS clonedKey.type is "secret"
112 PASS clonedKey.extractable is true
113 PASS clonedKey.algorithm.name is "AES-CBC"
114 PASS clonedKey.algorithm.length is 128
115 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
116 PASS importedKey.type is "secret"
117 PASS importedKey.extractable is true
118 PASS importedKey.algorithm.name is "AES-CBC"
119 PASS importedKey.algorithm.length is 192
120 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
121 Serialized key bytes: ff043f004b010118c30118800102030405060708090a0b0c0d0e0f1011 12131415161700
122 PASS clonedKey.type is "secret"
123 PASS clonedKey.extractable is true
124 PASS clonedKey.algorithm.name is "AES-CBC"
125 PASS clonedKey.algorithm.length is 192
126 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
127 PASS importedKey.type is "secret"
128 PASS importedKey.extractable is true
129 PASS importedKey.algorithm.name is "AES-CBC"
130 PASS importedKey.algorithm.length is 256
131 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
132 Serialized key bytes: ff043f004b010120c3012000112233445546778899aabbccddeeff0001 02030405060708090a0b0c0d0e0f00
133 PASS clonedKey.type is "secret"
134 PASS clonedKey.extractable is true
135 PASS clonedKey.algorithm.name is "AES-CBC"
136 PASS clonedKey.algorithm.length is 256
137 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
138 PASS importedKey.type is "secret"
139 PASS importedKey.extractable is false
140 PASS importedKey.algorithm.name is "AES-CBC"
141 PASS importedKey.algorithm.length is 128
142 PASS importedKey.usages.join(',') is ""
143 Serialized key bytes: ff043f004b010110001030112233445566778899aabbccddeeff
144 PASS clonedKey.type is "secret"
145 PASS clonedKey.extractable is false
146 PASS clonedKey.algorithm.name is "AES-CBC"
147 PASS clonedKey.algorithm.length is 128
148 PASS clonedKey.usages.join(',') is ""
149 PASS importedKey.type is "secret"
150 PASS importedKey.extractable is false
151 PASS importedKey.algorithm.name is "AES-CBC"
152 PASS importedKey.algorithm.length is 192
153 PASS importedKey.usages.join(',') is ""
154 Serialized key bytes: ff043f004b0101180018800102030405060708090a0b0c0d0e0f101112 1314151617
155 PASS clonedKey.type is "secret"
156 PASS clonedKey.extractable is false
157 PASS clonedKey.algorithm.name is "AES-CBC"
158 PASS clonedKey.algorithm.length is 192
159 PASS clonedKey.usages.join(',') is ""
160 PASS importedKey.type is "secret"
161 PASS importedKey.extractable is false
162 PASS importedKey.algorithm.name is "AES-CBC"
163 PASS importedKey.algorithm.length is 256
164 PASS importedKey.usages.join(',') is ""
165 Serialized key bytes: ff043f004b010120002000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
166 PASS clonedKey.type is "secret"
167 PASS clonedKey.extractable is false
168 PASS clonedKey.algorithm.name is "AES-CBC"
169 PASS clonedKey.algorithm.length is 256
170 PASS clonedKey.usages.join(',') is ""
171 PASS importedKey.type is "secret"
172 PASS importedKey.extractable is false
173 PASS importedKey.algorithm.name is "AES-CBC"
174 PASS importedKey.algorithm.length is 128
175 PASS importedKey.usages.join(',') is "encrypt"
176 Serialized key bytes: ff043f004b010110021030112233445566778899aabbccddeeff
177 PASS clonedKey.type is "secret"
178 PASS clonedKey.extractable is false
179 PASS clonedKey.algorithm.name is "AES-CBC"
180 PASS clonedKey.algorithm.length is 128
181 PASS clonedKey.usages.join(',') is "encrypt"
182 PASS importedKey.type is "secret"
183 PASS importedKey.extractable is false
184 PASS importedKey.algorithm.name is "AES-CBC"
185 PASS importedKey.algorithm.length is 192
186 PASS importedKey.usages.join(',') is "encrypt"
187 Serialized key bytes: ff043f004b0101180218800102030405060708090a0b0c0d0e0f101112 1314151617
188 PASS clonedKey.type is "secret"
189 PASS clonedKey.extractable is false
190 PASS clonedKey.algorithm.name is "AES-CBC"
191 PASS clonedKey.algorithm.length is 192
192 PASS clonedKey.usages.join(',') is "encrypt"
193 PASS importedKey.type is "secret"
194 PASS importedKey.extractable is false
195 PASS importedKey.algorithm.name is "AES-CBC"
196 PASS importedKey.algorithm.length is 256
197 PASS importedKey.usages.join(',') is "encrypt"
198 Serialized key bytes: ff043f004b010120022000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
199 PASS clonedKey.type is "secret"
200 PASS clonedKey.extractable is false
201 PASS clonedKey.algorithm.name is "AES-CBC"
202 PASS clonedKey.algorithm.length is 256
203 PASS clonedKey.usages.join(',') is "encrypt"
204 PASS importedKey.type is "secret"
205 PASS importedKey.extractable is false
206 PASS importedKey.algorithm.name is "AES-CBC"
207 PASS importedKey.algorithm.length is 128
208 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
209 Serialized key bytes: ff043f004b010110441030112233445566778899aabbccddeeff
210 PASS clonedKey.type is "secret"
211 PASS clonedKey.extractable is false
212 PASS clonedKey.algorithm.name is "AES-CBC"
213 PASS clonedKey.algorithm.length is 128
214 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
215 PASS importedKey.type is "secret"
216 PASS importedKey.extractable is false
217 PASS importedKey.algorithm.name is "AES-CBC"
218 PASS importedKey.algorithm.length is 192
219 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
220 Serialized key bytes: ff043f004b0101184418800102030405060708090a0b0c0d0e0f101112 1314151617
221 PASS clonedKey.type is "secret"
222 PASS clonedKey.extractable is false
223 PASS clonedKey.algorithm.name is "AES-CBC"
224 PASS clonedKey.algorithm.length is 192
225 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
226 PASS importedKey.type is "secret"
227 PASS importedKey.extractable is false
228 PASS importedKey.algorithm.name is "AES-CBC"
229 PASS importedKey.algorithm.length is 256
230 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
231 Serialized key bytes: ff043f004b010120442000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
232 PASS clonedKey.type is "secret"
233 PASS clonedKey.extractable is false
234 PASS clonedKey.algorithm.name is "AES-CBC"
235 PASS clonedKey.algorithm.length is 256
236 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
237 PASS importedKey.type is "secret"
238 PASS importedKey.extractable is false
239 PASS importedKey.algorithm.name is "AES-CBC"
240 PASS importedKey.algorithm.length is 128
241 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
242 Serialized key bytes: ff043f004b010110c2011030112233445566778899aabbccddeeff00
243 PASS clonedKey.type is "secret"
244 PASS clonedKey.extractable is false
245 PASS clonedKey.algorithm.name is "AES-CBC"
246 PASS clonedKey.algorithm.length is 128
247 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
248 PASS importedKey.type is "secret"
249 PASS importedKey.extractable is false
250 PASS importedKey.algorithm.name is "AES-CBC"
251 PASS importedKey.algorithm.length is 192
252 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
253 Serialized key bytes: ff043f004b010118c20118800102030405060708090a0b0c0d0e0f1011 12131415161700
254 PASS clonedKey.type is "secret"
255 PASS clonedKey.extractable is false
256 PASS clonedKey.algorithm.name is "AES-CBC"
257 PASS clonedKey.algorithm.length is 192
258 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
259 PASS importedKey.type is "secret"
260 PASS importedKey.extractable is false
261 PASS importedKey.algorithm.name is "AES-CBC"
262 PASS importedKey.algorithm.length is 256
263 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
264 Serialized key bytes: ff043f004b010120c2012000112233445546778899aabbccddeeff0001 02030405060708090a0b0c0d0e0f00
265 PASS clonedKey.type is "secret"
266 PASS clonedKey.extractable is false
267 PASS clonedKey.algorithm.name is "AES-CBC"
268 PASS clonedKey.algorithm.length is 256
269 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
270 PASS importedKey.type is "secret"
271 PASS importedKey.extractable is true
272 PASS importedKey.algorithm.name is "AES-GCM"
273 PASS importedKey.algorithm.length is 128
274 PASS importedKey.usages.join(',') is ""
275 Serialized key bytes: ff043f004b010a10011030112233445566778899aabbccddeeff
276 PASS clonedKey.type is "secret"
277 PASS clonedKey.extractable is true
278 PASS clonedKey.algorithm.name is "AES-GCM"
279 PASS clonedKey.algorithm.length is 128
280 PASS clonedKey.usages.join(',') is ""
281 PASS importedKey.type is "secret"
282 PASS importedKey.extractable is true
283 PASS importedKey.algorithm.name is "AES-GCM"
284 PASS importedKey.algorithm.length is 192
285 PASS importedKey.usages.join(',') is ""
286 Serialized key bytes: ff043f004b010a180118800102030405060708090a0b0c0d0e0f101112 1314151617
287 PASS clonedKey.type is "secret"
288 PASS clonedKey.extractable is true
289 PASS clonedKey.algorithm.name is "AES-GCM"
290 PASS clonedKey.algorithm.length is 192
291 PASS clonedKey.usages.join(',') is ""
292 PASS importedKey.type is "secret"
293 PASS importedKey.extractable is true
294 PASS importedKey.algorithm.name is "AES-GCM"
295 PASS importedKey.algorithm.length is 256
296 PASS importedKey.usages.join(',') is ""
297 Serialized key bytes: ff043f004b010a20012000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
298 PASS clonedKey.type is "secret"
299 PASS clonedKey.extractable is true
300 PASS clonedKey.algorithm.name is "AES-GCM"
301 PASS clonedKey.algorithm.length is 256
302 PASS clonedKey.usages.join(',') is ""
303 PASS importedKey.type is "secret"
304 PASS importedKey.extractable is true
305 PASS importedKey.algorithm.name is "AES-GCM"
306 PASS importedKey.algorithm.length is 128
307 PASS importedKey.usages.join(',') is "encrypt"
308 Serialized key bytes: ff043f004b010a10031030112233445566778899aabbccddeeff
309 PASS clonedKey.type is "secret"
310 PASS clonedKey.extractable is true
311 PASS clonedKey.algorithm.name is "AES-GCM"
312 PASS clonedKey.algorithm.length is 128
313 PASS clonedKey.usages.join(',') is "encrypt"
314 PASS importedKey.type is "secret"
315 PASS importedKey.extractable is true
316 PASS importedKey.algorithm.name is "AES-GCM"
317 PASS importedKey.algorithm.length is 192
318 PASS importedKey.usages.join(',') is "encrypt"
319 Serialized key bytes: ff043f004b010a180318800102030405060708090a0b0c0d0e0f101112 1314151617
320 PASS clonedKey.type is "secret"
321 PASS clonedKey.extractable is true
322 PASS clonedKey.algorithm.name is "AES-GCM"
323 PASS clonedKey.algorithm.length is 192
324 PASS clonedKey.usages.join(',') is "encrypt"
325 PASS importedKey.type is "secret"
326 PASS importedKey.extractable is true
327 PASS importedKey.algorithm.name is "AES-GCM"
328 PASS importedKey.algorithm.length is 256
329 PASS importedKey.usages.join(',') is "encrypt"
330 Serialized key bytes: ff043f004b010a20032000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
331 PASS clonedKey.type is "secret"
332 PASS clonedKey.extractable is true
333 PASS clonedKey.algorithm.name is "AES-GCM"
334 PASS clonedKey.algorithm.length is 256
335 PASS clonedKey.usages.join(',') is "encrypt"
336 PASS importedKey.type is "secret"
337 PASS importedKey.extractable is true
338 PASS importedKey.algorithm.name is "AES-GCM"
339 PASS importedKey.algorithm.length is 128
340 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
341 Serialized key bytes: ff043f004b010a10451030112233445566778899aabbccddeeff
342 PASS clonedKey.type is "secret"
343 PASS clonedKey.extractable is true
344 PASS clonedKey.algorithm.name is "AES-GCM"
345 PASS clonedKey.algorithm.length is 128
346 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
347 PASS importedKey.type is "secret"
348 PASS importedKey.extractable is true
349 PASS importedKey.algorithm.name is "AES-GCM"
350 PASS importedKey.algorithm.length is 192
351 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
352 Serialized key bytes: ff043f004b010a184518800102030405060708090a0b0c0d0e0f101112 1314151617
353 PASS clonedKey.type is "secret"
354 PASS clonedKey.extractable is true
355 PASS clonedKey.algorithm.name is "AES-GCM"
356 PASS clonedKey.algorithm.length is 192
357 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
358 PASS importedKey.type is "secret"
359 PASS importedKey.extractable is true
360 PASS importedKey.algorithm.name is "AES-GCM"
361 PASS importedKey.algorithm.length is 256
362 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
363 Serialized key bytes: ff043f004b010a20452000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
364 PASS clonedKey.type is "secret"
365 PASS clonedKey.extractable is true
366 PASS clonedKey.algorithm.name is "AES-GCM"
367 PASS clonedKey.algorithm.length is 256
368 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
369 PASS importedKey.type is "secret"
370 PASS importedKey.extractable is true
371 PASS importedKey.algorithm.name is "AES-GCM"
372 PASS importedKey.algorithm.length is 128
373 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
374 Serialized key bytes: ff043f004b010a10c3011030112233445566778899aabbccddeeff00
375 PASS clonedKey.type is "secret"
376 PASS clonedKey.extractable is true
377 PASS clonedKey.algorithm.name is "AES-GCM"
378 PASS clonedKey.algorithm.length is 128
379 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
380 PASS importedKey.type is "secret"
381 PASS importedKey.extractable is true
382 PASS importedKey.algorithm.name is "AES-GCM"
383 PASS importedKey.algorithm.length is 192
384 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
385 Serialized key bytes: ff043f004b010a18c30118800102030405060708090a0b0c0d0e0f1011 12131415161700
386 PASS clonedKey.type is "secret"
387 PASS clonedKey.extractable is true
388 PASS clonedKey.algorithm.name is "AES-GCM"
389 PASS clonedKey.algorithm.length is 192
390 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
391 PASS importedKey.type is "secret"
392 PASS importedKey.extractable is true
393 PASS importedKey.algorithm.name is "AES-GCM"
394 PASS importedKey.algorithm.length is 256
395 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
396 Serialized key bytes: ff043f004b010a20c3012000112233445546778899aabbccddeeff0001 02030405060708090a0b0c0d0e0f00
397 PASS clonedKey.type is "secret"
398 PASS clonedKey.extractable is true
399 PASS clonedKey.algorithm.name is "AES-GCM"
400 PASS clonedKey.algorithm.length is 256
401 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
402 PASS importedKey.type is "secret"
403 PASS importedKey.extractable is false
404 PASS importedKey.algorithm.name is "AES-GCM"
405 PASS importedKey.algorithm.length is 128
406 PASS importedKey.usages.join(',') is ""
407 Serialized key bytes: ff043f004b010a10001030112233445566778899aabbccddeeff
408 PASS clonedKey.type is "secret"
409 PASS clonedKey.extractable is false
410 PASS clonedKey.algorithm.name is "AES-GCM"
411 PASS clonedKey.algorithm.length is 128
412 PASS clonedKey.usages.join(',') is ""
413 PASS importedKey.type is "secret"
414 PASS importedKey.extractable is false
415 PASS importedKey.algorithm.name is "AES-GCM"
416 PASS importedKey.algorithm.length is 192
417 PASS importedKey.usages.join(',') is ""
418 Serialized key bytes: ff043f004b010a180018800102030405060708090a0b0c0d0e0f101112 1314151617
419 PASS clonedKey.type is "secret"
420 PASS clonedKey.extractable is false
421 PASS clonedKey.algorithm.name is "AES-GCM"
422 PASS clonedKey.algorithm.length is 192
423 PASS clonedKey.usages.join(',') is ""
424 PASS importedKey.type is "secret"
425 PASS importedKey.extractable is false
426 PASS importedKey.algorithm.name is "AES-GCM"
427 PASS importedKey.algorithm.length is 256
428 PASS importedKey.usages.join(',') is ""
429 Serialized key bytes: ff043f004b010a20002000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
430 PASS clonedKey.type is "secret"
431 PASS clonedKey.extractable is false
432 PASS clonedKey.algorithm.name is "AES-GCM"
433 PASS clonedKey.algorithm.length is 256
434 PASS clonedKey.usages.join(',') is ""
435 PASS importedKey.type is "secret"
436 PASS importedKey.extractable is false
437 PASS importedKey.algorithm.name is "AES-GCM"
438 PASS importedKey.algorithm.length is 128
439 PASS importedKey.usages.join(',') is "encrypt"
440 Serialized key bytes: ff043f004b010a10021030112233445566778899aabbccddeeff
441 PASS clonedKey.type is "secret"
442 PASS clonedKey.extractable is false
443 PASS clonedKey.algorithm.name is "AES-GCM"
444 PASS clonedKey.algorithm.length is 128
445 PASS clonedKey.usages.join(',') is "encrypt"
446 PASS importedKey.type is "secret"
447 PASS importedKey.extractable is false
448 PASS importedKey.algorithm.name is "AES-GCM"
449 PASS importedKey.algorithm.length is 192
450 PASS importedKey.usages.join(',') is "encrypt"
451 Serialized key bytes: ff043f004b010a180218800102030405060708090a0b0c0d0e0f101112 1314151617
452 PASS clonedKey.type is "secret"
453 PASS clonedKey.extractable is false
454 PASS clonedKey.algorithm.name is "AES-GCM"
455 PASS clonedKey.algorithm.length is 192
456 PASS clonedKey.usages.join(',') is "encrypt"
457 PASS importedKey.type is "secret"
458 PASS importedKey.extractable is false
459 PASS importedKey.algorithm.name is "AES-GCM"
460 PASS importedKey.algorithm.length is 256
461 PASS importedKey.usages.join(',') is "encrypt"
462 Serialized key bytes: ff043f004b010a20022000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
463 PASS clonedKey.type is "secret"
464 PASS clonedKey.extractable is false
465 PASS clonedKey.algorithm.name is "AES-GCM"
466 PASS clonedKey.algorithm.length is 256
467 PASS clonedKey.usages.join(',') is "encrypt"
468 PASS importedKey.type is "secret"
469 PASS importedKey.extractable is false
470 PASS importedKey.algorithm.name is "AES-GCM"
471 PASS importedKey.algorithm.length is 128
472 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
473 Serialized key bytes: ff043f004b010a10441030112233445566778899aabbccddeeff
474 PASS clonedKey.type is "secret"
475 PASS clonedKey.extractable is false
476 PASS clonedKey.algorithm.name is "AES-GCM"
477 PASS clonedKey.algorithm.length is 128
478 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
479 PASS importedKey.type is "secret"
480 PASS importedKey.extractable is false
481 PASS importedKey.algorithm.name is "AES-GCM"
482 PASS importedKey.algorithm.length is 192
483 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
484 Serialized key bytes: ff043f004b010a184418800102030405060708090a0b0c0d0e0f101112 1314151617
485 PASS clonedKey.type is "secret"
486 PASS clonedKey.extractable is false
487 PASS clonedKey.algorithm.name is "AES-GCM"
488 PASS clonedKey.algorithm.length is 192
489 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
490 PASS importedKey.type is "secret"
491 PASS importedKey.extractable is false
492 PASS importedKey.algorithm.name is "AES-GCM"
493 PASS importedKey.algorithm.length is 256
494 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
495 Serialized key bytes: ff043f004b010a20442000112233445546778899aabbccddeeff000102 030405060708090a0b0c0d0e0f
496 PASS clonedKey.type is "secret"
497 PASS clonedKey.extractable is false
498 PASS clonedKey.algorithm.name is "AES-GCM"
499 PASS clonedKey.algorithm.length is 256
500 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
501 PASS importedKey.type is "secret"
502 PASS importedKey.extractable is false
503 PASS importedKey.algorithm.name is "AES-GCM"
504 PASS importedKey.algorithm.length is 128
505 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
506 Serialized key bytes: ff043f004b010a10c2011030112233445566778899aabbccddeeff00
507 PASS clonedKey.type is "secret"
508 PASS clonedKey.extractable is false
509 PASS clonedKey.algorithm.name is "AES-GCM"
510 PASS clonedKey.algorithm.length is 128
511 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
512 PASS importedKey.type is "secret"
513 PASS importedKey.extractable is false
514 PASS importedKey.algorithm.name is "AES-GCM"
515 PASS importedKey.algorithm.length is 192
516 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
517 Serialized key bytes: ff043f004b010a18c20118800102030405060708090a0b0c0d0e0f1011 12131415161700
518 PASS clonedKey.type is "secret"
519 PASS clonedKey.extractable is false
520 PASS clonedKey.algorithm.name is "AES-GCM"
521 PASS clonedKey.algorithm.length is 192
522 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
523 PASS importedKey.type is "secret"
524 PASS importedKey.extractable is false
525 PASS importedKey.algorithm.name is "AES-GCM"
526 PASS importedKey.algorithm.length is 256
527 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
528 Serialized key bytes: ff043f004b010a20c2012000112233445546778899aabbccddeeff0001 02030405060708090a0b0c0d0e0f00
529 PASS clonedKey.type is "secret"
530 PASS clonedKey.extractable is false
531 PASS clonedKey.algorithm.name is "AES-GCM"
532 PASS clonedKey.algorithm.length is 256
533 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
534 PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was
535 PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f101112131415161 7] and was
536 PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060 708090a0b0c0d0e0f] and was
537 PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was
538 PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f101112131415161 7] and was
539 PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060 708090a0b0c0d0e0f] and was
540 PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was
541 PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f101112131415161 7] and was
542 PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060 708090a0b0c0d0e0f] and was
543 PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was
544 PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f101112131415161 7] and was
545 PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060 708090a0b0c0d0e0f] and was
546 PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was
547 PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f101112131415161 7] and was
548 PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060 708090a0b0c0d0e0f] and was
549 PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was
550 PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f101112131415161 7] and was
551 PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060 708090a0b0c0d0e0f] and was
552 PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was
553 PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f101112131415161 7] and was
554 PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060 708090a0b0c0d0e0f] and was
555 PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was
556 PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f101112131415161 7] and was
557 PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060 708090a0b0c0d0e0f] and was
558 PASS successfullyParsed is true
559
560 TEST COMPLETE
561
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698