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

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

Issue 805343004: [WebCrypto] Test updates to not use keyUsage empty (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated test comment Created 6 years 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 EC private keys 1 Tests structured cloning of EC private 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 "private" 7 PASS importedKey.type is "private"
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 ""
13 PASS importedKey is not clonedKey
14 PASS clonedKey.extraProperty is undefined.
15 PASS clonedKey.type is "private"
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: 3f004b050e0201018a01308187020100301306072a8648ce3d02010608 2a8648ce3d030107046d306b02010104201fe33950c5f461124ae992c2bdfdf1c73b1615f571bd56 7e60d19aa1f48cdf42a144034200047c110c66dcfda807f6e69e45ddb3c74f69a1484d203e8dc5ad a8e9a9dd7cb3c70df448986e51bde5d1576f99901f9c2c6a806a47fd907643a72b835597efc8c6
22 PASS: Cloned key exported data should be [308187020100301306072a8648ce3d02010608 2a8648ce3d030107046d306b02010104201fe33950c5f461124ae992c2bdfdf1c73b1615f571bd56 7e60d19aa1f48cdf42a144034200047c110c66dcfda807f6e69e45ddb3c74f69a1484d203e8dc5ad a8e9a9dd7cb3c70df448986e51bde5d1576f99901f9c2c6a806a47fd907643a72b835597efc8c6] and was
23
24 PASS importedKey.extraProperty is "hi"
25 PASS importedKey.type is "private"
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 "private"
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: 3f004b050e020201b9013081b6020100301006072a8648ce3d02010605 2b8104002204819e30819b0201010430a492ce8fa90084c227e1a32f7974d39e9ff67a7e8705ec34 19b35fb607582bebd461e0b1520ac76ec2dd4e9b63ebae71a16403620004e55fee6c49d8d523f5ce 7bf9c0425ce4ff650708b7de5cfb095901523979a7f042602db30854735369813b5c3f5ef86828f5 9cc5dc509892a988d38a8e2519de3d0c4fd0fbdb0993e38f18506c17606c5e24249246f1ce94983a 5361c5be983e00
40 PASS: Cloned key exported data should be [3081b6020100301006072a8648ce3d02010605 2b8104002204819e30819b0201010430a492ce8fa90084c227e1a32f7974d39e9ff67a7e8705ec34 19b35fb607582bebd461e0b1520ac76ec2dd4e9b63ebae71a16403620004e55fee6c49d8d523f5ce 7bf9c0425ce4ff650708b7de5cfb095901523979a7f042602db30854735369813b5c3f5ef86828f5 9cc5dc509892a988d38a8e2519de3d0c4fd0fbdb0993e38f18506c17606c5e24249246f1ce94983a 5361c5be983e] and was
41
42 PASS importedKey.extraProperty is "hi"
43 PASS importedKey.type is "private"
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 "private"
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: 3f004b050e020301f1013081ee020100301006072a8648ce3d02010605 2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3 76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203 ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9 b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8 23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3 3052fe4c0fee98f033106064982d88f4e03549d4a64d00
58 PASS: Cloned key exported data should be [3081ee020100301006072a8648ce3d02010605 2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3 76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203 ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9 b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8 23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3 3052fe4c0fee98f033106064982d88f4e03549d4a64d] and was
59
60 PASS importedKey.extraProperty is "hi"
61 PASS importedKey.type is "private"
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 "sign" 12 PASS importedKey.usages.join(',') is "sign"
67 PASS importedKey is not clonedKey 13 PASS importedKey is not clonedKey
68 PASS clonedKey.extraProperty is undefined. 14 PASS clonedKey.extraProperty is undefined.
69 PASS clonedKey.type is "private" 15 PASS clonedKey.type is "private"
70 PASS typeof clonedKey.extractable is 'boolean' 16 PASS typeof clonedKey.extractable is 'boolean'
71 PASS clonedKey.extractable is true 17 PASS clonedKey.extractable is true
72 PASS clonedKey.algorithm.name is "ECDSA" 18 PASS clonedKey.algorithm.name is "ECDSA"
73 PASS clonedKey.algorithm.namedCurve is "P-256" 19 PASS clonedKey.algorithm.namedCurve is "P-256"
74 PASS clonedKey.usages.join(',') is "sign" 20 PASS clonedKey.usages.join(',') is "sign"
75 Serialized key bytes: 3f004b050e0201098a01308187020100301306072a8648ce3d02010608 2a8648ce3d030107046d306b02010104201fe33950c5f461124ae992c2bdfdf1c73b1615f571bd56 7e60d19aa1f48cdf42a144034200047c110c66dcfda807f6e69e45ddb3c74f69a1484d203e8dc5ad a8e9a9dd7cb3c70df448986e51bde5d1576f99901f9c2c6a806a47fd907643a72b835597efc8c6 21 Serialized key bytes: 3f004b050e0201098a01308187020100301306072a8648ce3d02010608 2a8648ce3d030107046d306b02010104201fe33950c5f461124ae992c2bdfdf1c73b1615f571bd56 7e60d19aa1f48cdf42a144034200047c110c66dcfda807f6e69e45ddb3c74f69a1484d203e8dc5ad a8e9a9dd7cb3c70df448986e51bde5d1576f99901f9c2c6a806a47fd907643a72b835597efc8c6
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 PASS clonedKey.usages.join(',') is "sign" 56 PASS clonedKey.usages.join(',') is "sign"
111 Serialized key bytes: 3f004b050e020309f1013081ee020100301006072a8648ce3d02010605 2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3 76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203 ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9 b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8 23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3 3052fe4c0fee98f033106064982d88f4e03549d4a64d00 57 Serialized key bytes: 3f004b050e020309f1013081ee020100301006072a8648ce3d02010605 2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3 76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203 ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9 b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8 23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3 3052fe4c0fee98f033106064982d88f4e03549d4a64d00
112 PASS: Cloned key exported data should be [3081ee020100301006072a8648ce3d02010605 2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3 76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203 ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9 b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8 23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3 3052fe4c0fee98f033106064982d88f4e03549d4a64d] and was 58 PASS: Cloned key exported data should be [3081ee020100301006072a8648ce3d02010605 2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3 76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203 ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9 b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8 23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3 3052fe4c0fee98f033106064982d88f4e03549d4a64d] and was
113 59
114 PASS importedKey.extraProperty is "hi" 60 PASS importedKey.extraProperty is "hi"
115 PASS importedKey.type is "private" 61 PASS importedKey.type is "private"
116 PASS typeof importedKey.extractable is 'boolean' 62 PASS typeof importedKey.extractable is 'boolean'
117 PASS importedKey.extractable is false 63 PASS importedKey.extractable is false
118 PASS importedKey.algorithm.name is "ECDSA" 64 PASS importedKey.algorithm.name is "ECDSA"
119 PASS importedKey.algorithm.namedCurve is "P-256" 65 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 "private"
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: 3f004b050e0201008a01308187020100301306072a8648ce3d02010608 2a8648ce3d030107046d306b02010104201fe33950c5f461124ae992c2bdfdf1c73b1615f571bd56 7e60d19aa1f48cdf42a144034200047c110c66dcfda807f6e69e45ddb3c74f69a1484d203e8dc5ad a8e9a9dd7cb3c70df448986e51bde5d1576f99901f9c2c6a806a47fd907643a72b835597efc8c6
130
131 PASS importedKey.extraProperty is "hi"
132 PASS importedKey.type is "private"
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 "private"
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: 3f004b050e020200b9013081b6020100301006072a8648ce3d02010605 2b8104002204819e30819b0201010430a492ce8fa90084c227e1a32f7974d39e9ff67a7e8705ec34 19b35fb607582bebd461e0b1520ac76ec2dd4e9b63ebae71a16403620004e55fee6c49d8d523f5ce 7bf9c0425ce4ff650708b7de5cfb095901523979a7f042602db30854735369813b5c3f5ef86828f5 9cc5dc509892a988d38a8e2519de3d0c4fd0fbdb0993e38f18506c17606c5e24249246f1ce94983a 5361c5be983e00
147
148 PASS importedKey.extraProperty is "hi"
149 PASS importedKey.type is "private"
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 "private"
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: 3f004b050e020300f1013081ee020100301006072a8648ce3d02010605 2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3 76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203 ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9 b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8 23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3 3052fe4c0fee98f033106064982d88f4e03549d4a64d00
164
165 PASS importedKey.extraProperty is "hi"
166 PASS importedKey.type is "private"
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 "sign" 66 PASS importedKey.usages.join(',') is "sign"
172 PASS importedKey is not clonedKey 67 PASS importedKey is not clonedKey
173 PASS clonedKey.extraProperty is undefined. 68 PASS clonedKey.extraProperty is undefined.
174 PASS clonedKey.type is "private" 69 PASS clonedKey.type is "private"
175 PASS typeof clonedKey.extractable is 'boolean' 70 PASS typeof clonedKey.extractable is 'boolean'
176 PASS clonedKey.extractable is false 71 PASS clonedKey.extractable is false
177 PASS clonedKey.algorithm.name is "ECDSA" 72 PASS clonedKey.algorithm.name is "ECDSA"
178 PASS clonedKey.algorithm.namedCurve is "P-256" 73 PASS clonedKey.algorithm.namedCurve is "P-256"
179 PASS clonedKey.usages.join(',') is "sign" 74 PASS clonedKey.usages.join(',') is "sign"
180 Serialized key bytes: 3f004b050e0201088a01308187020100301306072a8648ce3d02010608 2a8648ce3d030107046d306b02010104201fe33950c5f461124ae992c2bdfdf1c73b1615f571bd56 7e60d19aa1f48cdf42a144034200047c110c66dcfda807f6e69e45ddb3c74f69a1484d203e8dc5ad a8e9a9dd7cb3c70df448986e51bde5d1576f99901f9c2c6a806a47fd907643a72b835597efc8c6 75 Serialized key bytes: 3f004b050e0201088a01308187020100301306072a8648ce3d02010608 2a8648ce3d030107046d306b02010104201fe33950c5f461124ae992c2bdfdf1c73b1615f571bd56 7e60d19aa1f48cdf42a144034200047c110c66dcfda807f6e69e45ddb3c74f69a1484d203e8dc5ad a8e9a9dd7cb3c70df448986e51bde5d1576f99901f9c2c6a806a47fd907643a72b835597efc8c6
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 PASS clonedKey.algorithm.namedCurve is "P-521" 107 PASS clonedKey.algorithm.namedCurve is "P-521"
213 PASS clonedKey.usages.join(',') is "sign" 108 PASS clonedKey.usages.join(',') is "sign"
214 Serialized key bytes: 3f004b050e020308f1013081ee020100301006072a8648ce3d02010605 2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3 76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203 ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9 b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8 23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3 3052fe4c0fee98f033106064982d88f4e03549d4a64d00 109 Serialized key bytes: 3f004b050e020308f1013081ee020100301006072a8648ce3d02010605 2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3 76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203 ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9 b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8 23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3 3052fe4c0fee98f033106064982d88f4e03549d4a64d00
215 110
216 PASS importedKey.extraProperty is "hi" 111 PASS importedKey.extraProperty is "hi"
217 PASS importedKey.type is "private" 112 PASS importedKey.type is "private"
218 PASS typeof importedKey.extractable is 'boolean' 113 PASS typeof importedKey.extractable is 'boolean'
219 PASS importedKey.extractable is true 114 PASS importedKey.extractable is true
220 PASS importedKey.algorithm.name is "ECDH" 115 PASS importedKey.algorithm.name is "ECDH"
221 PASS importedKey.algorithm.namedCurve is "P-256" 116 PASS importedKey.algorithm.namedCurve is "P-256"
222 PASS importedKey.usages.join(',') is ""
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 "ECDH"
229 PASS clonedKey.algorithm.namedCurve is "P-256"
230 PASS clonedKey.usages.join(',') is ""
231 Serialized key bytes: 3f004b050f0201018a01308187020100301306072a8648ce3d02010608 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 true
238 PASS importedKey.algorithm.name is "ECDH"
239 PASS importedKey.algorithm.namedCurve is "P-384"
240 PASS importedKey.usages.join(',') is ""
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 true
246 PASS clonedKey.algorithm.name is "ECDH"
247 PASS clonedKey.algorithm.namedCurve is "P-384"
248 PASS clonedKey.usages.join(',') is ""
249 Serialized key bytes: 3f004b050f020201b9013081b6020100301006072a8648ce3d02010605 2b8104002204819e30819b0201010430a492ce8fa90084c227e1a32f7974d39e9ff67a7e8705ec34 19b35fb607582bebd461e0b1520ac76ec2dd4e9b63ebae71a16403620004e55fee6c49d8d523f5ce 7bf9c0425ce4ff650708b7de5cfb095901523979a7f042602db30854735369813b5c3f5ef86828f5 9cc5dc509892a988d38a8e2519de3d0c4fd0fbdb0993e38f18506c17606c5e24249246f1ce94983a 5361c5be983e00
250 PASS: Cloned key exported data should be [3081b6020100301006072a8648ce3d02010605 2b8104002204819e30819b0201010430a492ce8fa90084c227e1a32f7974d39e9ff67a7e8705ec34 19b35fb607582bebd461e0b1520ac76ec2dd4e9b63ebae71a16403620004e55fee6c49d8d523f5ce 7bf9c0425ce4ff650708b7de5cfb095901523979a7f042602db30854735369813b5c3f5ef86828f5 9cc5dc509892a988d38a8e2519de3d0c4fd0fbdb0993e38f18506c17606c5e24249246f1ce94983a 5361c5be983e] and was
251
252 PASS importedKey.extraProperty is "hi"
253 PASS importedKey.type is "private"
254 PASS typeof importedKey.extractable is 'boolean'
255 PASS importedKey.extractable is true
256 PASS importedKey.algorithm.name is "ECDH"
257 PASS importedKey.algorithm.namedCurve is "P-521"
258 PASS importedKey.usages.join(',') is ""
259 PASS importedKey is not clonedKey
260 PASS clonedKey.extraProperty is undefined.
261 PASS clonedKey.type is "private"
262 PASS typeof clonedKey.extractable is 'boolean'
263 PASS clonedKey.extractable is true
264 PASS clonedKey.algorithm.name is "ECDH"
265 PASS clonedKey.algorithm.namedCurve is "P-521"
266 PASS clonedKey.usages.join(',') is ""
267 Serialized key bytes: 3f004b050f020301f1013081ee020100301006072a8648ce3d02010605 2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3 76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203 ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9 b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8 23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3 3052fe4c0fee98f033106064982d88f4e03549d4a64d00
268 PASS: Cloned key exported data should be [3081ee020100301006072a8648ce3d02010605 2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3 76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203 ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9 b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8 23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3 3052fe4c0fee98f033106064982d88f4e03549d4a64d] and was
269
270 PASS importedKey.extraProperty is "hi"
271 PASS importedKey.type is "private"
272 PASS typeof importedKey.extractable is 'boolean'
273 PASS importedKey.extractable is true
274 PASS importedKey.algorithm.name is "ECDH"
275 PASS importedKey.algorithm.namedCurve is "P-256"
276 PASS importedKey.usages.join(',') is "deriveBits" 117 PASS importedKey.usages.join(',') is "deriveBits"
277 PASS importedKey is not clonedKey 118 PASS importedKey is not clonedKey
278 PASS clonedKey.extraProperty is undefined. 119 PASS clonedKey.extraProperty is undefined.
279 PASS clonedKey.type is "private" 120 PASS clonedKey.type is "private"
280 PASS typeof clonedKey.extractable is 'boolean' 121 PASS typeof clonedKey.extractable is 'boolean'
281 PASS clonedKey.extractable is true 122 PASS clonedKey.extractable is true
282 PASS clonedKey.algorithm.name is "ECDH" 123 PASS clonedKey.algorithm.name is "ECDH"
283 PASS clonedKey.algorithm.namedCurve is "P-256" 124 PASS clonedKey.algorithm.namedCurve is "P-256"
284 PASS clonedKey.usages.join(',') is "deriveBits" 125 PASS clonedKey.usages.join(',') is "deriveBits"
285 Serialized key bytes: 3f004b050f020181028a01308187020100301306072a8648ce3d020106 082a8648ce3d030107046d306b02010104201fe33950c5f461124ae992c2bdfdf1c73b1615f571bd 567e60d19aa1f48cdf42a144034200047c110c66dcfda807f6e69e45ddb3c74f69a1484d203e8dc5 ada8e9a9dd7cb3c70df448986e51bde5d1576f99901f9c2c6a806a47fd907643a72b835597efc8c6 00 126 Serialized key bytes: 3f004b050f020181028a01308187020100301306072a8648ce3d020106 082a8648ce3d030107046d306b02010104201fe33950c5f461124ae992c2bdfdf1c73b1615f571bd 567e60d19aa1f48cdf42a144034200047c110c66dcfda807f6e69e45ddb3c74f69a1484d203e8dc5 ada8e9a9dd7cb3c70df448986e51bde5d1576f99901f9c2c6a806a47fd907643a72b835597efc8c6 00
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 PASS clonedKey.usages.join(',') is "deriveBits" 161 PASS clonedKey.usages.join(',') is "deriveBits"
321 Serialized key bytes: 3f004b050f02038102f1013081ee020100301006072a8648ce3d020106 052b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3b b376026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a2 03ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfb b9b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cde f823dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febb d33052fe4c0fee98f033106064982d88f4e03549d4a64d 162 Serialized key bytes: 3f004b050f02038102f1013081ee020100301006072a8648ce3d020106 052b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3b b376026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a2 03ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfb b9b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cde f823dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febb d33052fe4c0fee98f033106064982d88f4e03549d4a64d
322 PASS: Cloned key exported data should be [3081ee020100301006072a8648ce3d02010605 2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3 76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203 ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9 b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8 23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3 3052fe4c0fee98f033106064982d88f4e03549d4a64d] and was 163 PASS: Cloned key exported data should be [3081ee020100301006072a8648ce3d02010605 2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3 76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203 ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9 b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8 23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3 3052fe4c0fee98f033106064982d88f4e03549d4a64d] and was
323 164
324 PASS importedKey.extraProperty is "hi" 165 PASS importedKey.extraProperty is "hi"
325 PASS importedKey.type is "private" 166 PASS importedKey.type is "private"
326 PASS typeof importedKey.extractable is 'boolean' 167 PASS typeof importedKey.extractable is 'boolean'
327 PASS importedKey.extractable is false 168 PASS importedKey.extractable is false
328 PASS importedKey.algorithm.name is "ECDH" 169 PASS importedKey.algorithm.name is "ECDH"
329 PASS importedKey.algorithm.namedCurve is "P-256" 170 PASS importedKey.algorithm.namedCurve is "P-256"
330 PASS importedKey.usages.join(',') is ""
331 PASS importedKey is not clonedKey
332 PASS clonedKey.extraProperty is undefined.
333 PASS clonedKey.type is "private"
334 PASS typeof clonedKey.extractable is 'boolean'
335 PASS clonedKey.extractable is false
336 PASS clonedKey.algorithm.name is "ECDH"
337 PASS clonedKey.algorithm.namedCurve is "P-256"
338 PASS clonedKey.usages.join(',') is ""
339 Serialized key bytes: 3f004b050f0201008a01308187020100301306072a8648ce3d02010608 2a8648ce3d030107046d306b02010104201fe33950c5f461124ae992c2bdfdf1c73b1615f571bd56 7e60d19aa1f48cdf42a144034200047c110c66dcfda807f6e69e45ddb3c74f69a1484d203e8dc5ad a8e9a9dd7cb3c70df448986e51bde5d1576f99901f9c2c6a806a47fd907643a72b835597efc8c6
340
341 PASS importedKey.extraProperty is "hi"
342 PASS importedKey.type is "private"
343 PASS typeof importedKey.extractable is 'boolean'
344 PASS importedKey.extractable is false
345 PASS importedKey.algorithm.name is "ECDH"
346 PASS importedKey.algorithm.namedCurve is "P-384"
347 PASS importedKey.usages.join(',') is ""
348 PASS importedKey is not clonedKey
349 PASS clonedKey.extraProperty is undefined.
350 PASS clonedKey.type is "private"
351 PASS typeof clonedKey.extractable is 'boolean'
352 PASS clonedKey.extractable is false
353 PASS clonedKey.algorithm.name is "ECDH"
354 PASS clonedKey.algorithm.namedCurve is "P-384"
355 PASS clonedKey.usages.join(',') is ""
356 Serialized key bytes: 3f004b050f020200b9013081b6020100301006072a8648ce3d02010605 2b8104002204819e30819b0201010430a492ce8fa90084c227e1a32f7974d39e9ff67a7e8705ec34 19b35fb607582bebd461e0b1520ac76ec2dd4e9b63ebae71a16403620004e55fee6c49d8d523f5ce 7bf9c0425ce4ff650708b7de5cfb095901523979a7f042602db30854735369813b5c3f5ef86828f5 9cc5dc509892a988d38a8e2519de3d0c4fd0fbdb0993e38f18506c17606c5e24249246f1ce94983a 5361c5be983e00
357
358 PASS importedKey.extraProperty is "hi"
359 PASS importedKey.type is "private"
360 PASS typeof importedKey.extractable is 'boolean'
361 PASS importedKey.extractable is false
362 PASS importedKey.algorithm.name is "ECDH"
363 PASS importedKey.algorithm.namedCurve is "P-521"
364 PASS importedKey.usages.join(',') is ""
365 PASS importedKey is not clonedKey
366 PASS clonedKey.extraProperty is undefined.
367 PASS clonedKey.type is "private"
368 PASS typeof clonedKey.extractable is 'boolean'
369 PASS clonedKey.extractable is false
370 PASS clonedKey.algorithm.name is "ECDH"
371 PASS clonedKey.algorithm.namedCurve is "P-521"
372 PASS clonedKey.usages.join(',') is ""
373 Serialized key bytes: 3f004b050f020300f1013081ee020100301006072a8648ce3d02010605 2b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3bb3 76026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a203 ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfbb9 b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cdef8 23dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febbd3 3052fe4c0fee98f033106064982d88f4e03549d4a64d00
374
375 PASS importedKey.extraProperty is "hi"
376 PASS importedKey.type is "private"
377 PASS typeof importedKey.extractable is 'boolean'
378 PASS importedKey.extractable is false
379 PASS importedKey.algorithm.name is "ECDH"
380 PASS importedKey.algorithm.namedCurve is "P-256"
381 PASS importedKey.usages.join(',') is "deriveBits" 171 PASS importedKey.usages.join(',') is "deriveBits"
382 PASS importedKey is not clonedKey 172 PASS importedKey is not clonedKey
383 PASS clonedKey.extraProperty is undefined. 173 PASS clonedKey.extraProperty is undefined.
384 PASS clonedKey.type is "private" 174 PASS clonedKey.type is "private"
385 PASS typeof clonedKey.extractable is 'boolean' 175 PASS typeof clonedKey.extractable is 'boolean'
386 PASS clonedKey.extractable is false 176 PASS clonedKey.extractable is false
387 PASS clonedKey.algorithm.name is "ECDH" 177 PASS clonedKey.algorithm.name is "ECDH"
388 PASS clonedKey.algorithm.namedCurve is "P-256" 178 PASS clonedKey.algorithm.namedCurve is "P-256"
389 PASS clonedKey.usages.join(',') is "deriveBits" 179 PASS clonedKey.usages.join(',') is "deriveBits"
390 Serialized key bytes: 3f004b050f020180028a01308187020100301306072a8648ce3d020106 082a8648ce3d030107046d306b02010104201fe33950c5f461124ae992c2bdfdf1c73b1615f571bd 567e60d19aa1f48cdf42a144034200047c110c66dcfda807f6e69e45ddb3c74f69a1484d203e8dc5 ada8e9a9dd7cb3c70df448986e51bde5d1576f99901f9c2c6a806a47fd907643a72b835597efc8c6 00 180 Serialized key bytes: 3f004b050f020180028a01308187020100301306072a8648ce3d020106 082a8648ce3d030107046d306b02010104201fe33950c5f461124ae992c2bdfdf1c73b1615f571bd 567e60d19aa1f48cdf42a144034200047c110c66dcfda807f6e69e45ddb3c74f69a1484d203e8dc5 ada8e9a9dd7cb3c70df448986e51bde5d1576f99901f9c2c6a806a47fd907643a72b835597efc8c6 00
(...skipping 29 matching lines...) Expand all
420 PASS clonedKey.extractable is false 210 PASS clonedKey.extractable is false
421 PASS clonedKey.algorithm.name is "ECDH" 211 PASS clonedKey.algorithm.name is "ECDH"
422 PASS clonedKey.algorithm.namedCurve is "P-521" 212 PASS clonedKey.algorithm.namedCurve is "P-521"
423 PASS clonedKey.usages.join(',') is "deriveBits" 213 PASS clonedKey.usages.join(',') is "deriveBits"
424 Serialized key bytes: 3f004b050f02038002f1013081ee020100301006072a8648ce3d020106 052b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3b b376026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a2 03ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfb b9b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cde f823dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febb d33052fe4c0fee98f033106064982d88f4e03549d4a64d 214 Serialized key bytes: 3f004b050f02038002f1013081ee020100301006072a8648ce3d020106 052b810400230481d63081d3020101044201bd56bd106118eda246155bd43b42b8e13f0a6e25dd3b b376026fab4dc92b6157bc6dfec2d15dd3d0cf2a39aa68494042af48ba9601118da82c6f2108a3a2 03ad74a181890381860004012fbcaeffa6a51f3ee4d3d2b51c5dec6d7c726ca353fc014ea2bf7cfb b9b910d32cbfa6a00fe39b6cdb8946f22775398b2e233c0cf144d78c8a7742b5c7a3bb5d23009cde f823dd7bf9a79e8cceacd2e4527c231d0ae5967af0958e931d7ddccf2805a3e618dc3039fec9febb d33052fe4c0fee98f033106064982d88f4e03549d4a64d
425 215
426 PASS successfullyParsed is true 216 PASS successfullyParsed is true
427 217
428 TEST COMPLETE 218 TEST COMPLETE
429 219
OLDNEW
« no previous file with comments | « LayoutTests/crypto/clone-ecKey-private.html ('k') | LayoutTests/crypto/clone-rsaHashedKey-private.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698