OLD | NEW |
1 Tests structured cloning of EC public keys | 1 Tests structured cloning of ECDSA 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 "public" | 7 PASS importedKey.type is "public" |
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 "ECDSA" | 10 PASS importedKey.algorithm.name is "ECDSA" |
11 PASS importedKey.algorithm.namedCurve is "P-256" | 11 PASS importedKey.algorithm.namedCurve is "P-256" |
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 "public" | 15 PASS clonedKey.type is "public" |
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 "ECDSA" | 18 PASS clonedKey.algorithm.name is "ECDSA" |
19 PASS clonedKey.algorithm.namedCurve is "P-256" | 19 PASS clonedKey.algorithm.namedCurve is "P-256" |
20 PASS clonedKey.usages.join(',') is "" | 20 PASS clonedKey.usages.join(',') is "" |
21 Serialized key bytes: 3f004b050e0101015b3059301306072a8648ce3d020106082a8648ce3d
030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f72d
51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78 | 21 Serialized key bytes: 3f004b050e0101015b3059301306072a8648ce3d020106082a8648ce3d
030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f72d
51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78 |
22 PASS: Cloned key exported data should be [3059301306072a8648ce3d020106082a8648ce
3d030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f7
2d51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78] and was | 22 PASS: Cloned key exported data should be [3059301306072a8648ce3d020106082a8648ce
3d030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f7
2d51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78] and was |
23 | 23 |
24 PASS importedKey.extraProperty is "hi" | 24 PASS importedKey.extraProperty is "hi" |
25 PASS importedKey.type is "public" | 25 PASS importedKey.type is "public" |
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 "ECDSA" | 28 PASS importedKey.algorithm.name is "ECDSA" |
29 PASS importedKey.algorithm.namedCurve is "P-384" | 29 PASS importedKey.algorithm.namedCurve is "P-256" |
30 PASS importedKey.usages.join(',') is "" | 30 PASS importedKey.usages.join(',') is "verify" |
31 PASS importedKey is not clonedKey | 31 PASS importedKey is not clonedKey |
32 PASS clonedKey.extraProperty is undefined. | 32 PASS clonedKey.extraProperty is undefined. |
33 PASS clonedKey.type is "public" | 33 PASS clonedKey.type is "public" |
34 PASS typeof clonedKey.extractable is 'boolean' | 34 PASS typeof clonedKey.extractable is 'boolean' |
35 PASS clonedKey.extractable is true | 35 PASS clonedKey.extractable is true |
36 PASS clonedKey.algorithm.name is "ECDSA" | 36 PASS clonedKey.algorithm.name is "ECDSA" |
37 PASS clonedKey.algorithm.namedCurve is "P-384" | 37 PASS clonedKey.algorithm.namedCurve is "P-256" |
38 PASS clonedKey.usages.join(',') is "" | 38 PASS clonedKey.usages.join(',') is "verify" |
39 Serialized key bytes: 3f004b050e010201783076301006072a8648ce3d020106052b81040022
036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c269
3f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d699
4c43c7feedb98a4a31edfb35e89a30013c3b926700 | 39 Serialized key bytes: 3f004b050e0101115b3059301306072a8648ce3d020106082a8648ce3d
030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f72d
51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78 |
40 PASS: Cloned key exported data should be [3076301006072a8648ce3d020106052b810400
22036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c2
693f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d6
994c43c7feedb98a4a31edfb35e89a30013c3b9267] and was | 40 PASS: Cloned key exported data should be [3059301306072a8648ce3d020106082a8648ce
3d030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f7
2d51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78] and was |
41 | 41 |
42 PASS importedKey.extraProperty is "hi" | 42 PASS importedKey.extraProperty is "hi" |
43 PASS importedKey.type is "public" | 43 PASS importedKey.type is "public" |
44 PASS typeof importedKey.extractable is 'boolean' | 44 PASS typeof importedKey.extractable is 'boolean' |
45 PASS importedKey.extractable is true | 45 PASS importedKey.extractable is false |
46 PASS importedKey.algorithm.name is "ECDSA" | 46 PASS importedKey.algorithm.name is "ECDSA" |
47 PASS importedKey.algorithm.namedCurve is "P-521" | 47 PASS importedKey.algorithm.namedCurve is "P-256" |
48 PASS importedKey.usages.join(',') is "" | 48 PASS importedKey.usages.join(',') is "" |
49 PASS importedKey is not clonedKey | 49 PASS importedKey is not clonedKey |
50 PASS clonedKey.extraProperty is undefined. | 50 PASS clonedKey.extraProperty is undefined. |
51 PASS clonedKey.type is "public" | 51 PASS clonedKey.type is "public" |
52 PASS typeof clonedKey.extractable is 'boolean' | 52 PASS typeof clonedKey.extractable is 'boolean' |
53 PASS clonedKey.extractable is true | 53 PASS clonedKey.extractable is false |
54 PASS clonedKey.algorithm.name is "ECDSA" | 54 PASS clonedKey.algorithm.name is "ECDSA" |
55 PASS clonedKey.algorithm.namedCurve is "P-521" | 55 PASS clonedKey.algorithm.namedCurve is "P-256" |
56 PASS clonedKey.usages.join(',') is "" | 56 PASS clonedKey.usages.join(',') is "" |
57 Serialized key bytes: 3f004b050e0103019e0130819b301006072a8648ce3d020106052b8104
0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6
f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9
be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860
857e16d6cbb79501bc9e3a32bd172ea8a71dee | 57 Serialized key bytes: 3f004b050e0101005b3059301306072a8648ce3d020106082a8648ce3d
030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f72d
51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78 |
58 PASS: Cloned key exported data should be [30819b301006072a8648ce3d020106052b8104
0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6
f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9
be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860
857e16d6cbb79501bc9e3a32bd172ea8a71dee] and was | |
59 | 58 |
60 PASS importedKey.extraProperty is "hi" | 59 PASS importedKey.extraProperty is "hi" |
61 PASS importedKey.type is "public" | 60 PASS importedKey.type is "public" |
62 PASS typeof importedKey.extractable is 'boolean' | 61 PASS typeof importedKey.extractable is 'boolean' |
63 PASS importedKey.extractable is true | 62 PASS importedKey.extractable is false |
64 PASS importedKey.algorithm.name is "ECDSA" | 63 PASS importedKey.algorithm.name is "ECDSA" |
65 PASS importedKey.algorithm.namedCurve is "P-256" | 64 PASS importedKey.algorithm.namedCurve is "P-256" |
66 PASS importedKey.usages.join(',') is "verify" | 65 PASS importedKey.usages.join(',') is "verify" |
67 PASS importedKey is not clonedKey | 66 PASS importedKey is not clonedKey |
68 PASS clonedKey.extraProperty is undefined. | 67 PASS clonedKey.extraProperty is undefined. |
69 PASS clonedKey.type is "public" | 68 PASS clonedKey.type is "public" |
70 PASS typeof clonedKey.extractable is 'boolean' | 69 PASS typeof clonedKey.extractable is 'boolean' |
71 PASS clonedKey.extractable is true | 70 PASS clonedKey.extractable is false |
72 PASS clonedKey.algorithm.name is "ECDSA" | 71 PASS clonedKey.algorithm.name is "ECDSA" |
73 PASS clonedKey.algorithm.namedCurve is "P-256" | 72 PASS clonedKey.algorithm.namedCurve is "P-256" |
74 PASS clonedKey.usages.join(',') is "verify" | 73 PASS clonedKey.usages.join(',') is "verify" |
75 Serialized key bytes: 3f004b050e0101115b3059301306072a8648ce3d020106082a8648ce3d
030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f72d
51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78 | 74 Serialized key bytes: 3f004b050e0101105b3059301306072a8648ce3d020106082a8648ce3d
030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f72d
51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78 |
76 PASS: Cloned key exported data should be [3059301306072a8648ce3d020106082a8648ce
3d030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f7
2d51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78] and was | |
77 | 75 |
78 PASS importedKey.extraProperty is "hi" | 76 PASS importedKey.extraProperty is "hi" |
79 PASS importedKey.type is "public" | 77 PASS importedKey.type is "public" |
80 PASS typeof importedKey.extractable is 'boolean' | 78 PASS typeof importedKey.extractable is 'boolean' |
81 PASS importedKey.extractable is true | 79 PASS importedKey.extractable is true |
82 PASS importedKey.algorithm.name is "ECDSA" | 80 PASS importedKey.algorithm.name is "ECDSA" |
83 PASS importedKey.algorithm.namedCurve is "P-384" | 81 PASS importedKey.algorithm.namedCurve is "P-384" |
84 PASS importedKey.usages.join(',') is "verify" | 82 PASS importedKey.usages.join(',') is "" |
85 PASS importedKey is not clonedKey | 83 PASS importedKey is not clonedKey |
86 PASS clonedKey.extraProperty is undefined. | 84 PASS clonedKey.extraProperty is undefined. |
87 PASS clonedKey.type is "public" | 85 PASS clonedKey.type is "public" |
88 PASS typeof clonedKey.extractable is 'boolean' | 86 PASS typeof clonedKey.extractable is 'boolean' |
89 PASS clonedKey.extractable is true | 87 PASS clonedKey.extractable is true |
90 PASS clonedKey.algorithm.name is "ECDSA" | 88 PASS clonedKey.algorithm.name is "ECDSA" |
91 PASS clonedKey.algorithm.namedCurve is "P-384" | 89 PASS clonedKey.algorithm.namedCurve is "P-384" |
92 PASS clonedKey.usages.join(',') is "verify" | 90 PASS clonedKey.usages.join(',') is "" |
93 Serialized key bytes: 3f004b050e010211783076301006072a8648ce3d020106052b81040022
036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c269
3f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d699
4c43c7feedb98a4a31edfb35e89a30013c3b926700 | 91 Serialized key bytes: 3f004b050e010201783076301006072a8648ce3d020106052b81040022
036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c269
3f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d699
4c43c7feedb98a4a31edfb35e89a30013c3b926700 |
94 PASS: Cloned key exported data should be [3076301006072a8648ce3d020106052b810400
22036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c2
693f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d6
994c43c7feedb98a4a31edfb35e89a30013c3b9267] and was | 92 PASS: Cloned key exported data should be [3076301006072a8648ce3d020106052b810400
22036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c2
693f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d6
994c43c7feedb98a4a31edfb35e89a30013c3b9267] and was |
95 | 93 |
96 PASS importedKey.extraProperty is "hi" | 94 PASS importedKey.extraProperty is "hi" |
97 PASS importedKey.type is "public" | 95 PASS importedKey.type is "public" |
98 PASS typeof importedKey.extractable is 'boolean' | 96 PASS typeof importedKey.extractable is 'boolean' |
99 PASS importedKey.extractable is true | 97 PASS importedKey.extractable is true |
100 PASS importedKey.algorithm.name is "ECDSA" | 98 PASS importedKey.algorithm.name is "ECDSA" |
101 PASS importedKey.algorithm.namedCurve is "P-521" | 99 PASS importedKey.algorithm.namedCurve is "P-384" |
102 PASS importedKey.usages.join(',') is "verify" | 100 PASS importedKey.usages.join(',') is "verify" |
103 PASS importedKey is not clonedKey | 101 PASS importedKey is not clonedKey |
104 PASS clonedKey.extraProperty is undefined. | 102 PASS clonedKey.extraProperty is undefined. |
105 PASS clonedKey.type is "public" | 103 PASS clonedKey.type is "public" |
106 PASS typeof clonedKey.extractable is 'boolean' | 104 PASS typeof clonedKey.extractable is 'boolean' |
107 PASS clonedKey.extractable is true | 105 PASS clonedKey.extractable is true |
108 PASS clonedKey.algorithm.name is "ECDSA" | 106 PASS clonedKey.algorithm.name is "ECDSA" |
109 PASS clonedKey.algorithm.namedCurve is "P-521" | 107 PASS clonedKey.algorithm.namedCurve is "P-384" |
110 PASS clonedKey.usages.join(',') is "verify" | 108 PASS clonedKey.usages.join(',') is "verify" |
111 Serialized key bytes: 3f004b050e0103119e0130819b301006072a8648ce3d020106052b8104
0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6
f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9
be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860
857e16d6cbb79501bc9e3a32bd172ea8a71dee | 109 Serialized key bytes: 3f004b050e010211783076301006072a8648ce3d020106052b81040022
036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c269
3f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d699
4c43c7feedb98a4a31edfb35e89a30013c3b926700 |
112 PASS: Cloned key exported data should be [30819b301006072a8648ce3d020106052b8104
0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6
f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9
be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860
857e16d6cbb79501bc9e3a32bd172ea8a71dee] and was | 110 PASS: Cloned key exported data should be [3076301006072a8648ce3d020106052b810400
22036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c2
693f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d6
994c43c7feedb98a4a31edfb35e89a30013c3b9267] and was |
113 | 111 |
114 PASS importedKey.extraProperty is "hi" | 112 PASS importedKey.extraProperty is "hi" |
115 PASS importedKey.type is "public" | 113 PASS importedKey.type is "public" |
116 PASS typeof importedKey.extractable is 'boolean' | 114 PASS typeof importedKey.extractable is 'boolean' |
117 PASS importedKey.extractable is false | 115 PASS importedKey.extractable is false |
118 PASS importedKey.algorithm.name is "ECDSA" | 116 PASS importedKey.algorithm.name is "ECDSA" |
119 PASS importedKey.algorithm.namedCurve is "P-256" | 117 PASS importedKey.algorithm.namedCurve is "P-384" |
120 PASS importedKey.usages.join(',') is "" | 118 PASS importedKey.usages.join(',') is "" |
121 PASS importedKey is not clonedKey | 119 PASS importedKey is not clonedKey |
122 PASS clonedKey.extraProperty is undefined. | 120 PASS clonedKey.extraProperty is undefined. |
123 PASS clonedKey.type is "public" | 121 PASS clonedKey.type is "public" |
124 PASS typeof clonedKey.extractable is 'boolean' | 122 PASS typeof clonedKey.extractable is 'boolean' |
125 PASS clonedKey.extractable is false | 123 PASS clonedKey.extractable is false |
126 PASS clonedKey.algorithm.name is "ECDSA" | 124 PASS clonedKey.algorithm.name is "ECDSA" |
127 PASS clonedKey.algorithm.namedCurve is "P-256" | 125 PASS clonedKey.algorithm.namedCurve is "P-384" |
128 PASS clonedKey.usages.join(',') is "" | 126 PASS clonedKey.usages.join(',') is "" |
129 Serialized key bytes: 3f004b050e0101005b3059301306072a8648ce3d020106082a8648ce3d
030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f72d
51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78 | 127 Serialized key bytes: 3f004b050e010200783076301006072a8648ce3d020106052b81040022
036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c269
3f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d699
4c43c7feedb98a4a31edfb35e89a30013c3b926700 |
130 | 128 |
131 PASS importedKey.extraProperty is "hi" | 129 PASS importedKey.extraProperty is "hi" |
132 PASS importedKey.type is "public" | 130 PASS importedKey.type is "public" |
133 PASS typeof importedKey.extractable is 'boolean' | 131 PASS typeof importedKey.extractable is 'boolean' |
134 PASS importedKey.extractable is false | 132 PASS importedKey.extractable is false |
135 PASS importedKey.algorithm.name is "ECDSA" | 133 PASS importedKey.algorithm.name is "ECDSA" |
136 PASS importedKey.algorithm.namedCurve is "P-384" | 134 PASS importedKey.algorithm.namedCurve is "P-384" |
137 PASS importedKey.usages.join(',') is "" | 135 PASS importedKey.usages.join(',') is "verify" |
138 PASS importedKey is not clonedKey | 136 PASS importedKey is not clonedKey |
139 PASS clonedKey.extraProperty is undefined. | 137 PASS clonedKey.extraProperty is undefined. |
140 PASS clonedKey.type is "public" | 138 PASS clonedKey.type is "public" |
141 PASS typeof clonedKey.extractable is 'boolean' | 139 PASS typeof clonedKey.extractable is 'boolean' |
142 PASS clonedKey.extractable is false | 140 PASS clonedKey.extractable is false |
143 PASS clonedKey.algorithm.name is "ECDSA" | 141 PASS clonedKey.algorithm.name is "ECDSA" |
144 PASS clonedKey.algorithm.namedCurve is "P-384" | 142 PASS clonedKey.algorithm.namedCurve is "P-384" |
145 PASS clonedKey.usages.join(',') is "" | 143 PASS clonedKey.usages.join(',') is "verify" |
146 Serialized key bytes: 3f004b050e010200783076301006072a8648ce3d020106052b81040022
036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c269
3f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d699
4c43c7feedb98a4a31edfb35e89a30013c3b926700 | 144 Serialized key bytes: 3f004b050e010210783076301006072a8648ce3d020106052b81040022
036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c269
3f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d699
4c43c7feedb98a4a31edfb35e89a30013c3b926700 |
147 | 145 |
148 PASS importedKey.extraProperty is "hi" | 146 PASS importedKey.extraProperty is "hi" |
149 PASS importedKey.type is "public" | 147 PASS importedKey.type is "public" |
| 148 PASS typeof importedKey.extractable is 'boolean' |
| 149 PASS importedKey.extractable is true |
| 150 PASS importedKey.algorithm.name is "ECDSA" |
| 151 PASS importedKey.algorithm.namedCurve is "P-521" |
| 152 PASS importedKey.usages.join(',') is "" |
| 153 PASS importedKey is not clonedKey |
| 154 PASS clonedKey.extraProperty is undefined. |
| 155 PASS clonedKey.type is "public" |
| 156 PASS typeof clonedKey.extractable is 'boolean' |
| 157 PASS clonedKey.extractable is true |
| 158 PASS clonedKey.algorithm.name is "ECDSA" |
| 159 PASS clonedKey.algorithm.namedCurve is "P-521" |
| 160 PASS clonedKey.usages.join(',') is "" |
| 161 Serialized key bytes: 3f004b050e0103019e0130819b301006072a8648ce3d020106052b8104
0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6
f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9
be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860
857e16d6cbb79501bc9e3a32bd172ea8a71dee |
| 162 PASS: Cloned key exported data should be [30819b301006072a8648ce3d020106052b8104
0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6
f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9
be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860
857e16d6cbb79501bc9e3a32bd172ea8a71dee] and was |
| 163 |
| 164 PASS importedKey.extraProperty is "hi" |
| 165 PASS importedKey.type is "public" |
| 166 PASS typeof importedKey.extractable is 'boolean' |
| 167 PASS importedKey.extractable is true |
| 168 PASS importedKey.algorithm.name is "ECDSA" |
| 169 PASS importedKey.algorithm.namedCurve is "P-521" |
| 170 PASS importedKey.usages.join(',') is "verify" |
| 171 PASS importedKey is not clonedKey |
| 172 PASS clonedKey.extraProperty is undefined. |
| 173 PASS clonedKey.type is "public" |
| 174 PASS typeof clonedKey.extractable is 'boolean' |
| 175 PASS clonedKey.extractable is true |
| 176 PASS clonedKey.algorithm.name is "ECDSA" |
| 177 PASS clonedKey.algorithm.namedCurve is "P-521" |
| 178 PASS clonedKey.usages.join(',') is "verify" |
| 179 Serialized key bytes: 3f004b050e0103119e0130819b301006072a8648ce3d020106052b8104
0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6
f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9
be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860
857e16d6cbb79501bc9e3a32bd172ea8a71dee |
| 180 PASS: Cloned key exported data should be [30819b301006072a8648ce3d020106052b8104
0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6
f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9
be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860
857e16d6cbb79501bc9e3a32bd172ea8a71dee] and was |
| 181 |
| 182 PASS importedKey.extraProperty is "hi" |
| 183 PASS importedKey.type is "public" |
150 PASS typeof importedKey.extractable is 'boolean' | 184 PASS typeof importedKey.extractable is 'boolean' |
151 PASS importedKey.extractable is false | 185 PASS importedKey.extractable is false |
152 PASS importedKey.algorithm.name is "ECDSA" | 186 PASS importedKey.algorithm.name is "ECDSA" |
153 PASS importedKey.algorithm.namedCurve is "P-521" | 187 PASS importedKey.algorithm.namedCurve is "P-521" |
154 PASS importedKey.usages.join(',') is "" | 188 PASS importedKey.usages.join(',') is "" |
155 PASS importedKey is not clonedKey | 189 PASS importedKey is not clonedKey |
156 PASS clonedKey.extraProperty is undefined. | 190 PASS clonedKey.extraProperty is undefined. |
157 PASS clonedKey.type is "public" | 191 PASS clonedKey.type is "public" |
158 PASS typeof clonedKey.extractable is 'boolean' | 192 PASS typeof clonedKey.extractable is 'boolean' |
159 PASS clonedKey.extractable is false | 193 PASS clonedKey.extractable is false |
160 PASS clonedKey.algorithm.name is "ECDSA" | 194 PASS clonedKey.algorithm.name is "ECDSA" |
161 PASS clonedKey.algorithm.namedCurve is "P-521" | 195 PASS clonedKey.algorithm.namedCurve is "P-521" |
162 PASS clonedKey.usages.join(',') is "" | 196 PASS clonedKey.usages.join(',') is "" |
163 Serialized key bytes: 3f004b050e0103009e0130819b301006072a8648ce3d020106052b8104
0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6
f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9
be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860
857e16d6cbb79501bc9e3a32bd172ea8a71dee | 197 Serialized key bytes: 3f004b050e0103009e0130819b301006072a8648ce3d020106052b8104
0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6
f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9
be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860
857e16d6cbb79501bc9e3a32bd172ea8a71dee |
164 | 198 |
165 PASS importedKey.extraProperty is "hi" | 199 PASS importedKey.extraProperty is "hi" |
166 PASS importedKey.type is "public" | 200 PASS importedKey.type is "public" |
167 PASS typeof importedKey.extractable is 'boolean' | 201 PASS typeof importedKey.extractable is 'boolean' |
168 PASS importedKey.extractable is false | 202 PASS importedKey.extractable is false |
169 PASS importedKey.algorithm.name is "ECDSA" | 203 PASS importedKey.algorithm.name is "ECDSA" |
170 PASS importedKey.algorithm.namedCurve is "P-256" | 204 PASS importedKey.algorithm.namedCurve is "P-521" |
171 PASS importedKey.usages.join(',') is "verify" | 205 PASS importedKey.usages.join(',') is "verify" |
172 PASS importedKey is not clonedKey | 206 PASS importedKey is not clonedKey |
173 PASS clonedKey.extraProperty is undefined. | 207 PASS clonedKey.extraProperty is undefined. |
174 PASS clonedKey.type is "public" | 208 PASS clonedKey.type is "public" |
175 PASS typeof clonedKey.extractable is 'boolean' | 209 PASS typeof clonedKey.extractable is 'boolean' |
176 PASS clonedKey.extractable is false | 210 PASS clonedKey.extractable is false |
177 PASS clonedKey.algorithm.name is "ECDSA" | 211 PASS clonedKey.algorithm.name is "ECDSA" |
178 PASS clonedKey.algorithm.namedCurve is "P-256" | |
179 PASS clonedKey.usages.join(',') is "verify" | |
180 Serialized key bytes: 3f004b050e0101105b3059301306072a8648ce3d020106082a8648ce3d
030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f72d
51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78 | |
181 | |
182 PASS importedKey.extraProperty is "hi" | |
183 PASS importedKey.type is "public" | |
184 PASS typeof importedKey.extractable is 'boolean' | |
185 PASS importedKey.extractable is false | |
186 PASS importedKey.algorithm.name is "ECDSA" | |
187 PASS importedKey.algorithm.namedCurve is "P-384" | |
188 PASS importedKey.usages.join(',') is "verify" | |
189 PASS importedKey is not clonedKey | |
190 PASS clonedKey.extraProperty is undefined. | |
191 PASS clonedKey.type is "public" | |
192 PASS typeof clonedKey.extractable is 'boolean' | |
193 PASS clonedKey.extractable is false | |
194 PASS clonedKey.algorithm.name is "ECDSA" | |
195 PASS clonedKey.algorithm.namedCurve is "P-384" | |
196 PASS clonedKey.usages.join(',') is "verify" | |
197 Serialized key bytes: 3f004b050e010210783076301006072a8648ce3d020106052b81040022
036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c269
3f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d699
4c43c7feedb98a4a31edfb35e89a30013c3b926700 | |
198 | |
199 PASS importedKey.extraProperty is "hi" | |
200 PASS importedKey.type is "public" | |
201 PASS typeof importedKey.extractable is 'boolean' | |
202 PASS importedKey.extractable is false | |
203 PASS importedKey.algorithm.name is "ECDSA" | |
204 PASS importedKey.algorithm.namedCurve is "P-521" | |
205 PASS importedKey.usages.join(',') is "verify" | |
206 PASS importedKey is not clonedKey | |
207 PASS clonedKey.extraProperty is undefined. | |
208 PASS clonedKey.type is "public" | |
209 PASS typeof clonedKey.extractable is 'boolean' | |
210 PASS clonedKey.extractable is false | |
211 PASS clonedKey.algorithm.name is "ECDSA" | |
212 PASS clonedKey.algorithm.namedCurve is "P-521" | 212 PASS clonedKey.algorithm.namedCurve is "P-521" |
213 PASS clonedKey.usages.join(',') is "verify" | 213 PASS clonedKey.usages.join(',') is "verify" |
214 Serialized key bytes: 3f004b050e0103109e0130819b301006072a8648ce3d020106052b8104
0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6
f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9
be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860
857e16d6cbb79501bc9e3a32bd172ea8a71dee | 214 Serialized key bytes: 3f004b050e0103109e0130819b301006072a8648ce3d020106052b8104
0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6
f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9
be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860
857e16d6cbb79501bc9e3a32bd172ea8a71dee |
215 | 215 |
| 216 PASS importedKey.extraProperty is "hi" |
| 217 PASS importedKey.type is "private" |
| 218 PASS typeof importedKey.extractable is 'boolean' |
| 219 PASS importedKey.extractable is true |
| 220 PASS importedKey.algorithm.name is "ECDSA" |
| 221 PASS importedKey.algorithm.namedCurve is "P-256" |
| 222 PASS importedKey.usages.join(',') is "sign" |
| 223 PASS importedKey is not clonedKey |
| 224 PASS clonedKey.extraProperty is undefined. |
| 225 PASS clonedKey.type is "private" |
| 226 PASS typeof clonedKey.extractable is 'boolean' |
| 227 PASS clonedKey.extractable is true |
| 228 PASS clonedKey.algorithm.name is "ECDSA" |
| 229 PASS clonedKey.algorithm.namedCurve is "P-256" |
| 230 PASS clonedKey.usages.join(',') is "sign" |
| 231 Serialized key bytes: 3f004b050e0201098a01308187020100301306072a8648ce3d02010608
2a8648ce3d030107046d306b02010104201fe33950c5f461124ae992c2bdfdf1c73b1615f571bd56
7e60d19aa1f48cdf42a144034200047c110c66dcfda807f6e69e45ddb3c74f69a1484d203e8dc5ad
a8e9a9dd7cb3c70df448986e51bde5d1576f99901f9c2c6a806a47fd907643a72b835597efc8c6 |
| 232 PASS: Cloned key exported data should be [308187020100301306072a8648ce3d02010608
2a8648ce3d030107046d306b02010104201fe33950c5f461124ae992c2bdfdf1c73b1615f571bd56
7e60d19aa1f48cdf42a144034200047c110c66dcfda807f6e69e45ddb3c74f69a1484d203e8dc5ad
a8e9a9dd7cb3c70df448986e51bde5d1576f99901f9c2c6a806a47fd907643a72b835597efc8c6]
and was |
| 233 |
| 234 PASS importedKey.extraProperty is "hi" |
| 235 PASS importedKey.type is "private" |
| 236 PASS typeof importedKey.extractable is 'boolean' |
| 237 PASS importedKey.extractable is false |
| 238 PASS importedKey.algorithm.name is "ECDSA" |
| 239 PASS importedKey.algorithm.namedCurve is "P-256" |
| 240 PASS importedKey.usages.join(',') is "sign" |
| 241 PASS importedKey is not clonedKey |
| 242 PASS clonedKey.extraProperty is undefined. |
| 243 PASS clonedKey.type is "private" |
| 244 PASS typeof clonedKey.extractable is 'boolean' |
| 245 PASS clonedKey.extractable is false |
| 246 PASS clonedKey.algorithm.name is "ECDSA" |
| 247 PASS clonedKey.algorithm.namedCurve is "P-256" |
| 248 PASS clonedKey.usages.join(',') is "sign" |
| 249 Serialized key bytes: 3f004b050e0201088a01308187020100301306072a8648ce3d02010608
2a8648ce3d030107046d306b02010104201fe33950c5f461124ae992c2bdfdf1c73b1615f571bd56
7e60d19aa1f48cdf42a144034200047c110c66dcfda807f6e69e45ddb3c74f69a1484d203e8dc5ad
a8e9a9dd7cb3c70df448986e51bde5d1576f99901f9c2c6a806a47fd907643a72b835597efc8c6 |
| 250 |
| 251 PASS importedKey.extraProperty is "hi" |
| 252 PASS importedKey.type is "private" |
| 253 PASS typeof importedKey.extractable is 'boolean' |
| 254 PASS importedKey.extractable is true |
| 255 PASS importedKey.algorithm.name is "ECDSA" |
| 256 PASS importedKey.algorithm.namedCurve is "P-384" |
| 257 PASS importedKey.usages.join(',') is "sign" |
| 258 PASS importedKey is not clonedKey |
| 259 PASS clonedKey.extraProperty is undefined. |
| 260 PASS clonedKey.type is "private" |
| 261 PASS typeof clonedKey.extractable is 'boolean' |
| 262 PASS clonedKey.extractable is true |
| 263 PASS clonedKey.algorithm.name is "ECDSA" |
| 264 PASS clonedKey.algorithm.namedCurve is "P-384" |
| 265 PASS clonedKey.usages.join(',') is "sign" |
| 266 Serialized key bytes: 3f004b050e020209b9013081b6020100301006072a8648ce3d02010605
2b8104002204819e30819b0201010430a492ce8fa90084c227e1a32f7974d39e9ff67a7e8705ec34
19b35fb607582bebd461e0b1520ac76ec2dd4e9b63ebae71a16403620004e55fee6c49d8d523f5ce
7bf9c0425ce4ff650708b7de5cfb095901523979a7f042602db30854735369813b5c3f5ef86828f5
9cc5dc509892a988d38a8e2519de3d0c4fd0fbdb0993e38f18506c17606c5e24249246f1ce94983a
5361c5be983e00 |
| 267 PASS: Cloned key exported data should be [3081b6020100301006072a8648ce3d02010605
2b8104002204819e30819b0201010430a492ce8fa90084c227e1a32f7974d39e9ff67a7e8705ec34
19b35fb607582bebd461e0b1520ac76ec2dd4e9b63ebae71a16403620004e55fee6c49d8d523f5ce
7bf9c0425ce4ff650708b7de5cfb095901523979a7f042602db30854735369813b5c3f5ef86828f5
9cc5dc509892a988d38a8e2519de3d0c4fd0fbdb0993e38f18506c17606c5e24249246f1ce94983a
5361c5be983e] and was |
| 268 |
| 269 PASS importedKey.extraProperty is "hi" |
| 270 PASS importedKey.type is "private" |
| 271 PASS typeof importedKey.extractable is 'boolean' |
| 272 PASS importedKey.extractable is false |
| 273 PASS importedKey.algorithm.name is "ECDSA" |
| 274 PASS importedKey.algorithm.namedCurve is "P-384" |
| 275 PASS importedKey.usages.join(',') is "sign" |
| 276 PASS importedKey is not clonedKey |
| 277 PASS clonedKey.extraProperty is undefined. |
| 278 PASS clonedKey.type is "private" |
| 279 PASS typeof clonedKey.extractable is 'boolean' |
| 280 PASS clonedKey.extractable is false |
| 281 PASS clonedKey.algorithm.name is "ECDSA" |
| 282 PASS clonedKey.algorithm.namedCurve is "P-384" |
| 283 PASS clonedKey.usages.join(',') is "sign" |
| 284 Serialized key bytes: 3f004b050e020208b9013081b6020100301006072a8648ce3d02010605
2b8104002204819e30819b0201010430a492ce8fa90084c227e1a32f7974d39e9ff67a7e8705ec34
19b35fb607582bebd461e0b1520ac76ec2dd4e9b63ebae71a16403620004e55fee6c49d8d523f5ce
7bf9c0425ce4ff650708b7de5cfb095901523979a7f042602db30854735369813b5c3f5ef86828f5
9cc5dc509892a988d38a8e2519de3d0c4fd0fbdb0993e38f18506c17606c5e24249246f1ce94983a
5361c5be983e00 |
| 285 |
| 286 PASS importedKey.extraProperty is "hi" |
| 287 PASS importedKey.type is "private" |
| 288 PASS typeof importedKey.extractable is 'boolean' |
| 289 PASS importedKey.extractable is true |
| 290 PASS importedKey.algorithm.name is "ECDSA" |
| 291 PASS importedKey.algorithm.namedCurve is "P-521" |
| 292 PASS importedKey.usages.join(',') is "sign" |
| 293 PASS importedKey is not clonedKey |
| 294 PASS clonedKey.extraProperty is undefined. |
| 295 PASS clonedKey.type is "private" |
| 296 PASS typeof clonedKey.extractable is 'boolean' |
| 297 PASS clonedKey.extractable is true |
| 298 PASS clonedKey.algorithm.name is "ECDSA" |
| 299 PASS clonedKey.algorithm.namedCurve is "P-521" |
| 300 PASS clonedKey.usages.join(',') is "sign" |
| 301 Serialized key bytes: 3f004b050e020309f1013081ee020100301006072a8648ce3d02010605
2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3
76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203
ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9
b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8
23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3
3052fe4c0fee98f033106064982d88f4e03549d4a64d00 |
| 302 PASS: Cloned key exported data should be [3081ee020100301006072a8648ce3d02010605
2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3
76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203
ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9
b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8
23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3
3052fe4c0fee98f033106064982d88f4e03549d4a64d] and was |
| 303 |
| 304 PASS importedKey.extraProperty is "hi" |
| 305 PASS importedKey.type is "private" |
| 306 PASS typeof importedKey.extractable is 'boolean' |
| 307 PASS importedKey.extractable is false |
| 308 PASS importedKey.algorithm.name is "ECDSA" |
| 309 PASS importedKey.algorithm.namedCurve is "P-521" |
| 310 PASS importedKey.usages.join(',') is "sign" |
| 311 PASS importedKey is not clonedKey |
| 312 PASS clonedKey.extraProperty is undefined. |
| 313 PASS clonedKey.type is "private" |
| 314 PASS typeof clonedKey.extractable is 'boolean' |
| 315 PASS clonedKey.extractable is false |
| 316 PASS clonedKey.algorithm.name is "ECDSA" |
| 317 PASS clonedKey.algorithm.namedCurve is "P-521" |
| 318 PASS clonedKey.usages.join(',') is "sign" |
| 319 Serialized key bytes: 3f004b050e020308f1013081ee020100301006072a8648ce3d02010605
2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3
76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203
ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9
b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8
23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3
3052fe4c0fee98f033106064982d88f4e03549d4a64d00 |
| 320 |
216 PASS successfullyParsed is true | 321 PASS successfullyParsed is true |
217 | 322 |
218 TEST COMPLETE | 323 TEST COMPLETE |
219 | 324 |
OLD | NEW |