|
1 [SEC-FILETOKENS-THWKEYSTORE-1-002] |
|
2 <actionbody> |
|
3 <mode>manager</mode> |
|
4 <CheckKeyStoreLabel>1</CheckKeyStoreLabel> |
|
5 <keystoreindex>3</keystoreindex> |
|
6 <keystorelabel>Hardware plugin implementation</keystorelabel> |
|
7 </actionbody> |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 [SEC-FILETOKENS-THWKEYSTORE-1-004] |
|
13 <actionbody> |
|
14 <listcount>2</listcount> |
|
15 <foundkey>ecckey</foundkey> |
|
16 <foundkey>ecckey2</foundkey> |
|
17 </actionbody> |
|
18 |
|
19 |
|
20 [SEC-FILETOKENS-THWKEYSTORE-1-005] |
|
21 <actionbody> |
|
22 <hwtype>1</hwtype> |
|
23 <operationtype>sign</operationtype> |
|
24 <keylabel>ecckey</keylabel> |
|
25 <open>ECC</open> |
|
26 </actionbody> |
|
27 |
|
28 |
|
29 |
|
30 [SEC-FILETOKENS-THWKEYSTORE-1-006] |
|
31 <actionbody> |
|
32 <hwtype>1</hwtype> |
|
33 <operationtype>decrypt</operationtype> |
|
34 <keylabel>ecckey</keylabel> |
|
35 <open>ECC</open> |
|
36 </actionbody> |
|
37 |
|
38 |
|
39 |
|
40 [SEC-FILETOKENS-THWKEYSTORE-1-007] |
|
41 <actionbody> |
|
42 <hwtype>0</hwtype> |
|
43 <operationtype>sign</operationtype> |
|
44 <keylabel>ecckey</keylabel> |
|
45 <open>ECC</open> |
|
46 <keystorelabel>Hardware plugin implementation</keystorelabel> |
|
47 <text>sample text</text> |
|
48 </actionbody> |
|
49 |
|
50 |
|
51 |
|
52 [SEC-FILETOKENS-THWKEYSTORE-1-008] |
|
53 <actionbody> |
|
54 <hwtype>0</hwtype> |
|
55 <operationtype>decrypt</operationtype> |
|
56 <keylabel>ecckey2</keylabel> |
|
57 <open>ECC</open> |
|
58 <keystorelabel>Hardware plugin implementation</keystorelabel> |
|
59 <text>sample text</text> |
|
60 </actionbody> |
|
61 |
|
62 |
|
63 |
|
64 [SEC-FILETOKENS-THWKEYSTORE-1-009] |
|
65 <actionbody> |
|
66 <hwtype>1</hwtype> |
|
67 <operationtype>sign</operationtype> |
|
68 <keylabel>ecckey</keylabel> |
|
69 <open>ECC</open> |
|
70 <keystorelabel>Hardware plugin implementation</keystorelabel> |
|
71 <text>sample text</text> |
|
72 </actionbody> |
|
73 |
|
74 |
|
75 [SEC-FILETOKENS-THWKEYSTORE-1-010] |
|
76 <actionbody> |
|
77 <hwtype>1</hwtype> |
|
78 <operationtype>decrypt</operationtype> |
|
79 <keylabel>ecckey2</keylabel> |
|
80 <open>ECC</open> |
|
81 <keystorelabel>Hardware plugin implementation</keystorelabel> |
|
82 <text>sample text</text> |
|
83 </actionbody> |
|
84 |
|
85 |
|
86 |
|
87 [SEC-FILETOKENS-THWKEYSTORE-1-011] |
|
88 <actionbody> |
|
89 <foundkey>ecckey3</foundkey> |
|
90 <listingstatus>fail</listingstatus> |
|
91 </actionbody> |
|
92 |
|
93 |
|
94 |
|
95 [SEC-FILETOKENS-THWKEYSTORE-1-012] |
|
96 <actionbody> |
|
97 <keyusage>allusagesbutNR</keyusage> |
|
98 <keysize>512</keysize> |
|
99 <keylabel>banana</keylabel> |
|
100 <keyalgorithm>RSA</keyalgorithm> |
|
101 <keyaccesstype>Extractable</keyaccesstype> |
|
102 <keystore>0</keystore> |
|
103 <usekeystore>Hardware plugin implementation</usekeystore> |
|
104 </actionbody> |
|
105 <actionresult> |
|
106 <return>KErrNotSupported</return> |
|
107 </actionresult> |
|
108 |
|
109 |
|
110 |
|
111 [SEC-FILETOKENS-THWKEYSTORE-1-013] |
|
112 <actionbody> |
|
113 <keylabel>ecckey</keylabel> |
|
114 </actionbody> |
|
115 <actionresult> |
|
116 <return>KErrNotSupported</return> |
|
117 </actionresult> |
|
118 |
|
119 |
|
120 |
|
121 [SEC-FILETOKENS-THWKEYSTORE-1-014] |
|
122 <actionbody> |
|
123 <keylabel>ecckey</keylabel> |
|
124 <open>RSA</open> |
|
125 </actionbody> |
|
126 <actionresult> |
|
127 <return>KErrNotSupported</return> |
|
128 </actionresult> |
|
129 |
|
130 |
|
131 |
|
132 [SEC-FILETOKENS-THWKEYSTORE-1-015] |
|
133 <actionbody> |
|
134 <keylabel>ecckey</keylabel> |
|
135 <open>DSA</open> |
|
136 </actionbody> |
|
137 <actionresult> |
|
138 <return>KErrNotSupported</return> |
|
139 </actionresult> |
|
140 |
|
141 |
|
142 |
|
143 [SEC-FILETOKENS-THWKEYSTORE-1-016] |
|
144 <actionbody> |
|
145 <keylabel>ecckey</keylabel> |
|
146 <open>Decrypt</open> |
|
147 </actionbody> |
|
148 <actionresult> |
|
149 <return>KErrNotSupported</return> |
|
150 </actionresult> |
|
151 |
|
152 |
|
153 |
|
154 [SEC-FILETOKENS-THWKEYSTORE-1-017] |
|
155 <actionbody> |
|
156 <ImportData>pkcs8rsa.001</ImportData> |
|
157 <keyusage>allusagesbutNR</keyusage> |
|
158 <keylabel>ImportHardwareKey</keylabel> |
|
159 <keyaccesstype>NeverExtractable</keyaccesstype> |
|
160 <usekeystore>Hardware plugin implementation</usekeystore> |
|
161 </actionbody> |
|
162 <actionresult> |
|
163 <return>KErrNotSupported</return> |
|
164 </actionresult> |
|
165 |
|
166 |
|
167 |
|
168 [SEC-FILETOKENS-THWKEYSTORE-1-018] |
|
169 <actionbody> |
|
170 <ImportData>encryptPK8rsaDER.txt</ImportData> |
|
171 <keyusage>allusagesbutNR</keyusage> |
|
172 <keylabel>ImportEncryptedHardwareKey</keylabel> |
|
173 <keyaccesstype>NeverExtractable</keyaccesstype> |
|
174 <usekeystore>Hardware plugin implementation</usekeystore> |
|
175 </actionbody> |
|
176 <actionresult> |
|
177 <return>KErrNotSupported</return> |
|
178 </actionresult> |
|
179 |
|
180 |
|
181 |
|
182 [SEC-FILETOKENS-THWKEYSTORE-1-019] |
|
183 <actionbody> |
|
184 <ExportFile>export_hardware_key</ExportFile> |
|
185 <keyusage>Derive</keyusage> |
|
186 <keylabel>ecckey</keylabel> |
|
187 <keyalgorithm>ECC</keyalgorithm> |
|
188 <encrypted>0</encrypted> |
|
189 </actionbody> |
|
190 <actionresult> |
|
191 <return>KErrNotSupported</return> |
|
192 </actionresult> |
|
193 |
|
194 |
|
195 [SEC-FILETOKENS-THWKEYSTORE-1-020] |
|
196 <actionbody> |
|
197 <ExportFile>export_encrypted_hardware_key</ExportFile> |
|
198 <keyusage>Derive</keyusage> |
|
199 <keylabel>ecckey</keylabel> |
|
200 <keyalgorithm>ECC</keyalgorithm> |
|
201 <encrypted>1</encrypted> |
|
202 </actionbody> |
|
203 <actionresult> |
|
204 <return>KErrNotSupported</return> |
|
205 </actionresult> |
|
206 |
|
207 |
|
208 [SEC-FILETOKENS-THWKEYSTORE-1-021] |
|
209 <actionbody> |
|
210 <keylabel>ecckey</keylabel> |
|
211 <policy> |
|
212 <secureid>0x101FFFFF</secureid> |
|
213 <capability>DRM</capability> |
|
214 <capability>ReadUserData</capability> |
|
215 </policy> |
|
216 </actionbody> |
|
217 <actionresult> |
|
218 <return>KErrNotSupported</return> |
|
219 </actionresult> |
|
220 |
|
221 |
|
222 [SEC-FILETOKENS-THWKEYSTORE-1-022] |
|
223 <actionbody> |
|
224 <keylabel>ecckey</keylabel> |
|
225 <policy> |
|
226 <secureid>0x101FFFFF</secureid> |
|
227 <capability>DRM</capability> |
|
228 <capability>ReadUserData</capability> |
|
229 </policy> |
|
230 </actionbody> |
|
231 <actionresult> |
|
232 <return>KErrNotSupported</return> |
|
233 </actionresult> |
|
234 |
|
235 |
|
236 [SEC-FILETOKENS-THWKEYSTORE-1-023] |
|
237 <actionbody> |
|
238 <keyalgorithm>ECC</keyalgorithm> |
|
239 <keylabel>ecckey</keylabel> |
|
240 </actionbody> |
|
241 <actionresult> |
|
242 <return>KErrNotSupported</return> |
|
243 </actionresult> |
|
244 |
|
245 |
|
246 |
|
247 [SEC-FILETOKENS-THWKEYSTORE-1-025] |
|
248 <actionbody> |
|
249 <seconds>5</seconds> |
|
250 </actionbody> |
|
251 |