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

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

Powered by Google App Engine
This is Rietveld 408576698