OLD | NEW |
| (Empty) |
1 Tests structured cloning of HMAC 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 "HMAC" | |
11 PASS importedKey.algorithm.length is 128 | |
12 PASS importedKey.algorithm.hash.name is "SHA-1" | |
13 PASS importedKey.usages.join(',') is "sign" | |
14 PASS importedKey is not clonedKey | |
15 PASS clonedKey.extraProperty is undefined. | |
16 PASS clonedKey.type is "secret" | |
17 PASS typeof clonedKey.extractable is 'boolean' | |
18 PASS clonedKey.extractable is true | |
19 PASS clonedKey.algorithm.name is "HMAC" | |
20 PASS clonedKey.algorithm.length is 128 | |
21 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
22 PASS clonedKey.usages.join(',') is "sign" | |
23 Serialized key bytes: 3f004b021005091030112233445566778899aabbccddeeff | |
24 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
25 | |
26 PASS importedKey.extraProperty is "hi" | |
27 PASS importedKey.type is "secret" | |
28 PASS typeof importedKey.extractable is 'boolean' | |
29 PASS importedKey.extractable is true | |
30 PASS importedKey.algorithm.name is "HMAC" | |
31 PASS importedKey.algorithm.length is 256 | |
32 PASS importedKey.algorithm.hash.name is "SHA-1" | |
33 PASS importedKey.usages.join(',') is "sign" | |
34 PASS importedKey is not clonedKey | |
35 PASS clonedKey.extraProperty is undefined. | |
36 PASS clonedKey.type is "secret" | |
37 PASS typeof clonedKey.extractable is 'boolean' | |
38 PASS clonedKey.extractable is true | |
39 PASS clonedKey.algorithm.name is "HMAC" | |
40 PASS clonedKey.algorithm.length is 256 | |
41 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
42 PASS clonedKey.usages.join(',') is "sign" | |
43 Serialized key bytes: 3f004b022005092000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
44 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
45 | |
46 PASS importedKey.extraProperty is "hi" | |
47 PASS importedKey.type is "secret" | |
48 PASS typeof importedKey.extractable is 'boolean' | |
49 PASS importedKey.extractable is true | |
50 PASS importedKey.algorithm.name is "HMAC" | |
51 PASS importedKey.algorithm.length is 128 | |
52 PASS importedKey.algorithm.hash.name is "SHA-1" | |
53 PASS importedKey.usages.join(',') is "verify" | |
54 PASS importedKey is not clonedKey | |
55 PASS clonedKey.extraProperty is undefined. | |
56 PASS clonedKey.type is "secret" | |
57 PASS typeof clonedKey.extractable is 'boolean' | |
58 PASS clonedKey.extractable is true | |
59 PASS clonedKey.algorithm.name is "HMAC" | |
60 PASS clonedKey.algorithm.length is 128 | |
61 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
62 PASS clonedKey.usages.join(',') is "verify" | |
63 Serialized key bytes: 3f004b021005111030112233445566778899aabbccddeeff | |
64 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
65 | |
66 PASS importedKey.extraProperty is "hi" | |
67 PASS importedKey.type is "secret" | |
68 PASS typeof importedKey.extractable is 'boolean' | |
69 PASS importedKey.extractable is true | |
70 PASS importedKey.algorithm.name is "HMAC" | |
71 PASS importedKey.algorithm.length is 256 | |
72 PASS importedKey.algorithm.hash.name is "SHA-1" | |
73 PASS importedKey.usages.join(',') is "verify" | |
74 PASS importedKey is not clonedKey | |
75 PASS clonedKey.extraProperty is undefined. | |
76 PASS clonedKey.type is "secret" | |
77 PASS typeof clonedKey.extractable is 'boolean' | |
78 PASS clonedKey.extractable is true | |
79 PASS clonedKey.algorithm.name is "HMAC" | |
80 PASS clonedKey.algorithm.length is 256 | |
81 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
82 PASS clonedKey.usages.join(',') is "verify" | |
83 Serialized key bytes: 3f004b022005112000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
84 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
85 | |
86 PASS importedKey.extraProperty is "hi" | |
87 PASS importedKey.type is "secret" | |
88 PASS typeof importedKey.extractable is 'boolean' | |
89 PASS importedKey.extractable is true | |
90 PASS importedKey.algorithm.name is "HMAC" | |
91 PASS importedKey.algorithm.length is 128 | |
92 PASS importedKey.algorithm.hash.name is "SHA-1" | |
93 PASS importedKey.usages.join(',') is "sign,verify" | |
94 PASS importedKey is not clonedKey | |
95 PASS clonedKey.extraProperty is undefined. | |
96 PASS clonedKey.type is "secret" | |
97 PASS typeof clonedKey.extractable is 'boolean' | |
98 PASS clonedKey.extractable is true | |
99 PASS clonedKey.algorithm.name is "HMAC" | |
100 PASS clonedKey.algorithm.length is 128 | |
101 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
102 PASS clonedKey.usages.join(',') is "sign,verify" | |
103 Serialized key bytes: 3f004b021005191030112233445566778899aabbccddeeff | |
104 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
105 | |
106 PASS importedKey.extraProperty is "hi" | |
107 PASS importedKey.type is "secret" | |
108 PASS typeof importedKey.extractable is 'boolean' | |
109 PASS importedKey.extractable is true | |
110 PASS importedKey.algorithm.name is "HMAC" | |
111 PASS importedKey.algorithm.length is 256 | |
112 PASS importedKey.algorithm.hash.name is "SHA-1" | |
113 PASS importedKey.usages.join(',') is "sign,verify" | |
114 PASS importedKey is not clonedKey | |
115 PASS clonedKey.extraProperty is undefined. | |
116 PASS clonedKey.type is "secret" | |
117 PASS typeof clonedKey.extractable is 'boolean' | |
118 PASS clonedKey.extractable is true | |
119 PASS clonedKey.algorithm.name is "HMAC" | |
120 PASS clonedKey.algorithm.length is 256 | |
121 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
122 PASS clonedKey.usages.join(',') is "sign,verify" | |
123 Serialized key bytes: 3f004b022005192000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
124 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
125 | |
126 PASS importedKey.extraProperty is "hi" | |
127 PASS importedKey.type is "secret" | |
128 PASS typeof importedKey.extractable is 'boolean' | |
129 PASS importedKey.extractable is false | |
130 PASS importedKey.algorithm.name is "HMAC" | |
131 PASS importedKey.algorithm.length is 128 | |
132 PASS importedKey.algorithm.hash.name is "SHA-1" | |
133 PASS importedKey.usages.join(',') is "sign" | |
134 PASS importedKey is not clonedKey | |
135 PASS clonedKey.extraProperty is undefined. | |
136 PASS clonedKey.type is "secret" | |
137 PASS typeof clonedKey.extractable is 'boolean' | |
138 PASS clonedKey.extractable is false | |
139 PASS clonedKey.algorithm.name is "HMAC" | |
140 PASS clonedKey.algorithm.length is 128 | |
141 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
142 PASS clonedKey.usages.join(',') is "sign" | |
143 Serialized key bytes: 3f004b021005081030112233445566778899aabbccddeeff | |
144 | |
145 PASS importedKey.extraProperty is "hi" | |
146 PASS importedKey.type is "secret" | |
147 PASS typeof importedKey.extractable is 'boolean' | |
148 PASS importedKey.extractable is false | |
149 PASS importedKey.algorithm.name is "HMAC" | |
150 PASS importedKey.algorithm.length is 256 | |
151 PASS importedKey.algorithm.hash.name is "SHA-1" | |
152 PASS importedKey.usages.join(',') is "sign" | |
153 PASS importedKey is not clonedKey | |
154 PASS clonedKey.extraProperty is undefined. | |
155 PASS clonedKey.type is "secret" | |
156 PASS typeof clonedKey.extractable is 'boolean' | |
157 PASS clonedKey.extractable is false | |
158 PASS clonedKey.algorithm.name is "HMAC" | |
159 PASS clonedKey.algorithm.length is 256 | |
160 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
161 PASS clonedKey.usages.join(',') is "sign" | |
162 Serialized key bytes: 3f004b022005082000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
163 | |
164 PASS importedKey.extraProperty is "hi" | |
165 PASS importedKey.type is "secret" | |
166 PASS typeof importedKey.extractable is 'boolean' | |
167 PASS importedKey.extractable is false | |
168 PASS importedKey.algorithm.name is "HMAC" | |
169 PASS importedKey.algorithm.length is 128 | |
170 PASS importedKey.algorithm.hash.name is "SHA-1" | |
171 PASS importedKey.usages.join(',') is "verify" | |
172 PASS importedKey is not clonedKey | |
173 PASS clonedKey.extraProperty is undefined. | |
174 PASS clonedKey.type is "secret" | |
175 PASS typeof clonedKey.extractable is 'boolean' | |
176 PASS clonedKey.extractable is false | |
177 PASS clonedKey.algorithm.name is "HMAC" | |
178 PASS clonedKey.algorithm.length is 128 | |
179 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
180 PASS clonedKey.usages.join(',') is "verify" | |
181 Serialized key bytes: 3f004b021005101030112233445566778899aabbccddeeff | |
182 | |
183 PASS importedKey.extraProperty is "hi" | |
184 PASS importedKey.type is "secret" | |
185 PASS typeof importedKey.extractable is 'boolean' | |
186 PASS importedKey.extractable is false | |
187 PASS importedKey.algorithm.name is "HMAC" | |
188 PASS importedKey.algorithm.length is 256 | |
189 PASS importedKey.algorithm.hash.name is "SHA-1" | |
190 PASS importedKey.usages.join(',') is "verify" | |
191 PASS importedKey is not clonedKey | |
192 PASS clonedKey.extraProperty is undefined. | |
193 PASS clonedKey.type is "secret" | |
194 PASS typeof clonedKey.extractable is 'boolean' | |
195 PASS clonedKey.extractable is false | |
196 PASS clonedKey.algorithm.name is "HMAC" | |
197 PASS clonedKey.algorithm.length is 256 | |
198 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
199 PASS clonedKey.usages.join(',') is "verify" | |
200 Serialized key bytes: 3f004b022005102000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
201 | |
202 PASS importedKey.extraProperty is "hi" | |
203 PASS importedKey.type is "secret" | |
204 PASS typeof importedKey.extractable is 'boolean' | |
205 PASS importedKey.extractable is false | |
206 PASS importedKey.algorithm.name is "HMAC" | |
207 PASS importedKey.algorithm.length is 128 | |
208 PASS importedKey.algorithm.hash.name is "SHA-1" | |
209 PASS importedKey.usages.join(',') is "sign,verify" | |
210 PASS importedKey is not clonedKey | |
211 PASS clonedKey.extraProperty is undefined. | |
212 PASS clonedKey.type is "secret" | |
213 PASS typeof clonedKey.extractable is 'boolean' | |
214 PASS clonedKey.extractable is false | |
215 PASS clonedKey.algorithm.name is "HMAC" | |
216 PASS clonedKey.algorithm.length is 128 | |
217 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
218 PASS clonedKey.usages.join(',') is "sign,verify" | |
219 Serialized key bytes: 3f004b021005181030112233445566778899aabbccddeeff | |
220 | |
221 PASS importedKey.extraProperty is "hi" | |
222 PASS importedKey.type is "secret" | |
223 PASS typeof importedKey.extractable is 'boolean' | |
224 PASS importedKey.extractable is false | |
225 PASS importedKey.algorithm.name is "HMAC" | |
226 PASS importedKey.algorithm.length is 256 | |
227 PASS importedKey.algorithm.hash.name is "SHA-1" | |
228 PASS importedKey.usages.join(',') is "sign,verify" | |
229 PASS importedKey is not clonedKey | |
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 "HMAC" | |
235 PASS clonedKey.algorithm.length is 256 | |
236 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
237 PASS clonedKey.usages.join(',') is "sign,verify" | |
238 Serialized key bytes: 3f004b022005182000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
239 | |
240 PASS importedKey.extraProperty is "hi" | |
241 PASS importedKey.type is "secret" | |
242 PASS typeof importedKey.extractable is 'boolean' | |
243 PASS importedKey.extractable is true | |
244 PASS importedKey.algorithm.name is "HMAC" | |
245 PASS importedKey.algorithm.length is 128 | |
246 PASS importedKey.algorithm.hash.name is "SHA-256" | |
247 PASS importedKey.usages.join(',') is "sign" | |
248 PASS importedKey is not clonedKey | |
249 PASS clonedKey.extraProperty is undefined. | |
250 PASS clonedKey.type is "secret" | |
251 PASS typeof clonedKey.extractable is 'boolean' | |
252 PASS clonedKey.extractable is true | |
253 PASS clonedKey.algorithm.name is "HMAC" | |
254 PASS clonedKey.algorithm.length is 128 | |
255 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
256 PASS clonedKey.usages.join(',') is "sign" | |
257 Serialized key bytes: 3f004b021006091030112233445566778899aabbccddeeff | |
258 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
259 | |
260 PASS importedKey.extraProperty is "hi" | |
261 PASS importedKey.type is "secret" | |
262 PASS typeof importedKey.extractable is 'boolean' | |
263 PASS importedKey.extractable is true | |
264 PASS importedKey.algorithm.name is "HMAC" | |
265 PASS importedKey.algorithm.length is 256 | |
266 PASS importedKey.algorithm.hash.name is "SHA-256" | |
267 PASS importedKey.usages.join(',') is "sign" | |
268 PASS importedKey is not clonedKey | |
269 PASS clonedKey.extraProperty is undefined. | |
270 PASS clonedKey.type is "secret" | |
271 PASS typeof clonedKey.extractable is 'boolean' | |
272 PASS clonedKey.extractable is true | |
273 PASS clonedKey.algorithm.name is "HMAC" | |
274 PASS clonedKey.algorithm.length is 256 | |
275 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
276 PASS clonedKey.usages.join(',') is "sign" | |
277 Serialized key bytes: 3f004b022006092000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
278 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
279 | |
280 PASS importedKey.extraProperty is "hi" | |
281 PASS importedKey.type is "secret" | |
282 PASS typeof importedKey.extractable is 'boolean' | |
283 PASS importedKey.extractable is true | |
284 PASS importedKey.algorithm.name is "HMAC" | |
285 PASS importedKey.algorithm.length is 128 | |
286 PASS importedKey.algorithm.hash.name is "SHA-256" | |
287 PASS importedKey.usages.join(',') is "verify" | |
288 PASS importedKey is not clonedKey | |
289 PASS clonedKey.extraProperty is undefined. | |
290 PASS clonedKey.type is "secret" | |
291 PASS typeof clonedKey.extractable is 'boolean' | |
292 PASS clonedKey.extractable is true | |
293 PASS clonedKey.algorithm.name is "HMAC" | |
294 PASS clonedKey.algorithm.length is 128 | |
295 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
296 PASS clonedKey.usages.join(',') is "verify" | |
297 Serialized key bytes: 3f004b021006111030112233445566778899aabbccddeeff | |
298 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
299 | |
300 PASS importedKey.extraProperty is "hi" | |
301 PASS importedKey.type is "secret" | |
302 PASS typeof importedKey.extractable is 'boolean' | |
303 PASS importedKey.extractable is true | |
304 PASS importedKey.algorithm.name is "HMAC" | |
305 PASS importedKey.algorithm.length is 256 | |
306 PASS importedKey.algorithm.hash.name is "SHA-256" | |
307 PASS importedKey.usages.join(',') is "verify" | |
308 PASS importedKey is not clonedKey | |
309 PASS clonedKey.extraProperty is undefined. | |
310 PASS clonedKey.type is "secret" | |
311 PASS typeof clonedKey.extractable is 'boolean' | |
312 PASS clonedKey.extractable is true | |
313 PASS clonedKey.algorithm.name is "HMAC" | |
314 PASS clonedKey.algorithm.length is 256 | |
315 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
316 PASS clonedKey.usages.join(',') is "verify" | |
317 Serialized key bytes: 3f004b022006112000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
318 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
319 | |
320 PASS importedKey.extraProperty is "hi" | |
321 PASS importedKey.type is "secret" | |
322 PASS typeof importedKey.extractable is 'boolean' | |
323 PASS importedKey.extractable is true | |
324 PASS importedKey.algorithm.name is "HMAC" | |
325 PASS importedKey.algorithm.length is 128 | |
326 PASS importedKey.algorithm.hash.name is "SHA-256" | |
327 PASS importedKey.usages.join(',') is "sign,verify" | |
328 PASS importedKey is not clonedKey | |
329 PASS clonedKey.extraProperty is undefined. | |
330 PASS clonedKey.type is "secret" | |
331 PASS typeof clonedKey.extractable is 'boolean' | |
332 PASS clonedKey.extractable is true | |
333 PASS clonedKey.algorithm.name is "HMAC" | |
334 PASS clonedKey.algorithm.length is 128 | |
335 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
336 PASS clonedKey.usages.join(',') is "sign,verify" | |
337 Serialized key bytes: 3f004b021006191030112233445566778899aabbccddeeff | |
338 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
339 | |
340 PASS importedKey.extraProperty is "hi" | |
341 PASS importedKey.type is "secret" | |
342 PASS typeof importedKey.extractable is 'boolean' | |
343 PASS importedKey.extractable is true | |
344 PASS importedKey.algorithm.name is "HMAC" | |
345 PASS importedKey.algorithm.length is 256 | |
346 PASS importedKey.algorithm.hash.name is "SHA-256" | |
347 PASS importedKey.usages.join(',') is "sign,verify" | |
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 true | |
353 PASS clonedKey.algorithm.name is "HMAC" | |
354 PASS clonedKey.algorithm.length is 256 | |
355 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
356 PASS clonedKey.usages.join(',') is "sign,verify" | |
357 Serialized key bytes: 3f004b022006192000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
358 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
359 | |
360 PASS importedKey.extraProperty is "hi" | |
361 PASS importedKey.type is "secret" | |
362 PASS typeof importedKey.extractable is 'boolean' | |
363 PASS importedKey.extractable is false | |
364 PASS importedKey.algorithm.name is "HMAC" | |
365 PASS importedKey.algorithm.length is 128 | |
366 PASS importedKey.algorithm.hash.name is "SHA-256" | |
367 PASS importedKey.usages.join(',') is "sign" | |
368 PASS importedKey is not clonedKey | |
369 PASS clonedKey.extraProperty is undefined. | |
370 PASS clonedKey.type is "secret" | |
371 PASS typeof clonedKey.extractable is 'boolean' | |
372 PASS clonedKey.extractable is false | |
373 PASS clonedKey.algorithm.name is "HMAC" | |
374 PASS clonedKey.algorithm.length is 128 | |
375 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
376 PASS clonedKey.usages.join(',') is "sign" | |
377 Serialized key bytes: 3f004b021006081030112233445566778899aabbccddeeff | |
378 | |
379 PASS importedKey.extraProperty is "hi" | |
380 PASS importedKey.type is "secret" | |
381 PASS typeof importedKey.extractable is 'boolean' | |
382 PASS importedKey.extractable is false | |
383 PASS importedKey.algorithm.name is "HMAC" | |
384 PASS importedKey.algorithm.length is 256 | |
385 PASS importedKey.algorithm.hash.name is "SHA-256" | |
386 PASS importedKey.usages.join(',') is "sign" | |
387 PASS importedKey is not clonedKey | |
388 PASS clonedKey.extraProperty is undefined. | |
389 PASS clonedKey.type is "secret" | |
390 PASS typeof clonedKey.extractable is 'boolean' | |
391 PASS clonedKey.extractable is false | |
392 PASS clonedKey.algorithm.name is "HMAC" | |
393 PASS clonedKey.algorithm.length is 256 | |
394 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
395 PASS clonedKey.usages.join(',') is "sign" | |
396 Serialized key bytes: 3f004b022006082000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
397 | |
398 PASS importedKey.extraProperty is "hi" | |
399 PASS importedKey.type is "secret" | |
400 PASS typeof importedKey.extractable is 'boolean' | |
401 PASS importedKey.extractable is false | |
402 PASS importedKey.algorithm.name is "HMAC" | |
403 PASS importedKey.algorithm.length is 128 | |
404 PASS importedKey.algorithm.hash.name is "SHA-256" | |
405 PASS importedKey.usages.join(',') is "verify" | |
406 PASS importedKey is not clonedKey | |
407 PASS clonedKey.extraProperty is undefined. | |
408 PASS clonedKey.type is "secret" | |
409 PASS typeof clonedKey.extractable is 'boolean' | |
410 PASS clonedKey.extractable is false | |
411 PASS clonedKey.algorithm.name is "HMAC" | |
412 PASS clonedKey.algorithm.length is 128 | |
413 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
414 PASS clonedKey.usages.join(',') is "verify" | |
415 Serialized key bytes: 3f004b021006101030112233445566778899aabbccddeeff | |
416 | |
417 PASS importedKey.extraProperty is "hi" | |
418 PASS importedKey.type is "secret" | |
419 PASS typeof importedKey.extractable is 'boolean' | |
420 PASS importedKey.extractable is false | |
421 PASS importedKey.algorithm.name is "HMAC" | |
422 PASS importedKey.algorithm.length is 256 | |
423 PASS importedKey.algorithm.hash.name is "SHA-256" | |
424 PASS importedKey.usages.join(',') is "verify" | |
425 PASS importedKey is not clonedKey | |
426 PASS clonedKey.extraProperty is undefined. | |
427 PASS clonedKey.type is "secret" | |
428 PASS typeof clonedKey.extractable is 'boolean' | |
429 PASS clonedKey.extractable is false | |
430 PASS clonedKey.algorithm.name is "HMAC" | |
431 PASS clonedKey.algorithm.length is 256 | |
432 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
433 PASS clonedKey.usages.join(',') is "verify" | |
434 Serialized key bytes: 3f004b022006102000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
435 | |
436 PASS importedKey.extraProperty is "hi" | |
437 PASS importedKey.type is "secret" | |
438 PASS typeof importedKey.extractable is 'boolean' | |
439 PASS importedKey.extractable is false | |
440 PASS importedKey.algorithm.name is "HMAC" | |
441 PASS importedKey.algorithm.length is 128 | |
442 PASS importedKey.algorithm.hash.name is "SHA-256" | |
443 PASS importedKey.usages.join(',') is "sign,verify" | |
444 PASS importedKey is not clonedKey | |
445 PASS clonedKey.extraProperty is undefined. | |
446 PASS clonedKey.type is "secret" | |
447 PASS typeof clonedKey.extractable is 'boolean' | |
448 PASS clonedKey.extractable is false | |
449 PASS clonedKey.algorithm.name is "HMAC" | |
450 PASS clonedKey.algorithm.length is 128 | |
451 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
452 PASS clonedKey.usages.join(',') is "sign,verify" | |
453 Serialized key bytes: 3f004b021006181030112233445566778899aabbccddeeff | |
454 | |
455 PASS importedKey.extraProperty is "hi" | |
456 PASS importedKey.type is "secret" | |
457 PASS typeof importedKey.extractable is 'boolean' | |
458 PASS importedKey.extractable is false | |
459 PASS importedKey.algorithm.name is "HMAC" | |
460 PASS importedKey.algorithm.length is 256 | |
461 PASS importedKey.algorithm.hash.name is "SHA-256" | |
462 PASS importedKey.usages.join(',') is "sign,verify" | |
463 PASS importedKey is not clonedKey | |
464 PASS clonedKey.extraProperty is undefined. | |
465 PASS clonedKey.type is "secret" | |
466 PASS typeof clonedKey.extractable is 'boolean' | |
467 PASS clonedKey.extractable is false | |
468 PASS clonedKey.algorithm.name is "HMAC" | |
469 PASS clonedKey.algorithm.length is 256 | |
470 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
471 PASS clonedKey.usages.join(',') is "sign,verify" | |
472 Serialized key bytes: 3f004b022006182000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
473 | |
474 PASS importedKey.extraProperty is "hi" | |
475 PASS importedKey.type is "secret" | |
476 PASS typeof importedKey.extractable is 'boolean' | |
477 PASS importedKey.extractable is true | |
478 PASS importedKey.algorithm.name is "HMAC" | |
479 PASS importedKey.algorithm.length is 128 | |
480 PASS importedKey.algorithm.hash.name is "SHA-512" | |
481 PASS importedKey.usages.join(',') is "sign" | |
482 PASS importedKey is not clonedKey | |
483 PASS clonedKey.extraProperty is undefined. | |
484 PASS clonedKey.type is "secret" | |
485 PASS typeof clonedKey.extractable is 'boolean' | |
486 PASS clonedKey.extractable is true | |
487 PASS clonedKey.algorithm.name is "HMAC" | |
488 PASS clonedKey.algorithm.length is 128 | |
489 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
490 PASS clonedKey.usages.join(',') is "sign" | |
491 Serialized key bytes: 3f004b021008091030112233445566778899aabbccddeeff | |
492 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
493 | |
494 PASS importedKey.extraProperty is "hi" | |
495 PASS importedKey.type is "secret" | |
496 PASS typeof importedKey.extractable is 'boolean' | |
497 PASS importedKey.extractable is true | |
498 PASS importedKey.algorithm.name is "HMAC" | |
499 PASS importedKey.algorithm.length is 256 | |
500 PASS importedKey.algorithm.hash.name is "SHA-512" | |
501 PASS importedKey.usages.join(',') is "sign" | |
502 PASS importedKey is not clonedKey | |
503 PASS clonedKey.extraProperty is undefined. | |
504 PASS clonedKey.type is "secret" | |
505 PASS typeof clonedKey.extractable is 'boolean' | |
506 PASS clonedKey.extractable is true | |
507 PASS clonedKey.algorithm.name is "HMAC" | |
508 PASS clonedKey.algorithm.length is 256 | |
509 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
510 PASS clonedKey.usages.join(',') is "sign" | |
511 Serialized key bytes: 3f004b022008092000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
512 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
513 | |
514 PASS importedKey.extraProperty is "hi" | |
515 PASS importedKey.type is "secret" | |
516 PASS typeof importedKey.extractable is 'boolean' | |
517 PASS importedKey.extractable is true | |
518 PASS importedKey.algorithm.name is "HMAC" | |
519 PASS importedKey.algorithm.length is 128 | |
520 PASS importedKey.algorithm.hash.name is "SHA-512" | |
521 PASS importedKey.usages.join(',') is "verify" | |
522 PASS importedKey is not clonedKey | |
523 PASS clonedKey.extraProperty is undefined. | |
524 PASS clonedKey.type is "secret" | |
525 PASS typeof clonedKey.extractable is 'boolean' | |
526 PASS clonedKey.extractable is true | |
527 PASS clonedKey.algorithm.name is "HMAC" | |
528 PASS clonedKey.algorithm.length is 128 | |
529 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
530 PASS clonedKey.usages.join(',') is "verify" | |
531 Serialized key bytes: 3f004b021008111030112233445566778899aabbccddeeff | |
532 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] 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 "HMAC" | |
539 PASS importedKey.algorithm.length is 256 | |
540 PASS importedKey.algorithm.hash.name is "SHA-512" | |
541 PASS importedKey.usages.join(',') is "verify" | |
542 PASS importedKey is not clonedKey | |
543 PASS clonedKey.extraProperty is undefined. | |
544 PASS clonedKey.type is "secret" | |
545 PASS typeof clonedKey.extractable is 'boolean' | |
546 PASS clonedKey.extractable is true | |
547 PASS clonedKey.algorithm.name is "HMAC" | |
548 PASS clonedKey.algorithm.length is 256 | |
549 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
550 PASS clonedKey.usages.join(',') is "verify" | |
551 Serialized key bytes: 3f004b022008112000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
552 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
553 | |
554 PASS importedKey.extraProperty is "hi" | |
555 PASS importedKey.type is "secret" | |
556 PASS typeof importedKey.extractable is 'boolean' | |
557 PASS importedKey.extractable is true | |
558 PASS importedKey.algorithm.name is "HMAC" | |
559 PASS importedKey.algorithm.length is 128 | |
560 PASS importedKey.algorithm.hash.name is "SHA-512" | |
561 PASS importedKey.usages.join(',') is "sign,verify" | |
562 PASS importedKey is not clonedKey | |
563 PASS clonedKey.extraProperty is undefined. | |
564 PASS clonedKey.type is "secret" | |
565 PASS typeof clonedKey.extractable is 'boolean' | |
566 PASS clonedKey.extractable is true | |
567 PASS clonedKey.algorithm.name is "HMAC" | |
568 PASS clonedKey.algorithm.length is 128 | |
569 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
570 PASS clonedKey.usages.join(',') is "sign,verify" | |
571 Serialized key bytes: 3f004b021008191030112233445566778899aabbccddeeff | |
572 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
573 | |
574 PASS importedKey.extraProperty is "hi" | |
575 PASS importedKey.type is "secret" | |
576 PASS typeof importedKey.extractable is 'boolean' | |
577 PASS importedKey.extractable is true | |
578 PASS importedKey.algorithm.name is "HMAC" | |
579 PASS importedKey.algorithm.length is 256 | |
580 PASS importedKey.algorithm.hash.name is "SHA-512" | |
581 PASS importedKey.usages.join(',') is "sign,verify" | |
582 PASS importedKey is not clonedKey | |
583 PASS clonedKey.extraProperty is undefined. | |
584 PASS clonedKey.type is "secret" | |
585 PASS typeof clonedKey.extractable is 'boolean' | |
586 PASS clonedKey.extractable is true | |
587 PASS clonedKey.algorithm.name is "HMAC" | |
588 PASS clonedKey.algorithm.length is 256 | |
589 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
590 PASS clonedKey.usages.join(',') is "sign,verify" | |
591 Serialized key bytes: 3f004b022008192000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
592 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
593 | |
594 PASS importedKey.extraProperty is "hi" | |
595 PASS importedKey.type is "secret" | |
596 PASS typeof importedKey.extractable is 'boolean' | |
597 PASS importedKey.extractable is false | |
598 PASS importedKey.algorithm.name is "HMAC" | |
599 PASS importedKey.algorithm.length is 128 | |
600 PASS importedKey.algorithm.hash.name is "SHA-512" | |
601 PASS importedKey.usages.join(',') is "sign" | |
602 PASS importedKey is not clonedKey | |
603 PASS clonedKey.extraProperty is undefined. | |
604 PASS clonedKey.type is "secret" | |
605 PASS typeof clonedKey.extractable is 'boolean' | |
606 PASS clonedKey.extractable is false | |
607 PASS clonedKey.algorithm.name is "HMAC" | |
608 PASS clonedKey.algorithm.length is 128 | |
609 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
610 PASS clonedKey.usages.join(',') is "sign" | |
611 Serialized key bytes: 3f004b021008081030112233445566778899aabbccddeeff | |
612 | |
613 PASS importedKey.extraProperty is "hi" | |
614 PASS importedKey.type is "secret" | |
615 PASS typeof importedKey.extractable is 'boolean' | |
616 PASS importedKey.extractable is false | |
617 PASS importedKey.algorithm.name is "HMAC" | |
618 PASS importedKey.algorithm.length is 256 | |
619 PASS importedKey.algorithm.hash.name is "SHA-512" | |
620 PASS importedKey.usages.join(',') is "sign" | |
621 PASS importedKey is not clonedKey | |
622 PASS clonedKey.extraProperty is undefined. | |
623 PASS clonedKey.type is "secret" | |
624 PASS typeof clonedKey.extractable is 'boolean' | |
625 PASS clonedKey.extractable is false | |
626 PASS clonedKey.algorithm.name is "HMAC" | |
627 PASS clonedKey.algorithm.length is 256 | |
628 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
629 PASS clonedKey.usages.join(',') is "sign" | |
630 Serialized key bytes: 3f004b022008082000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
631 | |
632 PASS importedKey.extraProperty is "hi" | |
633 PASS importedKey.type is "secret" | |
634 PASS typeof importedKey.extractable is 'boolean' | |
635 PASS importedKey.extractable is false | |
636 PASS importedKey.algorithm.name is "HMAC" | |
637 PASS importedKey.algorithm.length is 128 | |
638 PASS importedKey.algorithm.hash.name is "SHA-512" | |
639 PASS importedKey.usages.join(',') is "verify" | |
640 PASS importedKey is not clonedKey | |
641 PASS clonedKey.extraProperty is undefined. | |
642 PASS clonedKey.type is "secret" | |
643 PASS typeof clonedKey.extractable is 'boolean' | |
644 PASS clonedKey.extractable is false | |
645 PASS clonedKey.algorithm.name is "HMAC" | |
646 PASS clonedKey.algorithm.length is 128 | |
647 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
648 PASS clonedKey.usages.join(',') is "verify" | |
649 Serialized key bytes: 3f004b021008101030112233445566778899aabbccddeeff | |
650 | |
651 PASS importedKey.extraProperty is "hi" | |
652 PASS importedKey.type is "secret" | |
653 PASS typeof importedKey.extractable is 'boolean' | |
654 PASS importedKey.extractable is false | |
655 PASS importedKey.algorithm.name is "HMAC" | |
656 PASS importedKey.algorithm.length is 256 | |
657 PASS importedKey.algorithm.hash.name is "SHA-512" | |
658 PASS importedKey.usages.join(',') is "verify" | |
659 PASS importedKey is not clonedKey | |
660 PASS clonedKey.extraProperty is undefined. | |
661 PASS clonedKey.type is "secret" | |
662 PASS typeof clonedKey.extractable is 'boolean' | |
663 PASS clonedKey.extractable is false | |
664 PASS clonedKey.algorithm.name is "HMAC" | |
665 PASS clonedKey.algorithm.length is 256 | |
666 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
667 PASS clonedKey.usages.join(',') is "verify" | |
668 Serialized key bytes: 3f004b022008102000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
669 | |
670 PASS importedKey.extraProperty is "hi" | |
671 PASS importedKey.type is "secret" | |
672 PASS typeof importedKey.extractable is 'boolean' | |
673 PASS importedKey.extractable is false | |
674 PASS importedKey.algorithm.name is "HMAC" | |
675 PASS importedKey.algorithm.length is 128 | |
676 PASS importedKey.algorithm.hash.name is "SHA-512" | |
677 PASS importedKey.usages.join(',') is "sign,verify" | |
678 PASS importedKey is not clonedKey | |
679 PASS clonedKey.extraProperty is undefined. | |
680 PASS clonedKey.type is "secret" | |
681 PASS typeof clonedKey.extractable is 'boolean' | |
682 PASS clonedKey.extractable is false | |
683 PASS clonedKey.algorithm.name is "HMAC" | |
684 PASS clonedKey.algorithm.length is 128 | |
685 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
686 PASS clonedKey.usages.join(',') is "sign,verify" | |
687 Serialized key bytes: 3f004b021008181030112233445566778899aabbccddeeff | |
688 | |
689 PASS importedKey.extraProperty is "hi" | |
690 PASS importedKey.type is "secret" | |
691 PASS typeof importedKey.extractable is 'boolean' | |
692 PASS importedKey.extractable is false | |
693 PASS importedKey.algorithm.name is "HMAC" | |
694 PASS importedKey.algorithm.length is 256 | |
695 PASS importedKey.algorithm.hash.name is "SHA-512" | |
696 PASS importedKey.usages.join(',') is "sign,verify" | |
697 PASS importedKey is not clonedKey | |
698 PASS clonedKey.extraProperty is undefined. | |
699 PASS clonedKey.type is "secret" | |
700 PASS typeof clonedKey.extractable is 'boolean' | |
701 PASS clonedKey.extractable is false | |
702 PASS clonedKey.algorithm.name is "HMAC" | |
703 PASS clonedKey.algorithm.length is 256 | |
704 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
705 PASS clonedKey.usages.join(',') is "sign,verify" | |
706 Serialized key bytes: 3f004b022008182000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
707 | |
708 PASS successfullyParsed is true | |
709 | |
710 TEST COMPLETE | |
711 | |
OLD | NEW |