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

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

Issue 195543002: [webcrypto] Implement structured clone of keys (blink-side). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update serialized-script-value.html for version bump Created 6 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/crypto/clone-rsaKey-public.html ('k') | LayoutTests/crypto/resources/common.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Tests structured cloning of RSA keys (without a hash)
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS importedKey.extraProperty is "hi"
7 PASS importedKey.type is "public"
8 PASS typeof importedKey.extractable is 'boolean'
9 PASS importedKey.extractable is true
10 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
11 PASS importedKey.algorithm.modulusLength is 1024
12 PASS: importedKey.algorithm.publicExponent should be [010001] and was
13 PASS importedKey.algorithm.hash is undefined.
14 PASS importedKey.usages.join(',') is ""
15 PASS importedKey != clonedKey is true
16 PASS clonedKey.extraProperty is undefined.
17 PASS clonedKey.type is "public"
18 PASS typeof clonedKey.extractable is 'boolean'
19 PASS clonedKey.extractable is true
20 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
21 PASS clonedKey.algorithm.modulusLength is 1024
22 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
23 PASS clonedKey.algorithm.hash is undefined.
24 PASS clonedKey.usages.join(',') is ""
25 Serialized key bytes: ff053f004b03040180080301000101a20130819f300d06092a864886f7 0d010101050003818d0030818902818100b289c62ecc3ddf64154817203439eaa0dc07a65954429a 7b6098a77235673d96df1f06bd3c1ae73990867199e678bf95b3728fcd4686136e6ee9dd4c09eb49 0eb7cb953c388668b759263f61d6a7dfcabf27b5c9d6972455b12b66d483843286d6b871f35f912a 773c97c1932255fcee05ce7b8af213879f017de4232a306a41020301000100
26 PASS: Cloned key exported data should be [30819f300d06092a864886f70d010101050003 818d0030818902818100b289c62ecc3ddf64154817203439eaa0dc07a65954429a7b6098a7723567 3d96df1f06bd3c1ae73990867199e678bf95b3728fcd4686136e6ee9dd4c09eb490eb7cb953c3886 68b759263f61d6a7dfcabf27b5c9d6972455b12b66d483843286d6b871f35f912a773c97c1932255 fcee05ce7b8af213879f017de4232a306a410203010001] and was
27
28 PASS importedKey.extraProperty is "hi"
29 PASS importedKey.type is "public"
30 PASS typeof importedKey.extractable is 'boolean'
31 PASS importedKey.extractable is true
32 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
33 PASS importedKey.algorithm.modulusLength is 2048
34 PASS: importedKey.algorithm.publicExponent should be [010001] and was
35 PASS importedKey.algorithm.hash is undefined.
36 PASS importedKey.usages.join(',') is ""
37 PASS importedKey != clonedKey is true
38 PASS clonedKey.extraProperty is undefined.
39 PASS clonedKey.type is "public"
40 PASS typeof clonedKey.extractable is 'boolean'
41 PASS clonedKey.extractable is true
42 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
43 PASS clonedKey.algorithm.modulusLength is 2048
44 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
45 PASS clonedKey.algorithm.hash is undefined.
46 PASS clonedKey.usages.join(',') is ""
47 Serialized key bytes: ff053f004b03040180100301000101a60230820122300d06092a864886 f70d01010105000382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca878 981108680f0ae6b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba96706 2ae506cdcf307add4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec050a 48e8923045b19368e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388b9 5d82518527a02b7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e001 cf39c5671495d51d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d62 785e00cae702e77c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef020301 000100
48 PASS: Cloned key exported data should be [30820122300d06092a864886f70d0101010500 0382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca878981108680f0ae6 b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba967062ae506cdcf307a dd4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec050a48e8923045b193 68e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388b95d82518527a02b 7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e001cf39c5671495d5 1d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d62785e00cae702e7 7c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef0203010001] and was
49
50 PASS importedKey.extraProperty is "hi"
51 PASS importedKey.type is "public"
52 PASS typeof importedKey.extractable is 'boolean'
53 PASS importedKey.extractable is true
54 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
55 PASS importedKey.algorithm.modulusLength is 1024
56 PASS: importedKey.algorithm.publicExponent should be [010001] and was
57 PASS importedKey.algorithm.hash is undefined.
58 PASS importedKey.usages.join(',') is "encrypt"
59 PASS importedKey != clonedKey is true
60 PASS clonedKey.extraProperty is undefined.
61 PASS clonedKey.type is "public"
62 PASS typeof clonedKey.extractable is 'boolean'
63 PASS clonedKey.extractable is true
64 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
65 PASS clonedKey.algorithm.modulusLength is 1024
66 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
67 PASS clonedKey.algorithm.hash is undefined.
68 PASS clonedKey.usages.join(',') is "encrypt"
69 Serialized key bytes: ff053f004b03040180080301000103a20130819f300d06092a864886f7 0d010101050003818d0030818902818100b289c62ecc3ddf64154817203439eaa0dc07a65954429a 7b6098a77235673d96df1f06bd3c1ae73990867199e678bf95b3728fcd4686136e6ee9dd4c09eb49 0eb7cb953c388668b759263f61d6a7dfcabf27b5c9d6972455b12b66d483843286d6b871f35f912a 773c97c1932255fcee05ce7b8af213879f017de4232a306a41020301000100
70 PASS: Cloned key exported data should be [30819f300d06092a864886f70d010101050003 818d0030818902818100b289c62ecc3ddf64154817203439eaa0dc07a65954429a7b6098a7723567 3d96df1f06bd3c1ae73990867199e678bf95b3728fcd4686136e6ee9dd4c09eb490eb7cb953c3886 68b759263f61d6a7dfcabf27b5c9d6972455b12b66d483843286d6b871f35f912a773c97c1932255 fcee05ce7b8af213879f017de4232a306a410203010001] and was
71
72 PASS importedKey.extraProperty is "hi"
73 PASS importedKey.type is "public"
74 PASS typeof importedKey.extractable is 'boolean'
75 PASS importedKey.extractable is true
76 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
77 PASS importedKey.algorithm.modulusLength is 2048
78 PASS: importedKey.algorithm.publicExponent should be [010001] and was
79 PASS importedKey.algorithm.hash is undefined.
80 PASS importedKey.usages.join(',') is "encrypt"
81 PASS importedKey != clonedKey is true
82 PASS clonedKey.extraProperty is undefined.
83 PASS clonedKey.type is "public"
84 PASS typeof clonedKey.extractable is 'boolean'
85 PASS clonedKey.extractable is true
86 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
87 PASS clonedKey.algorithm.modulusLength is 2048
88 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
89 PASS clonedKey.algorithm.hash is undefined.
90 PASS clonedKey.usages.join(',') is "encrypt"
91 Serialized key bytes: ff053f004b03040180100301000103a60230820122300d06092a864886 f70d01010105000382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca878 981108680f0ae6b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba96706 2ae506cdcf307add4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec050a 48e8923045b19368e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388b9 5d82518527a02b7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e001 cf39c5671495d51d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d62 785e00cae702e77c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef020301 000100
92 PASS: Cloned key exported data should be [30820122300d06092a864886f70d0101010500 0382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca878981108680f0ae6 b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba967062ae506cdcf307a dd4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec050a48e8923045b193 68e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388b95d82518527a02b 7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e001cf39c5671495d5 1d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d62785e00cae702e7 7c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef0203010001] and was
93
94 PASS importedKey.extraProperty is "hi"
95 PASS importedKey.type is "public"
96 PASS typeof importedKey.extractable is 'boolean'
97 PASS importedKey.extractable is true
98 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
99 PASS importedKey.algorithm.modulusLength is 1024
100 PASS: importedKey.algorithm.publicExponent should be [010001] and was
101 PASS importedKey.algorithm.hash is undefined.
102 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
103 PASS importedKey != clonedKey is true
104 PASS clonedKey.extraProperty is undefined.
105 PASS clonedKey.type is "public"
106 PASS typeof clonedKey.extractable is 'boolean'
107 PASS clonedKey.extractable is true
108 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
109 PASS clonedKey.algorithm.modulusLength is 1024
110 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
111 PASS clonedKey.algorithm.hash is undefined.
112 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
113 Serialized key bytes: ff053f004b03040180080301000145a20130819f300d06092a864886f7 0d010101050003818d0030818902818100b289c62ecc3ddf64154817203439eaa0dc07a65954429a 7b6098a77235673d96df1f06bd3c1ae73990867199e678bf95b3728fcd4686136e6ee9dd4c09eb49 0eb7cb953c388668b759263f61d6a7dfcabf27b5c9d6972455b12b66d483843286d6b871f35f912a 773c97c1932255fcee05ce7b8af213879f017de4232a306a41020301000100
114 PASS: Cloned key exported data should be [30819f300d06092a864886f70d010101050003 818d0030818902818100b289c62ecc3ddf64154817203439eaa0dc07a65954429a7b6098a7723567 3d96df1f06bd3c1ae73990867199e678bf95b3728fcd4686136e6ee9dd4c09eb490eb7cb953c3886 68b759263f61d6a7dfcabf27b5c9d6972455b12b66d483843286d6b871f35f912a773c97c1932255 fcee05ce7b8af213879f017de4232a306a410203010001] and was
115
116 PASS importedKey.extraProperty is "hi"
117 PASS importedKey.type is "public"
118 PASS typeof importedKey.extractable is 'boolean'
119 PASS importedKey.extractable is true
120 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
121 PASS importedKey.algorithm.modulusLength is 2048
122 PASS: importedKey.algorithm.publicExponent should be [010001] and was
123 PASS importedKey.algorithm.hash is undefined.
124 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
125 PASS importedKey != clonedKey is true
126 PASS clonedKey.extraProperty is undefined.
127 PASS clonedKey.type is "public"
128 PASS typeof clonedKey.extractable is 'boolean'
129 PASS clonedKey.extractable is true
130 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
131 PASS clonedKey.algorithm.modulusLength is 2048
132 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
133 PASS clonedKey.algorithm.hash is undefined.
134 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
135 Serialized key bytes: ff053f004b03040180100301000145a60230820122300d06092a864886 f70d01010105000382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca878 981108680f0ae6b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba96706 2ae506cdcf307add4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec050a 48e8923045b19368e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388b9 5d82518527a02b7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e001 cf39c5671495d51d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d62 785e00cae702e77c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef020301 000100
136 PASS: Cloned key exported data should be [30820122300d06092a864886f70d0101010500 0382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca878981108680f0ae6 b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba967062ae506cdcf307a dd4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec050a48e8923045b193 68e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388b95d82518527a02b 7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e001cf39c5671495d5 1d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d62785e00cae702e7 7c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef0203010001] and was
137
138 PASS importedKey.extraProperty is "hi"
139 PASS importedKey.type is "public"
140 PASS typeof importedKey.extractable is 'boolean'
141 PASS importedKey.extractable is true
142 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
143 PASS importedKey.algorithm.modulusLength is 1024
144 PASS: importedKey.algorithm.publicExponent should be [010001] and was
145 PASS importedKey.algorithm.hash is undefined.
146 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
147 PASS importedKey != clonedKey is true
148 PASS clonedKey.extraProperty is undefined.
149 PASS clonedKey.type is "public"
150 PASS typeof clonedKey.extractable is 'boolean'
151 PASS clonedKey.extractable is true
152 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
153 PASS clonedKey.algorithm.modulusLength is 1024
154 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
155 PASS clonedKey.algorithm.hash is undefined.
156 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
157 Serialized key bytes: ff053f004b030401800803010001c301a20130819f300d06092a864886 f70d010101050003818d0030818902818100b289c62ecc3ddf64154817203439eaa0dc07a6595442 9a7b6098a77235673d96df1f06bd3c1ae73990867199e678bf95b3728fcd4686136e6ee9dd4c09eb 490eb7cb953c388668b759263f61d6a7dfcabf27b5c9d6972455b12b66d483843286d6b871f35f91 2a773c97c1932255fcee05ce7b8af213879f017de4232a306a410203010001
158 PASS: Cloned key exported data should be [30819f300d06092a864886f70d010101050003 818d0030818902818100b289c62ecc3ddf64154817203439eaa0dc07a65954429a7b6098a7723567 3d96df1f06bd3c1ae73990867199e678bf95b3728fcd4686136e6ee9dd4c09eb490eb7cb953c3886 68b759263f61d6a7dfcabf27b5c9d6972455b12b66d483843286d6b871f35f912a773c97c1932255 fcee05ce7b8af213879f017de4232a306a410203010001] and was
159
160 PASS importedKey.extraProperty is "hi"
161 PASS importedKey.type is "public"
162 PASS typeof importedKey.extractable is 'boolean'
163 PASS importedKey.extractable is true
164 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
165 PASS importedKey.algorithm.modulusLength is 2048
166 PASS: importedKey.algorithm.publicExponent should be [010001] and was
167 PASS importedKey.algorithm.hash is undefined.
168 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
169 PASS importedKey != clonedKey is true
170 PASS clonedKey.extraProperty is undefined.
171 PASS clonedKey.type is "public"
172 PASS typeof clonedKey.extractable is 'boolean'
173 PASS clonedKey.extractable is true
174 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
175 PASS clonedKey.algorithm.modulusLength is 2048
176 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
177 PASS clonedKey.algorithm.hash is undefined.
178 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
179 Serialized key bytes: ff053f004b030401801003010001c301a60230820122300d06092a8648 86f70d01010105000382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca8 78981108680f0ae6b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba967 062ae506cdcf307add4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec05 0a48e8923045b19368e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388 b95d82518527a02b7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e0 01cf39c5671495d51d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d 62785e00cae702e77c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef0203 010001
180 PASS: Cloned key exported data should be [30820122300d06092a864886f70d0101010500 0382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca878981108680f0ae6 b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba967062ae506cdcf307a dd4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec050a48e8923045b193 68e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388b95d82518527a02b 7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e001cf39c5671495d5 1d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d62785e00cae702e7 7c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef0203010001] and was
181
182 PASS importedKey.extraProperty is "hi"
183 PASS importedKey.type is "public"
184 PASS typeof importedKey.extractable is 'boolean'
185 PASS importedKey.extractable is false
186 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
187 PASS importedKey.algorithm.modulusLength is 1024
188 PASS: importedKey.algorithm.publicExponent should be [010001] and was
189 PASS importedKey.algorithm.hash is undefined.
190 PASS importedKey.usages.join(',') is ""
191 PASS importedKey != clonedKey is true
192 PASS clonedKey.extraProperty is undefined.
193 PASS clonedKey.type is "public"
194 PASS typeof clonedKey.extractable is 'boolean'
195 PASS clonedKey.extractable is false
196 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
197 PASS clonedKey.algorithm.modulusLength is 1024
198 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
199 PASS clonedKey.algorithm.hash is undefined.
200 PASS clonedKey.usages.join(',') is ""
201 Serialized key bytes: ff053f004b03040180080301000100a20130819f300d06092a864886f7 0d010101050003818d0030818902818100b289c62ecc3ddf64154817203439eaa0dc07a65954429a 7b6098a77235673d96df1f06bd3c1ae73990867199e678bf95b3728fcd4686136e6ee9dd4c09eb49 0eb7cb953c388668b759263f61d6a7dfcabf27b5c9d6972455b12b66d483843286d6b871f35f912a 773c97c1932255fcee05ce7b8af213879f017de4232a306a41020301000100
202
203 PASS importedKey.extraProperty is "hi"
204 PASS importedKey.type is "public"
205 PASS typeof importedKey.extractable is 'boolean'
206 PASS importedKey.extractable is false
207 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
208 PASS importedKey.algorithm.modulusLength is 2048
209 PASS: importedKey.algorithm.publicExponent should be [010001] and was
210 PASS importedKey.algorithm.hash is undefined.
211 PASS importedKey.usages.join(',') is ""
212 PASS importedKey != clonedKey is true
213 PASS clonedKey.extraProperty is undefined.
214 PASS clonedKey.type is "public"
215 PASS typeof clonedKey.extractable is 'boolean'
216 PASS clonedKey.extractable is false
217 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
218 PASS clonedKey.algorithm.modulusLength is 2048
219 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
220 PASS clonedKey.algorithm.hash is undefined.
221 PASS clonedKey.usages.join(',') is ""
222 Serialized key bytes: ff053f004b03040180100301000100a60230820122300d06092a864886 f70d01010105000382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca878 981108680f0ae6b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba96706 2ae506cdcf307add4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec050a 48e8923045b19368e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388b9 5d82518527a02b7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e001 cf39c5671495d51d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d62 785e00cae702e77c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef020301 000100
223
224 PASS importedKey.extraProperty is "hi"
225 PASS importedKey.type is "public"
226 PASS typeof importedKey.extractable is 'boolean'
227 PASS importedKey.extractable is false
228 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
229 PASS importedKey.algorithm.modulusLength is 1024
230 PASS: importedKey.algorithm.publicExponent should be [010001] and was
231 PASS importedKey.algorithm.hash is undefined.
232 PASS importedKey.usages.join(',') is "encrypt"
233 PASS importedKey != clonedKey is true
234 PASS clonedKey.extraProperty is undefined.
235 PASS clonedKey.type is "public"
236 PASS typeof clonedKey.extractable is 'boolean'
237 PASS clonedKey.extractable is false
238 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
239 PASS clonedKey.algorithm.modulusLength is 1024
240 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
241 PASS clonedKey.algorithm.hash is undefined.
242 PASS clonedKey.usages.join(',') is "encrypt"
243 Serialized key bytes: ff053f004b03040180080301000102a20130819f300d06092a864886f7 0d010101050003818d0030818902818100b289c62ecc3ddf64154817203439eaa0dc07a65954429a 7b6098a77235673d96df1f06bd3c1ae73990867199e678bf95b3728fcd4686136e6ee9dd4c09eb49 0eb7cb953c388668b759263f61d6a7dfcabf27b5c9d6972455b12b66d483843286d6b871f35f912a 773c97c1932255fcee05ce7b8af213879f017de4232a306a41020301000100
244
245 PASS importedKey.extraProperty is "hi"
246 PASS importedKey.type is "public"
247 PASS typeof importedKey.extractable is 'boolean'
248 PASS importedKey.extractable is false
249 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
250 PASS importedKey.algorithm.modulusLength is 2048
251 PASS: importedKey.algorithm.publicExponent should be [010001] and was
252 PASS importedKey.algorithm.hash is undefined.
253 PASS importedKey.usages.join(',') is "encrypt"
254 PASS importedKey != clonedKey is true
255 PASS clonedKey.extraProperty is undefined.
256 PASS clonedKey.type is "public"
257 PASS typeof clonedKey.extractable is 'boolean'
258 PASS clonedKey.extractable is false
259 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
260 PASS clonedKey.algorithm.modulusLength is 2048
261 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
262 PASS clonedKey.algorithm.hash is undefined.
263 PASS clonedKey.usages.join(',') is "encrypt"
264 Serialized key bytes: ff053f004b03040180100301000102a60230820122300d06092a864886 f70d01010105000382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca878 981108680f0ae6b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba96706 2ae506cdcf307add4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec050a 48e8923045b19368e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388b9 5d82518527a02b7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e001 cf39c5671495d51d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d62 785e00cae702e77c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef020301 000100
265
266 PASS importedKey.extraProperty is "hi"
267 PASS importedKey.type is "public"
268 PASS typeof importedKey.extractable is 'boolean'
269 PASS importedKey.extractable is false
270 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
271 PASS importedKey.algorithm.modulusLength is 1024
272 PASS: importedKey.algorithm.publicExponent should be [010001] and was
273 PASS importedKey.algorithm.hash is undefined.
274 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
275 PASS importedKey != clonedKey is true
276 PASS clonedKey.extraProperty is undefined.
277 PASS clonedKey.type is "public"
278 PASS typeof clonedKey.extractable is 'boolean'
279 PASS clonedKey.extractable is false
280 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
281 PASS clonedKey.algorithm.modulusLength is 1024
282 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
283 PASS clonedKey.algorithm.hash is undefined.
284 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
285 Serialized key bytes: ff053f004b03040180080301000144a20130819f300d06092a864886f7 0d010101050003818d0030818902818100b289c62ecc3ddf64154817203439eaa0dc07a65954429a 7b6098a77235673d96df1f06bd3c1ae73990867199e678bf95b3728fcd4686136e6ee9dd4c09eb49 0eb7cb953c388668b759263f61d6a7dfcabf27b5c9d6972455b12b66d483843286d6b871f35f912a 773c97c1932255fcee05ce7b8af213879f017de4232a306a41020301000100
286
287 PASS importedKey.extraProperty is "hi"
288 PASS importedKey.type is "public"
289 PASS typeof importedKey.extractable is 'boolean'
290 PASS importedKey.extractable is false
291 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
292 PASS importedKey.algorithm.modulusLength is 2048
293 PASS: importedKey.algorithm.publicExponent should be [010001] and was
294 PASS importedKey.algorithm.hash is undefined.
295 PASS importedKey.usages.join(',') is "decrypt,wrapKey"
296 PASS importedKey != clonedKey is true
297 PASS clonedKey.extraProperty is undefined.
298 PASS clonedKey.type is "public"
299 PASS typeof clonedKey.extractable is 'boolean'
300 PASS clonedKey.extractable is false
301 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
302 PASS clonedKey.algorithm.modulusLength is 2048
303 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
304 PASS clonedKey.algorithm.hash is undefined.
305 PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
306 Serialized key bytes: ff053f004b03040180100301000144a60230820122300d06092a864886 f70d01010105000382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca878 981108680f0ae6b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba96706 2ae506cdcf307add4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec050a 48e8923045b19368e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388b9 5d82518527a02b7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e001 cf39c5671495d51d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d62 785e00cae702e77c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef020301 000100
307
308 PASS importedKey.extraProperty is "hi"
309 PASS importedKey.type is "public"
310 PASS typeof importedKey.extractable is 'boolean'
311 PASS importedKey.extractable is false
312 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
313 PASS importedKey.algorithm.modulusLength is 1024
314 PASS: importedKey.algorithm.publicExponent should be [010001] and was
315 PASS importedKey.algorithm.hash is undefined.
316 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
317 PASS importedKey != clonedKey is true
318 PASS clonedKey.extraProperty is undefined.
319 PASS clonedKey.type is "public"
320 PASS typeof clonedKey.extractable is 'boolean'
321 PASS clonedKey.extractable is false
322 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
323 PASS clonedKey.algorithm.modulusLength is 1024
324 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
325 PASS clonedKey.algorithm.hash is undefined.
326 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
327 Serialized key bytes: ff053f004b030401800803010001c201a20130819f300d06092a864886 f70d010101050003818d0030818902818100b289c62ecc3ddf64154817203439eaa0dc07a6595442 9a7b6098a77235673d96df1f06bd3c1ae73990867199e678bf95b3728fcd4686136e6ee9dd4c09eb 490eb7cb953c388668b759263f61d6a7dfcabf27b5c9d6972455b12b66d483843286d6b871f35f91 2a773c97c1932255fcee05ce7b8af213879f017de4232a306a410203010001
328
329 PASS importedKey.extraProperty is "hi"
330 PASS importedKey.type is "public"
331 PASS typeof importedKey.extractable is 'boolean'
332 PASS importedKey.extractable is false
333 PASS importedKey.algorithm.name is "RSAES-PKCS1-v1_5"
334 PASS importedKey.algorithm.modulusLength is 2048
335 PASS: importedKey.algorithm.publicExponent should be [010001] and was
336 PASS importedKey.algorithm.hash is undefined.
337 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
338 PASS importedKey != clonedKey is true
339 PASS clonedKey.extraProperty is undefined.
340 PASS clonedKey.type is "public"
341 PASS typeof clonedKey.extractable is 'boolean'
342 PASS clonedKey.extractable is false
343 PASS clonedKey.algorithm.name is "RSAES-PKCS1-v1_5"
344 PASS clonedKey.algorithm.modulusLength is 2048
345 PASS: clonedKey.algorithm.publicExponent should be [010001] and was
346 PASS clonedKey.algorithm.hash is undefined.
347 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
348 Serialized key bytes: ff053f004b030401801003010001c201a60230820122300d06092a8648 86f70d01010105000382010f003082010a0282010100b4c8b631194aef0154b1479ab7a534b60ca8 78981108680f0ae6b7c88cb6010f6dbf9f665646208410575cb923b26bf874a24b4cd801c9bba967 062ae506cdcf307add4380d0d93077a4c1f0fc06d498dc729f811335c530b90fe9bf9f3979ccec05 0a48e8923045b19368e1e89ea4157538e8059e53320f47c155f1741310a93ed153a7f3af2d46c388 b95d82518527a02b7bd9ab7edc4bcb737677f679c5c6de5e1ebed3a29d6b99b8eace2d59ceb533e0 01cf39c5671495d51d3ee34406ea4fdb0c626dee68da256b8a12f9f65059ccc85a2190ce1385152d 62785e00cae702e77c4c597b86a6268adbf043dda68881c790f1517671fb7d198fca5ba97bef0203 010001
349
350 PASS successfullyParsed is true
351
352 TEST COMPLETE
353
OLDNEW
« no previous file with comments | « LayoutTests/crypto/clone-rsaKey-public.html ('k') | LayoutTests/crypto/resources/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698