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

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

Issue 325323004: [webcrypto] Remove support for AES 192-bit keys (1 of 2) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/jwk-export-use-values.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Tests structured cloning of AES keys 1 Tests structured cloning of AES keys
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS importedKey.extraProperty is "hi" 6 PASS importedKey.extraProperty is "hi"
7 PASS importedKey.type is "secret" 7 PASS importedKey.type is "secret"
8 PASS typeof importedKey.extractable is 'boolean' 8 PASS typeof importedKey.extractable is 'boolean'
9 PASS importedKey.extractable is true 9 PASS importedKey.extractable is true
10 PASS importedKey.algorithm.name is "AES-CBC" 10 PASS importedKey.algorithm.name is "AES-CBC"
11 PASS importedKey.algorithm.length is 128 11 PASS importedKey.algorithm.length is 128
12 PASS importedKey.usages.join(',') is "" 12 PASS importedKey.usages.join(',') is ""
13 PASS importedKey is not clonedKey 13 PASS importedKey is not clonedKey
14 PASS clonedKey.extraProperty is undefined. 14 PASS clonedKey.extraProperty is undefined.
15 PASS clonedKey.type is "secret" 15 PASS clonedKey.type is "secret"
16 PASS typeof clonedKey.extractable is 'boolean' 16 PASS typeof clonedKey.extractable is 'boolean'
17 PASS clonedKey.extractable is true 17 PASS clonedKey.extractable is true
18 PASS clonedKey.algorithm.name is "AES-CBC" 18 PASS clonedKey.algorithm.name is "AES-CBC"
19 PASS clonedKey.algorithm.length is 128 19 PASS clonedKey.algorithm.length is 128
20 PASS clonedKey.usages.join(',') is "" 20 PASS clonedKey.usages.join(',') is ""
21 Serialized key bytes: 3f004b010110011030112233445566778899aabbccddeeff 21 Serialized key bytes: 3f004b010110011030112233445566778899aabbccddeeff
22 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was 22 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
23 23
24 PASS importedKey.extraProperty is "hi" 24 PASS importedKey.extraProperty is "hi"
25 PASS importedKey.type is "secret" 25 PASS importedKey.type is "secret"
26 PASS typeof importedKey.extractable is 'boolean' 26 PASS typeof importedKey.extractable is 'boolean'
27 PASS importedKey.extractable is true 27 PASS importedKey.extractable is true
28 PASS importedKey.algorithm.name is "AES-CBC" 28 PASS importedKey.algorithm.name is "AES-CBC"
29 PASS importedKey.algorithm.length is 192
30 PASS importedKey.usages.join(',') is ""
31 PASS importedKey is not clonedKey
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: 3f004b0101180118800102030405060708090a0b0c0d0e0f1011121314 151617
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 29 PASS importedKey.algorithm.length is 256
48 PASS importedKey.usages.join(',') is "" 30 PASS importedKey.usages.join(',') is ""
49 PASS importedKey is not clonedKey 31 PASS importedKey is not clonedKey
50 PASS clonedKey.extraProperty is undefined. 32 PASS clonedKey.extraProperty is undefined.
51 PASS clonedKey.type is "secret" 33 PASS clonedKey.type is "secret"
52 PASS typeof clonedKey.extractable is 'boolean' 34 PASS typeof clonedKey.extractable is 'boolean'
53 PASS clonedKey.extractable is true 35 PASS clonedKey.extractable is true
54 PASS clonedKey.algorithm.name is "AES-CBC" 36 PASS clonedKey.algorithm.name is "AES-CBC"
55 PASS clonedKey.algorithm.length is 256 37 PASS clonedKey.algorithm.length is 256
56 PASS clonedKey.usages.join(',') is "" 38 PASS clonedKey.usages.join(',') is ""
(...skipping 16 matching lines...) Expand all
73 PASS clonedKey.algorithm.length is 128 55 PASS clonedKey.algorithm.length is 128
74 PASS clonedKey.usages.join(',') is "encrypt" 56 PASS clonedKey.usages.join(',') is "encrypt"
75 Serialized key bytes: 3f004b010110031030112233445566778899aabbccddeeff 57 Serialized key bytes: 3f004b010110031030112233445566778899aabbccddeeff
76 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was 58 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
77 59
78 PASS importedKey.extraProperty is "hi" 60 PASS importedKey.extraProperty is "hi"
79 PASS importedKey.type is "secret" 61 PASS importedKey.type is "secret"
80 PASS typeof importedKey.extractable is 'boolean' 62 PASS typeof importedKey.extractable is 'boolean'
81 PASS importedKey.extractable is true 63 PASS importedKey.extractable is true
82 PASS importedKey.algorithm.name is "AES-CBC" 64 PASS importedKey.algorithm.name is "AES-CBC"
83 PASS importedKey.algorithm.length is 192
84 PASS importedKey.usages.join(',') is "encrypt"
85 PASS importedKey is not clonedKey
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: 3f004b0101180318800102030405060708090a0b0c0d0e0f1011121314 151617
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 65 PASS importedKey.algorithm.length is 256
102 PASS importedKey.usages.join(',') is "encrypt" 66 PASS importedKey.usages.join(',') is "encrypt"
103 PASS importedKey is not clonedKey 67 PASS importedKey is not clonedKey
104 PASS clonedKey.extraProperty is undefined. 68 PASS clonedKey.extraProperty is undefined.
105 PASS clonedKey.type is "secret" 69 PASS clonedKey.type is "secret"
106 PASS typeof clonedKey.extractable is 'boolean' 70 PASS typeof clonedKey.extractable is 'boolean'
107 PASS clonedKey.extractable is true 71 PASS clonedKey.extractable is true
108 PASS clonedKey.algorithm.name is "AES-CBC" 72 PASS clonedKey.algorithm.name is "AES-CBC"
109 PASS clonedKey.algorithm.length is 256 73 PASS clonedKey.algorithm.length is 256
110 PASS clonedKey.usages.join(',') is "encrypt" 74 PASS clonedKey.usages.join(',') is "encrypt"
(...skipping 16 matching lines...) Expand all
127 PASS clonedKey.algorithm.length is 128 91 PASS clonedKey.algorithm.length is 128
128 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" 92 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
129 Serialized key bytes: 3f004b010110451030112233445566778899aabbccddeeff 93 Serialized key bytes: 3f004b010110451030112233445566778899aabbccddeeff
130 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was 94 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
131 95
132 PASS importedKey.extraProperty is "hi" 96 PASS importedKey.extraProperty is "hi"
133 PASS importedKey.type is "secret" 97 PASS importedKey.type is "secret"
134 PASS typeof importedKey.extractable is 'boolean' 98 PASS typeof importedKey.extractable is 'boolean'
135 PASS importedKey.extractable is true 99 PASS importedKey.extractable is true
136 PASS importedKey.algorithm.name is "AES-CBC" 100 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 is not clonedKey
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: 3f004b0101184518800102030405060708090a0b0c0d0e0f1011121314 151617
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 101 PASS importedKey.algorithm.length is 256
156 PASS importedKey.usages.join(',') is "decrypt,wrapKey" 102 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
157 PASS importedKey is not clonedKey 103 PASS importedKey is not clonedKey
158 PASS clonedKey.extraProperty is undefined. 104 PASS clonedKey.extraProperty is undefined.
159 PASS clonedKey.type is "secret" 105 PASS clonedKey.type is "secret"
160 PASS typeof clonedKey.extractable is 'boolean' 106 PASS typeof clonedKey.extractable is 'boolean'
161 PASS clonedKey.extractable is true 107 PASS clonedKey.extractable is true
162 PASS clonedKey.algorithm.name is "AES-CBC" 108 PASS clonedKey.algorithm.name is "AES-CBC"
163 PASS clonedKey.algorithm.length is 256 109 PASS clonedKey.algorithm.length is 256
164 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" 110 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
(...skipping 16 matching lines...) Expand all
181 PASS clonedKey.algorithm.length is 128 127 PASS clonedKey.algorithm.length is 128
182 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" 128 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
183 Serialized key bytes: 3f004b010110c3011030112233445566778899aabbccddeeff00 129 Serialized key bytes: 3f004b010110c3011030112233445566778899aabbccddeeff00
184 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was 130 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
185 131
186 PASS importedKey.extraProperty is "hi" 132 PASS importedKey.extraProperty is "hi"
187 PASS importedKey.type is "secret" 133 PASS importedKey.type is "secret"
188 PASS typeof importedKey.extractable is 'boolean' 134 PASS typeof importedKey.extractable is 'boolean'
189 PASS importedKey.extractable is true 135 PASS importedKey.extractable is true
190 PASS importedKey.algorithm.name is "AES-CBC" 136 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 is not clonedKey
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: 3f004b010118c30118800102030405060708090a0b0c0d0e0f10111213 1415161700
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 137 PASS importedKey.algorithm.length is 256
210 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" 138 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
211 PASS importedKey is not clonedKey 139 PASS importedKey is not clonedKey
212 PASS clonedKey.extraProperty is undefined. 140 PASS clonedKey.extraProperty is undefined.
213 PASS clonedKey.type is "secret" 141 PASS clonedKey.type is "secret"
214 PASS typeof clonedKey.extractable is 'boolean' 142 PASS typeof clonedKey.extractable is 'boolean'
215 PASS clonedKey.extractable is true 143 PASS clonedKey.extractable is true
216 PASS clonedKey.algorithm.name is "AES-CBC" 144 PASS clonedKey.algorithm.name is "AES-CBC"
217 PASS clonedKey.algorithm.length is 256 145 PASS clonedKey.algorithm.length is 256
218 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" 146 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
(...skipping 15 matching lines...) Expand all
234 PASS clonedKey.algorithm.name is "AES-CBC" 162 PASS clonedKey.algorithm.name is "AES-CBC"
235 PASS clonedKey.algorithm.length is 128 163 PASS clonedKey.algorithm.length is 128
236 PASS clonedKey.usages.join(',') is "" 164 PASS clonedKey.usages.join(',') is ""
237 Serialized key bytes: 3f004b010110001030112233445566778899aabbccddeeff 165 Serialized key bytes: 3f004b010110001030112233445566778899aabbccddeeff
238 166
239 PASS importedKey.extraProperty is "hi" 167 PASS importedKey.extraProperty is "hi"
240 PASS importedKey.type is "secret" 168 PASS importedKey.type is "secret"
241 PASS typeof importedKey.extractable is 'boolean' 169 PASS typeof importedKey.extractable is 'boolean'
242 PASS importedKey.extractable is false 170 PASS importedKey.extractable is false
243 PASS importedKey.algorithm.name is "AES-CBC" 171 PASS importedKey.algorithm.name is "AES-CBC"
244 PASS importedKey.algorithm.length is 192
245 PASS importedKey.usages.join(',') is ""
246 PASS importedKey is not clonedKey
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: 3f004b0101180018800102030405060708090a0b0c0d0e0f1011121314 151617
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 172 PASS importedKey.algorithm.length is 256
262 PASS importedKey.usages.join(',') is "" 173 PASS importedKey.usages.join(',') is ""
263 PASS importedKey is not clonedKey 174 PASS importedKey is not clonedKey
264 PASS clonedKey.extraProperty is undefined. 175 PASS clonedKey.extraProperty is undefined.
265 PASS clonedKey.type is "secret" 176 PASS clonedKey.type is "secret"
266 PASS typeof clonedKey.extractable is 'boolean' 177 PASS typeof clonedKey.extractable is 'boolean'
267 PASS clonedKey.extractable is false 178 PASS clonedKey.extractable is false
268 PASS clonedKey.algorithm.name is "AES-CBC" 179 PASS clonedKey.algorithm.name is "AES-CBC"
269 PASS clonedKey.algorithm.length is 256 180 PASS clonedKey.algorithm.length is 256
270 PASS clonedKey.usages.join(',') is "" 181 PASS clonedKey.usages.join(',') is ""
(...skipping 14 matching lines...) Expand all
285 PASS clonedKey.algorithm.name is "AES-CBC" 196 PASS clonedKey.algorithm.name is "AES-CBC"
286 PASS clonedKey.algorithm.length is 128 197 PASS clonedKey.algorithm.length is 128
287 PASS clonedKey.usages.join(',') is "encrypt" 198 PASS clonedKey.usages.join(',') is "encrypt"
288 Serialized key bytes: 3f004b010110021030112233445566778899aabbccddeeff 199 Serialized key bytes: 3f004b010110021030112233445566778899aabbccddeeff
289 200
290 PASS importedKey.extraProperty is "hi" 201 PASS importedKey.extraProperty is "hi"
291 PASS importedKey.type is "secret" 202 PASS importedKey.type is "secret"
292 PASS typeof importedKey.extractable is 'boolean' 203 PASS typeof importedKey.extractable is 'boolean'
293 PASS importedKey.extractable is false 204 PASS importedKey.extractable is false
294 PASS importedKey.algorithm.name is "AES-CBC" 205 PASS importedKey.algorithm.name is "AES-CBC"
295 PASS importedKey.algorithm.length is 192
296 PASS importedKey.usages.join(',') is "encrypt"
297 PASS importedKey is not clonedKey
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: 3f004b0101180218800102030405060708090a0b0c0d0e0f1011121314 151617
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 206 PASS importedKey.algorithm.length is 256
313 PASS importedKey.usages.join(',') is "encrypt" 207 PASS importedKey.usages.join(',') is "encrypt"
314 PASS importedKey is not clonedKey 208 PASS importedKey is not clonedKey
315 PASS clonedKey.extraProperty is undefined. 209 PASS clonedKey.extraProperty is undefined.
316 PASS clonedKey.type is "secret" 210 PASS clonedKey.type is "secret"
317 PASS typeof clonedKey.extractable is 'boolean' 211 PASS typeof clonedKey.extractable is 'boolean'
318 PASS clonedKey.extractable is false 212 PASS clonedKey.extractable is false
319 PASS clonedKey.algorithm.name is "AES-CBC" 213 PASS clonedKey.algorithm.name is "AES-CBC"
320 PASS clonedKey.algorithm.length is 256 214 PASS clonedKey.algorithm.length is 256
321 PASS clonedKey.usages.join(',') is "encrypt" 215 PASS clonedKey.usages.join(',') is "encrypt"
(...skipping 14 matching lines...) Expand all
336 PASS clonedKey.algorithm.name is "AES-CBC" 230 PASS clonedKey.algorithm.name is "AES-CBC"
337 PASS clonedKey.algorithm.length is 128 231 PASS clonedKey.algorithm.length is 128
338 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" 232 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
339 Serialized key bytes: 3f004b010110441030112233445566778899aabbccddeeff 233 Serialized key bytes: 3f004b010110441030112233445566778899aabbccddeeff
340 234
341 PASS importedKey.extraProperty is "hi" 235 PASS importedKey.extraProperty is "hi"
342 PASS importedKey.type is "secret" 236 PASS importedKey.type is "secret"
343 PASS typeof importedKey.extractable is 'boolean' 237 PASS typeof importedKey.extractable is 'boolean'
344 PASS importedKey.extractable is false 238 PASS importedKey.extractable is false
345 PASS importedKey.algorithm.name is "AES-CBC" 239 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 is not clonedKey
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: 3f004b0101184418800102030405060708090a0b0c0d0e0f1011121314 151617
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 240 PASS importedKey.algorithm.length is 256
364 PASS importedKey.usages.join(',') is "decrypt,wrapKey" 241 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
365 PASS importedKey is not clonedKey 242 PASS importedKey is not clonedKey
366 PASS clonedKey.extraProperty is undefined. 243 PASS clonedKey.extraProperty is undefined.
367 PASS clonedKey.type is "secret" 244 PASS clonedKey.type is "secret"
368 PASS typeof clonedKey.extractable is 'boolean' 245 PASS typeof clonedKey.extractable is 'boolean'
369 PASS clonedKey.extractable is false 246 PASS clonedKey.extractable is false
370 PASS clonedKey.algorithm.name is "AES-CBC" 247 PASS clonedKey.algorithm.name is "AES-CBC"
371 PASS clonedKey.algorithm.length is 256 248 PASS clonedKey.algorithm.length is 256
372 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" 249 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
(...skipping 14 matching lines...) Expand all
387 PASS clonedKey.algorithm.name is "AES-CBC" 264 PASS clonedKey.algorithm.name is "AES-CBC"
388 PASS clonedKey.algorithm.length is 128 265 PASS clonedKey.algorithm.length is 128
389 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" 266 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
390 Serialized key bytes: 3f004b010110c2011030112233445566778899aabbccddeeff00 267 Serialized key bytes: 3f004b010110c2011030112233445566778899aabbccddeeff00
391 268
392 PASS importedKey.extraProperty is "hi" 269 PASS importedKey.extraProperty is "hi"
393 PASS importedKey.type is "secret" 270 PASS importedKey.type is "secret"
394 PASS typeof importedKey.extractable is 'boolean' 271 PASS typeof importedKey.extractable is 'boolean'
395 PASS importedKey.extractable is false 272 PASS importedKey.extractable is false
396 PASS importedKey.algorithm.name is "AES-CBC" 273 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 is not clonedKey
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: 3f004b010118c20118800102030405060708090a0b0c0d0e0f10111213 1415161700
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 274 PASS importedKey.algorithm.length is 256
415 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" 275 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
416 PASS importedKey is not clonedKey 276 PASS importedKey is not clonedKey
417 PASS clonedKey.extraProperty is undefined. 277 PASS clonedKey.extraProperty is undefined.
418 PASS clonedKey.type is "secret" 278 PASS clonedKey.type is "secret"
419 PASS typeof clonedKey.extractable is 'boolean' 279 PASS typeof clonedKey.extractable is 'boolean'
420 PASS clonedKey.extractable is false 280 PASS clonedKey.extractable is false
421 PASS clonedKey.algorithm.name is "AES-CBC" 281 PASS clonedKey.algorithm.name is "AES-CBC"
422 PASS clonedKey.algorithm.length is 256 282 PASS clonedKey.algorithm.length is 256
423 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" 283 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
(...skipping 15 matching lines...) Expand all
439 PASS clonedKey.algorithm.length is 128 299 PASS clonedKey.algorithm.length is 128
440 PASS clonedKey.usages.join(',') is "" 300 PASS clonedKey.usages.join(',') is ""
441 Serialized key bytes: 3f004b010910011030112233445566778899aabbccddeeff 301 Serialized key bytes: 3f004b010910011030112233445566778899aabbccddeeff
442 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was 302 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
443 303
444 PASS importedKey.extraProperty is "hi" 304 PASS importedKey.extraProperty is "hi"
445 PASS importedKey.type is "secret" 305 PASS importedKey.type is "secret"
446 PASS typeof importedKey.extractable is 'boolean' 306 PASS typeof importedKey.extractable is 'boolean'
447 PASS importedKey.extractable is true 307 PASS importedKey.extractable is true
448 PASS importedKey.algorithm.name is "AES-GCM" 308 PASS importedKey.algorithm.name is "AES-GCM"
449 PASS importedKey.algorithm.length is 192
450 PASS importedKey.usages.join(',') is ""
451 PASS importedKey is not clonedKey
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: 3f004b0109180118800102030405060708090a0b0c0d0e0f1011121314 151617
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 309 PASS importedKey.algorithm.length is 256
468 PASS importedKey.usages.join(',') is "" 310 PASS importedKey.usages.join(',') is ""
469 PASS importedKey is not clonedKey 311 PASS importedKey is not clonedKey
470 PASS clonedKey.extraProperty is undefined. 312 PASS clonedKey.extraProperty is undefined.
471 PASS clonedKey.type is "secret" 313 PASS clonedKey.type is "secret"
472 PASS typeof clonedKey.extractable is 'boolean' 314 PASS typeof clonedKey.extractable is 'boolean'
473 PASS clonedKey.extractable is true 315 PASS clonedKey.extractable is true
474 PASS clonedKey.algorithm.name is "AES-GCM" 316 PASS clonedKey.algorithm.name is "AES-GCM"
475 PASS clonedKey.algorithm.length is 256 317 PASS clonedKey.algorithm.length is 256
476 PASS clonedKey.usages.join(',') is "" 318 PASS clonedKey.usages.join(',') is ""
(...skipping 16 matching lines...) Expand all
493 PASS clonedKey.algorithm.length is 128 335 PASS clonedKey.algorithm.length is 128
494 PASS clonedKey.usages.join(',') is "encrypt" 336 PASS clonedKey.usages.join(',') is "encrypt"
495 Serialized key bytes: 3f004b010910031030112233445566778899aabbccddeeff 337 Serialized key bytes: 3f004b010910031030112233445566778899aabbccddeeff
496 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was 338 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
497 339
498 PASS importedKey.extraProperty is "hi" 340 PASS importedKey.extraProperty is "hi"
499 PASS importedKey.type is "secret" 341 PASS importedKey.type is "secret"
500 PASS typeof importedKey.extractable is 'boolean' 342 PASS typeof importedKey.extractable is 'boolean'
501 PASS importedKey.extractable is true 343 PASS importedKey.extractable is true
502 PASS importedKey.algorithm.name is "AES-GCM" 344 PASS importedKey.algorithm.name is "AES-GCM"
503 PASS importedKey.algorithm.length is 192
504 PASS importedKey.usages.join(',') is "encrypt"
505 PASS importedKey is not clonedKey
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: 3f004b0109180318800102030405060708090a0b0c0d0e0f1011121314 151617
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 345 PASS importedKey.algorithm.length is 256
522 PASS importedKey.usages.join(',') is "encrypt" 346 PASS importedKey.usages.join(',') is "encrypt"
523 PASS importedKey is not clonedKey 347 PASS importedKey is not clonedKey
524 PASS clonedKey.extraProperty is undefined. 348 PASS clonedKey.extraProperty is undefined.
525 PASS clonedKey.type is "secret" 349 PASS clonedKey.type is "secret"
526 PASS typeof clonedKey.extractable is 'boolean' 350 PASS typeof clonedKey.extractable is 'boolean'
527 PASS clonedKey.extractable is true 351 PASS clonedKey.extractable is true
528 PASS clonedKey.algorithm.name is "AES-GCM" 352 PASS clonedKey.algorithm.name is "AES-GCM"
529 PASS clonedKey.algorithm.length is 256 353 PASS clonedKey.algorithm.length is 256
530 PASS clonedKey.usages.join(',') is "encrypt" 354 PASS clonedKey.usages.join(',') is "encrypt"
(...skipping 16 matching lines...) Expand all
547 PASS clonedKey.algorithm.length is 128 371 PASS clonedKey.algorithm.length is 128
548 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" 372 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
549 Serialized key bytes: 3f004b010910451030112233445566778899aabbccddeeff 373 Serialized key bytes: 3f004b010910451030112233445566778899aabbccddeeff
550 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was 374 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
551 375
552 PASS importedKey.extraProperty is "hi" 376 PASS importedKey.extraProperty is "hi"
553 PASS importedKey.type is "secret" 377 PASS importedKey.type is "secret"
554 PASS typeof importedKey.extractable is 'boolean' 378 PASS typeof importedKey.extractable is 'boolean'
555 PASS importedKey.extractable is true 379 PASS importedKey.extractable is true
556 PASS importedKey.algorithm.name is "AES-GCM" 380 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 is not clonedKey
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: 3f004b0109184518800102030405060708090a0b0c0d0e0f1011121314 151617
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 381 PASS importedKey.algorithm.length is 256
576 PASS importedKey.usages.join(',') is "decrypt,wrapKey" 382 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
577 PASS importedKey is not clonedKey 383 PASS importedKey is not clonedKey
578 PASS clonedKey.extraProperty is undefined. 384 PASS clonedKey.extraProperty is undefined.
579 PASS clonedKey.type is "secret" 385 PASS clonedKey.type is "secret"
580 PASS typeof clonedKey.extractable is 'boolean' 386 PASS typeof clonedKey.extractable is 'boolean'
581 PASS clonedKey.extractable is true 387 PASS clonedKey.extractable is true
582 PASS clonedKey.algorithm.name is "AES-GCM" 388 PASS clonedKey.algorithm.name is "AES-GCM"
583 PASS clonedKey.algorithm.length is 256 389 PASS clonedKey.algorithm.length is 256
584 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" 390 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
(...skipping 16 matching lines...) Expand all
601 PASS clonedKey.algorithm.length is 128 407 PASS clonedKey.algorithm.length is 128
602 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" 408 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
603 Serialized key bytes: 3f004b010910c3011030112233445566778899aabbccddeeff00 409 Serialized key bytes: 3f004b010910c3011030112233445566778899aabbccddeeff00
604 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was 410 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was
605 411
606 PASS importedKey.extraProperty is "hi" 412 PASS importedKey.extraProperty is "hi"
607 PASS importedKey.type is "secret" 413 PASS importedKey.type is "secret"
608 PASS typeof importedKey.extractable is 'boolean' 414 PASS typeof importedKey.extractable is 'boolean'
609 PASS importedKey.extractable is true 415 PASS importedKey.extractable is true
610 PASS importedKey.algorithm.name is "AES-GCM" 416 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 is not clonedKey
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: 3f004b010918c30118800102030405060708090a0b0c0d0e0f10111213 1415161700
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 417 PASS importedKey.algorithm.length is 256
630 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" 418 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
631 PASS importedKey is not clonedKey 419 PASS importedKey is not clonedKey
632 PASS clonedKey.extraProperty is undefined. 420 PASS clonedKey.extraProperty is undefined.
633 PASS clonedKey.type is "secret" 421 PASS clonedKey.type is "secret"
634 PASS typeof clonedKey.extractable is 'boolean' 422 PASS typeof clonedKey.extractable is 'boolean'
635 PASS clonedKey.extractable is true 423 PASS clonedKey.extractable is true
636 PASS clonedKey.algorithm.name is "AES-GCM" 424 PASS clonedKey.algorithm.name is "AES-GCM"
637 PASS clonedKey.algorithm.length is 256 425 PASS clonedKey.algorithm.length is 256
638 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" 426 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
(...skipping 15 matching lines...) Expand all
654 PASS clonedKey.algorithm.name is "AES-GCM" 442 PASS clonedKey.algorithm.name is "AES-GCM"
655 PASS clonedKey.algorithm.length is 128 443 PASS clonedKey.algorithm.length is 128
656 PASS clonedKey.usages.join(',') is "" 444 PASS clonedKey.usages.join(',') is ""
657 Serialized key bytes: 3f004b010910001030112233445566778899aabbccddeeff 445 Serialized key bytes: 3f004b010910001030112233445566778899aabbccddeeff
658 446
659 PASS importedKey.extraProperty is "hi" 447 PASS importedKey.extraProperty is "hi"
660 PASS importedKey.type is "secret" 448 PASS importedKey.type is "secret"
661 PASS typeof importedKey.extractable is 'boolean' 449 PASS typeof importedKey.extractable is 'boolean'
662 PASS importedKey.extractable is false 450 PASS importedKey.extractable is false
663 PASS importedKey.algorithm.name is "AES-GCM" 451 PASS importedKey.algorithm.name is "AES-GCM"
664 PASS importedKey.algorithm.length is 192
665 PASS importedKey.usages.join(',') is ""
666 PASS importedKey is not clonedKey
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: 3f004b0109180018800102030405060708090a0b0c0d0e0f1011121314 151617
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 452 PASS importedKey.algorithm.length is 256
682 PASS importedKey.usages.join(',') is "" 453 PASS importedKey.usages.join(',') is ""
683 PASS importedKey is not clonedKey 454 PASS importedKey is not clonedKey
684 PASS clonedKey.extraProperty is undefined. 455 PASS clonedKey.extraProperty is undefined.
685 PASS clonedKey.type is "secret" 456 PASS clonedKey.type is "secret"
686 PASS typeof clonedKey.extractable is 'boolean' 457 PASS typeof clonedKey.extractable is 'boolean'
687 PASS clonedKey.extractable is false 458 PASS clonedKey.extractable is false
688 PASS clonedKey.algorithm.name is "AES-GCM" 459 PASS clonedKey.algorithm.name is "AES-GCM"
689 PASS clonedKey.algorithm.length is 256 460 PASS clonedKey.algorithm.length is 256
690 PASS clonedKey.usages.join(',') is "" 461 PASS clonedKey.usages.join(',') is ""
(...skipping 14 matching lines...) Expand all
705 PASS clonedKey.algorithm.name is "AES-GCM" 476 PASS clonedKey.algorithm.name is "AES-GCM"
706 PASS clonedKey.algorithm.length is 128 477 PASS clonedKey.algorithm.length is 128
707 PASS clonedKey.usages.join(',') is "encrypt" 478 PASS clonedKey.usages.join(',') is "encrypt"
708 Serialized key bytes: 3f004b010910021030112233445566778899aabbccddeeff 479 Serialized key bytes: 3f004b010910021030112233445566778899aabbccddeeff
709 480
710 PASS importedKey.extraProperty is "hi" 481 PASS importedKey.extraProperty is "hi"
711 PASS importedKey.type is "secret" 482 PASS importedKey.type is "secret"
712 PASS typeof importedKey.extractable is 'boolean' 483 PASS typeof importedKey.extractable is 'boolean'
713 PASS importedKey.extractable is false 484 PASS importedKey.extractable is false
714 PASS importedKey.algorithm.name is "AES-GCM" 485 PASS importedKey.algorithm.name is "AES-GCM"
715 PASS importedKey.algorithm.length is 192
716 PASS importedKey.usages.join(',') is "encrypt"
717 PASS importedKey is not clonedKey
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: 3f004b0109180218800102030405060708090a0b0c0d0e0f1011121314 151617
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 486 PASS importedKey.algorithm.length is 256
733 PASS importedKey.usages.join(',') is "encrypt" 487 PASS importedKey.usages.join(',') is "encrypt"
734 PASS importedKey is not clonedKey 488 PASS importedKey is not clonedKey
735 PASS clonedKey.extraProperty is undefined. 489 PASS clonedKey.extraProperty is undefined.
736 PASS clonedKey.type is "secret" 490 PASS clonedKey.type is "secret"
737 PASS typeof clonedKey.extractable is 'boolean' 491 PASS typeof clonedKey.extractable is 'boolean'
738 PASS clonedKey.extractable is false 492 PASS clonedKey.extractable is false
739 PASS clonedKey.algorithm.name is "AES-GCM" 493 PASS clonedKey.algorithm.name is "AES-GCM"
740 PASS clonedKey.algorithm.length is 256 494 PASS clonedKey.algorithm.length is 256
741 PASS clonedKey.usages.join(',') is "encrypt" 495 PASS clonedKey.usages.join(',') is "encrypt"
(...skipping 14 matching lines...) Expand all
756 PASS clonedKey.algorithm.name is "AES-GCM" 510 PASS clonedKey.algorithm.name is "AES-GCM"
757 PASS clonedKey.algorithm.length is 128 511 PASS clonedKey.algorithm.length is 128
758 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" 512 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
759 Serialized key bytes: 3f004b010910441030112233445566778899aabbccddeeff 513 Serialized key bytes: 3f004b010910441030112233445566778899aabbccddeeff
760 514
761 PASS importedKey.extraProperty is "hi" 515 PASS importedKey.extraProperty is "hi"
762 PASS importedKey.type is "secret" 516 PASS importedKey.type is "secret"
763 PASS typeof importedKey.extractable is 'boolean' 517 PASS typeof importedKey.extractable is 'boolean'
764 PASS importedKey.extractable is false 518 PASS importedKey.extractable is false
765 PASS importedKey.algorithm.name is "AES-GCM" 519 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 is not clonedKey
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: 3f004b0109184418800102030405060708090a0b0c0d0e0f1011121314 151617
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 520 PASS importedKey.algorithm.length is 256
784 PASS importedKey.usages.join(',') is "decrypt,wrapKey" 521 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
785 PASS importedKey is not clonedKey 522 PASS importedKey is not clonedKey
786 PASS clonedKey.extraProperty is undefined. 523 PASS clonedKey.extraProperty is undefined.
787 PASS clonedKey.type is "secret" 524 PASS clonedKey.type is "secret"
788 PASS typeof clonedKey.extractable is 'boolean' 525 PASS typeof clonedKey.extractable is 'boolean'
789 PASS clonedKey.extractable is false 526 PASS clonedKey.extractable is false
790 PASS clonedKey.algorithm.name is "AES-GCM" 527 PASS clonedKey.algorithm.name is "AES-GCM"
791 PASS clonedKey.algorithm.length is 256 528 PASS clonedKey.algorithm.length is 256
792 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" 529 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
(...skipping 14 matching lines...) Expand all
807 PASS clonedKey.algorithm.name is "AES-GCM" 544 PASS clonedKey.algorithm.name is "AES-GCM"
808 PASS clonedKey.algorithm.length is 128 545 PASS clonedKey.algorithm.length is 128
809 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" 546 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
810 Serialized key bytes: 3f004b010910c2011030112233445566778899aabbccddeeff00 547 Serialized key bytes: 3f004b010910c2011030112233445566778899aabbccddeeff00
811 548
812 PASS importedKey.extraProperty is "hi" 549 PASS importedKey.extraProperty is "hi"
813 PASS importedKey.type is "secret" 550 PASS importedKey.type is "secret"
814 PASS typeof importedKey.extractable is 'boolean' 551 PASS typeof importedKey.extractable is 'boolean'
815 PASS importedKey.extractable is false 552 PASS importedKey.extractable is false
816 PASS importedKey.algorithm.name is "AES-GCM" 553 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 is not clonedKey
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: 3f004b010918c20118800102030405060708090a0b0c0d0e0f10111213 1415161700
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 554 PASS importedKey.algorithm.length is 256
835 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" 555 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
836 PASS importedKey is not clonedKey 556 PASS importedKey is not clonedKey
837 PASS clonedKey.extraProperty is undefined. 557 PASS clonedKey.extraProperty is undefined.
838 PASS clonedKey.type is "secret" 558 PASS clonedKey.type is "secret"
839 PASS typeof clonedKey.extractable is 'boolean' 559 PASS typeof clonedKey.extractable is 'boolean'
840 PASS clonedKey.extractable is false 560 PASS clonedKey.extractable is false
841 PASS clonedKey.algorithm.name is "AES-GCM" 561 PASS clonedKey.algorithm.name is "AES-GCM"
842 PASS clonedKey.algorithm.length is 256 562 PASS clonedKey.algorithm.length is 256
843 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" 563 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
844 Serialized key bytes: 3f004b010920c2012000112233445546778899aabbccddeeff00010203 0405060708090a0b0c0d0e0f00 564 Serialized key bytes: 3f004b010920c2012000112233445546778899aabbccddeeff00010203 0405060708090a0b0c0d0e0f00
845 565
846 PASS successfullyParsed is true 566 PASS successfullyParsed is true
847 567
848 TEST COMPLETE 568 TEST COMPLETE
849 569
OLDNEW
« no previous file with comments | « LayoutTests/crypto/clone-aesKey.html ('k') | LayoutTests/crypto/jwk-export-use-values.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698