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

Side by Side Diff: LayoutTests/crypto/subtle/clone-ecKey-public-expected.txt

Issue 958353003: [WebCrypto] Move cloneKey test to respective algorithm directory (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Tests structured cloning of EC public 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 "public"
8 PASS typeof importedKey.extractable is 'boolean'
9 PASS importedKey.extractable is true
10 PASS importedKey.algorithm.name is "ECDSA"
11 PASS importedKey.algorithm.namedCurve is "P-256"
12 PASS importedKey.usages.join(',') is ""
13 PASS importedKey is not clonedKey
14 PASS clonedKey.extraProperty is undefined.
15 PASS clonedKey.type is "public"
16 PASS typeof clonedKey.extractable is 'boolean'
17 PASS clonedKey.extractable is true
18 PASS clonedKey.algorithm.name is "ECDSA"
19 PASS clonedKey.algorithm.namedCurve is "P-256"
20 PASS clonedKey.usages.join(',') is ""
21 Serialized key bytes: 3f004b050e0101015b3059301306072a8648ce3d020106082a8648ce3d 030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f72d 51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78
22 PASS: Cloned key exported data should be [3059301306072a8648ce3d020106082a8648ce 3d030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f7 2d51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78] and was
23
24 PASS importedKey.extraProperty is "hi"
25 PASS importedKey.type is "public"
26 PASS typeof importedKey.extractable is 'boolean'
27 PASS importedKey.extractable is true
28 PASS importedKey.algorithm.name is "ECDSA"
29 PASS importedKey.algorithm.namedCurve is "P-384"
30 PASS importedKey.usages.join(',') is ""
31 PASS importedKey is not clonedKey
32 PASS clonedKey.extraProperty is undefined.
33 PASS clonedKey.type is "public"
34 PASS typeof clonedKey.extractable is 'boolean'
35 PASS clonedKey.extractable is true
36 PASS clonedKey.algorithm.name is "ECDSA"
37 PASS clonedKey.algorithm.namedCurve is "P-384"
38 PASS clonedKey.usages.join(',') is ""
39 Serialized key bytes: 3f004b050e010201783076301006072a8648ce3d020106052b81040022 036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c269 3f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d699 4c43c7feedb98a4a31edfb35e89a30013c3b926700
40 PASS: Cloned key exported data should be [3076301006072a8648ce3d020106052b810400 22036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c2 693f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d6 994c43c7feedb98a4a31edfb35e89a30013c3b9267] and was
41
42 PASS importedKey.extraProperty is "hi"
43 PASS importedKey.type is "public"
44 PASS typeof importedKey.extractable is 'boolean'
45 PASS importedKey.extractable is true
46 PASS importedKey.algorithm.name is "ECDSA"
47 PASS importedKey.algorithm.namedCurve is "P-521"
48 PASS importedKey.usages.join(',') is ""
49 PASS importedKey is not clonedKey
50 PASS clonedKey.extraProperty is undefined.
51 PASS clonedKey.type is "public"
52 PASS typeof clonedKey.extractable is 'boolean'
53 PASS clonedKey.extractable is true
54 PASS clonedKey.algorithm.name is "ECDSA"
55 PASS clonedKey.algorithm.namedCurve is "P-521"
56 PASS clonedKey.usages.join(',') is ""
57 Serialized key bytes: 3f004b050e0103019e0130819b301006072a8648ce3d020106052b8104 0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6 f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9 be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860 857e16d6cbb79501bc9e3a32bd172ea8a71dee
58 PASS: Cloned key exported data should be [30819b301006072a8648ce3d020106052b8104 0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6 f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9 be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860 857e16d6cbb79501bc9e3a32bd172ea8a71dee] and was
59
60 PASS importedKey.extraProperty is "hi"
61 PASS importedKey.type is "public"
62 PASS typeof importedKey.extractable is 'boolean'
63 PASS importedKey.extractable is true
64 PASS importedKey.algorithm.name is "ECDSA"
65 PASS importedKey.algorithm.namedCurve is "P-256"
66 PASS importedKey.usages.join(',') is "verify"
67 PASS importedKey is not clonedKey
68 PASS clonedKey.extraProperty is undefined.
69 PASS clonedKey.type is "public"
70 PASS typeof clonedKey.extractable is 'boolean'
71 PASS clonedKey.extractable is true
72 PASS clonedKey.algorithm.name is "ECDSA"
73 PASS clonedKey.algorithm.namedCurve is "P-256"
74 PASS clonedKey.usages.join(',') is "verify"
75 Serialized key bytes: 3f004b050e0101115b3059301306072a8648ce3d020106082a8648ce3d 030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f72d 51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78
76 PASS: Cloned key exported data should be [3059301306072a8648ce3d020106082a8648ce 3d030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f7 2d51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78] and was
77
78 PASS importedKey.extraProperty is "hi"
79 PASS importedKey.type is "public"
80 PASS typeof importedKey.extractable is 'boolean'
81 PASS importedKey.extractable is true
82 PASS importedKey.algorithm.name is "ECDSA"
83 PASS importedKey.algorithm.namedCurve is "P-384"
84 PASS importedKey.usages.join(',') is "verify"
85 PASS importedKey is not clonedKey
86 PASS clonedKey.extraProperty is undefined.
87 PASS clonedKey.type is "public"
88 PASS typeof clonedKey.extractable is 'boolean'
89 PASS clonedKey.extractable is true
90 PASS clonedKey.algorithm.name is "ECDSA"
91 PASS clonedKey.algorithm.namedCurve is "P-384"
92 PASS clonedKey.usages.join(',') is "verify"
93 Serialized key bytes: 3f004b050e010211783076301006072a8648ce3d020106052b81040022 036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c269 3f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d699 4c43c7feedb98a4a31edfb35e89a30013c3b926700
94 PASS: Cloned key exported data should be [3076301006072a8648ce3d020106052b810400 22036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c2 693f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d6 994c43c7feedb98a4a31edfb35e89a30013c3b9267] and was
95
96 PASS importedKey.extraProperty is "hi"
97 PASS importedKey.type is "public"
98 PASS typeof importedKey.extractable is 'boolean'
99 PASS importedKey.extractable is true
100 PASS importedKey.algorithm.name is "ECDSA"
101 PASS importedKey.algorithm.namedCurve is "P-521"
102 PASS importedKey.usages.join(',') is "verify"
103 PASS importedKey is not clonedKey
104 PASS clonedKey.extraProperty is undefined.
105 PASS clonedKey.type is "public"
106 PASS typeof clonedKey.extractable is 'boolean'
107 PASS clonedKey.extractable is true
108 PASS clonedKey.algorithm.name is "ECDSA"
109 PASS clonedKey.algorithm.namedCurve is "P-521"
110 PASS clonedKey.usages.join(',') is "verify"
111 Serialized key bytes: 3f004b050e0103119e0130819b301006072a8648ce3d020106052b8104 0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6 f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9 be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860 857e16d6cbb79501bc9e3a32bd172ea8a71dee
112 PASS: Cloned key exported data should be [30819b301006072a8648ce3d020106052b8104 0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6 f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9 be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860 857e16d6cbb79501bc9e3a32bd172ea8a71dee] and was
113
114 PASS importedKey.extraProperty is "hi"
115 PASS importedKey.type is "public"
116 PASS typeof importedKey.extractable is 'boolean'
117 PASS importedKey.extractable is false
118 PASS importedKey.algorithm.name is "ECDSA"
119 PASS importedKey.algorithm.namedCurve is "P-256"
120 PASS importedKey.usages.join(',') is ""
121 PASS importedKey is not clonedKey
122 PASS clonedKey.extraProperty is undefined.
123 PASS clonedKey.type is "public"
124 PASS typeof clonedKey.extractable is 'boolean'
125 PASS clonedKey.extractable is false
126 PASS clonedKey.algorithm.name is "ECDSA"
127 PASS clonedKey.algorithm.namedCurve is "P-256"
128 PASS clonedKey.usages.join(',') is ""
129 Serialized key bytes: 3f004b050e0101005b3059301306072a8648ce3d020106082a8648ce3d 030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f72d 51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78
130
131 PASS importedKey.extraProperty is "hi"
132 PASS importedKey.type is "public"
133 PASS typeof importedKey.extractable is 'boolean'
134 PASS importedKey.extractable is false
135 PASS importedKey.algorithm.name is "ECDSA"
136 PASS importedKey.algorithm.namedCurve is "P-384"
137 PASS importedKey.usages.join(',') is ""
138 PASS importedKey is not clonedKey
139 PASS clonedKey.extraProperty is undefined.
140 PASS clonedKey.type is "public"
141 PASS typeof clonedKey.extractable is 'boolean'
142 PASS clonedKey.extractable is false
143 PASS clonedKey.algorithm.name is "ECDSA"
144 PASS clonedKey.algorithm.namedCurve is "P-384"
145 PASS clonedKey.usages.join(',') is ""
146 Serialized key bytes: 3f004b050e010200783076301006072a8648ce3d020106052b81040022 036200040874a2e0b8ff448f0e54321e27f4f1e64d064cdeb7d26f458c32e930120f4e57dc85c269 3f977eed4a8ecc8db981b4d91f69446df4f4c6f5de19003f45f891d0ebcd2fffdb5c81c040e8d699 4c43c7feedb98a4a31edfb35e89a30013c3b926700
147
148 PASS importedKey.extraProperty is "hi"
149 PASS importedKey.type is "public"
150 PASS typeof importedKey.extractable is 'boolean'
151 PASS importedKey.extractable is false
152 PASS importedKey.algorithm.name is "ECDSA"
153 PASS importedKey.algorithm.namedCurve is "P-521"
154 PASS importedKey.usages.join(',') is ""
155 PASS importedKey is not clonedKey
156 PASS clonedKey.extraProperty is undefined.
157 PASS clonedKey.type is "public"
158 PASS typeof clonedKey.extractable is 'boolean'
159 PASS clonedKey.extractable is false
160 PASS clonedKey.algorithm.name is "ECDSA"
161 PASS clonedKey.algorithm.namedCurve is "P-521"
162 PASS clonedKey.usages.join(',') is ""
163 Serialized key bytes: 3f004b050e0103009e0130819b301006072a8648ce3d020106052b8104 0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6 f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9 be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860 857e16d6cbb79501bc9e3a32bd172ea8a71dee
164
165 PASS importedKey.extraProperty is "hi"
166 PASS importedKey.type is "public"
167 PASS typeof importedKey.extractable is 'boolean'
168 PASS importedKey.extractable is false
169 PASS importedKey.algorithm.name is "ECDSA"
170 PASS importedKey.algorithm.namedCurve is "P-256"
171 PASS importedKey.usages.join(',') is "verify"
172 PASS importedKey is not clonedKey
173 PASS clonedKey.extraProperty is undefined.
174 PASS clonedKey.type is "public"
175 PASS typeof clonedKey.extractable is 'boolean'
176 PASS clonedKey.extractable is false
177 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"
213 PASS clonedKey.usages.join(',') is "verify"
214 Serialized key bytes: 3f004b050e0103109e0130819b301006072a8648ce3d020106052b8104 0023038186000400f50a08703250c15f043c8c46e99783435245cf98f4f2694b0e2f8d029a514dd6 f0b086d4ed892000cd5590107aae69c4c0a7a95f7cf74e5770a07d5db55bce4ab400f2c770bab8b9 be4cdb6ecd3dc26c698da0d2599cebf3d904f7f9ca3a55e64731810d73cd317264e50baba4bc2860 857e16d6cbb79501bc9e3a32bd172ea8a71dee
215
216 PASS successfullyParsed is true
217
218 TEST COMPLETE
219
OLDNEW
« no previous file with comments | « LayoutTests/crypto/subtle/clone-ecKey-public.html ('k') | LayoutTests/crypto/subtle/clone-hkdfKey.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698