os/security/cryptoservices/certificateandkeymgmt/tcertstore/scripts/certappmanager.txt
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/security/cryptoservices/certificateandkeymgmt/tcertstore/scripts/certappmanager.txt	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,473 @@
     1.4 +//4.1 Typical usage
     1.5 +
     1.6 +<action>
     1.7 +	<actionname>4.1.1,Creating a CertificateAppInfoManager</actionname>
     1.8 +	<actiontype>initappmanager</actiontype>
     1.9 +	<actionbody></actionbody>
    1.10 +	<actionresult>
    1.11 +		<return>KErrNone</return>
    1.12 +	</actionresult>
    1.13 +</action>
    1.14 +
    1.15 +<action>
    1.16 +	<actionname>4.1.2,Retrieving the clients</actionname>
    1.17 +	<actiontype>getclients</actiontype>
    1.18 +	<actionbody></actionbody>
    1.19 +	<actionresult>
    1.20 +		<return>KErrNone</return>
    1.21 +		<uid></uid>
    1.22 +	</actionresult>
    1.23 +</action>
    1.24 +
    1.25 +<action>
    1.26 +	<actionname>4.1.3.a,Adding client A1</actionname>
    1.27 +	<actiontype>addclient</actiontype>
    1.28 +	<actionbody>
    1.29 +		<name>A1</name>
    1.30 +		<uid>1</uid>
    1.31 +	</actionbody>
    1.32 +	<actionresult>
    1.33 +		<return>KErrNone</return>
    1.34 +	</actionresult>
    1.35 +</action>
    1.36 +
    1.37 +<action>
    1.38 +	<actionname>4.1.3.b,Adding client A2</actionname>
    1.39 +	<actiontype>addclient</actiontype>
    1.40 +	<actionbody>
    1.41 +		<name>A2</name>
    1.42 +		<uid>2</uid>
    1.43 +	</actionbody>
    1.44 +	<actionresult>
    1.45 +		<return>KErrNone</return>
    1.46 +	</actionresult>
    1.47 +</action>
    1.48 +
    1.49 +<action>
    1.50 +	<actionname>4.1.3.c,Adding client A3</actionname>
    1.51 +	<actiontype>addclient</actiontype>
    1.52 +	<actionbody>
    1.53 +		<name>A3</name>
    1.54 +		<uid>3</uid>
    1.55 +	</actionbody>
    1.56 +	<actionresult>
    1.57 +		<return>KErrNone</return>
    1.58 +	</actionresult>
    1.59 +</action>
    1.60 +
    1.61 +<action>
    1.62 +	<actionname>4.1.3.d,Adding client A4</actionname>
    1.63 +	<actiontype>addclient</actiontype>
    1.64 +	<actionbody>
    1.65 +		<name>A4</name>
    1.66 +		<uid>4</uid>
    1.67 +	</actionbody>
    1.68 +	<actionresult>
    1.69 +		<return>KErrNone</return>
    1.70 +	</actionresult>
    1.71 +</action>
    1.72 +
    1.73 +<action>
    1.74 +	<actionname>4.1.3.e,Retrieving the clients</actionname>
    1.75 +	<actiontype>getclients</actiontype>
    1.76 +	<actionbody></actionbody>
    1.77 +	<actionresult>
    1.78 +		<return>KErrNone</return>
    1.79 +		<uid>1 2 3 4</uid>
    1.80 +	</actionresult>
    1.81 +</action>
    1.82 +
    1.83 +<action>
    1.84 +	<actionname>4.1.4,Deleting the CertificateAppInfoManager</actionname>
    1.85 +	<actiontype>deleteappmanager</actiontype>
    1.86 +	<actionbody></actionbody>
    1.87 +	<actionresult>
    1.88 +		<return>KErrNone</return>
    1.89 +	</actionresult>
    1.90 +</action>
    1.91 +
    1.92 +<action>
    1.93 +	<actionname>4.1.5,Creating a CertificateAppInfoManager</actionname>
    1.94 +	<actiontype>initappmanager</actiontype>
    1.95 +	<actionbody></actionbody>
    1.96 +	<actionresult>
    1.97 +		<return>KErrNone</return>
    1.98 +	</actionresult>
    1.99 +</action>
   1.100 +
   1.101 +<action>
   1.102 +	<actionname>4.1.6,Retrieving the clients</actionname>
   1.103 +	<actiontype>getclients</actiontype>
   1.104 +	<actionbody></actionbody>
   1.105 +	<actionresult>
   1.106 +		<return>KErrNone</return>
   1.107 +		<uid>1 2 3 4</uid>
   1.108 +	</actionresult>
   1.109 +</action>
   1.110 +
   1.111 +<action>
   1.112 +	<actionname>4.1.7.a,Deleting the client A1</actionname>
   1.113 +	<actiontype>removeclient</actiontype>
   1.114 +	<actionbody>
   1.115 +		<uid>1</uid>
   1.116 +	</actionbody>
   1.117 +	<actionresult>
   1.118 +		<return>KErrNone</return>
   1.119 +	</actionresult>
   1.120 +</action>
   1.121 +
   1.122 +<action>
   1.123 +	<actionname>4.1.7.b,Retrieving the clients</actionname>
   1.124 +	<actiontype>getclients</actiontype>
   1.125 +	<actionbody></actionbody>
   1.126 +	<actionresult>
   1.127 +		<return>KErrNone</return>
   1.128 +		<uid>2 3 4</uid>
   1.129 +	</actionresult>
   1.130 +</action>
   1.131 +
   1.132 +<action>
   1.133 +	<actionname>4.1.8,Deleting the CertificateAppInfoManager</actionname>
   1.134 +	<actiontype>deleteappmanager</actiontype>
   1.135 +	<actionbody></actionbody>
   1.136 +	<actionresult>
   1.137 +		<return>KErrNone</return>
   1.138 +	</actionresult>
   1.139 +</action>
   1.140 +
   1.141 +<action>
   1.142 +	<actionname>4.1.9,Creating a CertificateAppInfoManager</actionname>
   1.143 +	<actiontype>initappmanager</actiontype>
   1.144 +	<actionbody></actionbody>
   1.145 +	<actionresult>
   1.146 +		<return>KErrNone</return>
   1.147 +	</actionresult>
   1.148 +</action>
   1.149 +
   1.150 +<action>
   1.151 +	<actionname>4.1.10,Retrieving the clients</actionname>
   1.152 +	<actiontype>getclients</actiontype>
   1.153 +	<actionbody></actionbody>
   1.154 +	<actionresult>
   1.155 +		<return>KErrNone</return>
   1.156 +		<uid>2 3 4</uid>
   1.157 +	</actionresult>
   1.158 +</action>
   1.159 +
   1.160 +<action>
   1.161 +	<actionname>4.1.11.a,Deleting the client A2</actionname>
   1.162 +	<actiontype>removeclient</actiontype>
   1.163 +	<actionbody>
   1.164 +		<uid>2</uid>
   1.165 +	</actionbody>
   1.166 +	<actionresult>
   1.167 +		<return>KErrNone</return>
   1.168 +	</actionresult>
   1.169 +</action>
   1.170 +
   1.171 +<action>
   1.172 +	<actionname>4.1.11.b,Deleting the client A3</actionname>
   1.173 +	<actiontype>removeclient</actiontype>
   1.174 +	<actionbody>
   1.175 +		<uid>3</uid>
   1.176 +	</actionbody>
   1.177 +	<actionresult>
   1.178 +		<return>KErrNone</return>
   1.179 +	</actionresult>
   1.180 +</action>
   1.181 +
   1.182 +<action>
   1.183 +	<actionname>4.1.11.c,Deleting the client A4</actionname>
   1.184 +	<actiontype>removeclient</actiontype>
   1.185 +	<actionbody>
   1.186 +		<uid>4</uid>
   1.187 +	</actionbody>
   1.188 +	<actionresult>
   1.189 +		<return>KErrNone</return>
   1.190 +	</actionresult>
   1.191 +</action>
   1.192 +
   1.193 +<action>
   1.194 +	<actionname>4.1.11.d,Retrieving the clients</actionname>
   1.195 +	<actiontype>getclients</actiontype>
   1.196 +	<actionbody></actionbody>
   1.197 +	<actionresult>
   1.198 +		<return>KErrNone</return>
   1.199 +		<uid></uid>
   1.200 +	</actionresult>
   1.201 +</action>
   1.202 +
   1.203 +<action>
   1.204 +	<actionname>4.1.12,Deleting the CertificateAppInfoManager</actionname>
   1.205 +	<actiontype>deleteappmanager</actiontype>
   1.206 +	<actionbody></actionbody>
   1.207 +	<actionresult>
   1.208 +		<return>KErrNone</return>
   1.209 +	</actionresult>
   1.210 +</action>
   1.211 +
   1.212 +<action>
   1.213 +	<actionname>4.1.13,Creating a CertificateAppInfoManager</actionname>
   1.214 +	<actiontype>initappmanager</actiontype>
   1.215 +	<actionbody></actionbody>
   1.216 +	<actionresult>
   1.217 +		<return>KErrNone</return>
   1.218 +	</actionresult>
   1.219 +</action>
   1.220 +
   1.221 +<action>
   1.222 +	<actionname>4.1.14,Retrieving the clients</actionname>
   1.223 +	<actiontype>getclients</actiontype>
   1.224 +	<actionbody></actionbody>
   1.225 +	<actionresult>
   1.226 +		<return>KErrNone</return>
   1.227 +		<uid></uid>
   1.228 +	</actionresult>
   1.229 +</action>
   1.230 +
   1.231 +<action>
   1.232 +	<actionname>4.1.15,Deleting the CertificateAppInfoManager</actionname>
   1.233 +	<actiontype>deleteappmanager</actiontype>
   1.234 +	<actionbody></actionbody>
   1.235 +	<actionresult>
   1.236 +		<return>KErrNone</return>
   1.237 +	</actionresult>
   1.238 +</action>
   1.239 +
   1.240 +//4.2 Error handling
   1.241 +
   1.242 +<action>
   1.243 +	<actionname>4.2.1,Creating a CertificateAppInfoManager</actionname>
   1.244 +	<actiontype>initappmanager</actiontype>
   1.245 +	<actionbody></actionbody>
   1.246 +	<actionresult>
   1.247 +		<return>KErrNone</return>
   1.248 +	</actionresult>
   1.249 +</action>
   1.250 +
   1.251 +<action>
   1.252 +	<actionname>4.2.2.a,Adding client A1</actionname>
   1.253 +	<actiontype>addclient</actiontype>
   1.254 +	<actionbody>
   1.255 +		<name>A1</name>
   1.256 +		<uid>1</uid>
   1.257 +	</actionbody>
   1.258 +	<actionresult>
   1.259 +		<return>KErrNone</return>
   1.260 +	</actionresult>
   1.261 +</action>
   1.262 +
   1.263 +<action>
   1.264 +	<actionname>4.2.2.b,Adding client A2</actionname>
   1.265 +	<actiontype>addclient</actiontype>
   1.266 +	<actionbody>
   1.267 +		<name>A2</name>
   1.268 +		<uid>2</uid>
   1.269 +	</actionbody>
   1.270 +	<actionresult>
   1.271 +		<return>KErrNone</return>
   1.272 +	</actionresult>
   1.273 +</action>
   1.274 +
   1.275 +<action>
   1.276 +	<actionname>4.2.2.c,Adding client A3</actionname>
   1.277 +	<actiontype>addclient</actiontype>
   1.278 +	<actionbody>
   1.279 +		<name>A3</name>
   1.280 +		<uid>3</uid>
   1.281 +	</actionbody>
   1.282 +	<actionresult>
   1.283 +		<return>KErrNone</return>
   1.284 +	</actionresult>
   1.285 +</action>
   1.286 +
   1.287 +<action>
   1.288 +	<actionname>4.2.2.d,Adding client A4</actionname>
   1.289 +	<actiontype>addclient</actiontype>
   1.290 +	<actionbody>
   1.291 +		<name>A4</name>
   1.292 +		<uid>4</uid>
   1.293 +	</actionbody>
   1.294 +	<actionresult>
   1.295 +		<return>KErrNone</return>
   1.296 +	</actionresult>
   1.297 +</action>
   1.298 +
   1.299 +<action>
   1.300 +	<actionname>4.2.2.e,Retrieving the clients</actionname>
   1.301 +	<actiontype>getclients</actiontype>
   1.302 +	<actionbody></actionbody>
   1.303 +	<actionresult>
   1.304 +		<return>KErrNone</return>
   1.305 +		<uid>1 2 3 4</uid>
   1.306 +	</actionresult>
   1.307 +</action>
   1.308 +
   1.309 +<action>
   1.310 +	<actionname>4.2.3,Adding client A1</actionname>
   1.311 +	<actiontype>addclient</actiontype>
   1.312 +	<actionbody>
   1.313 +		<name>A1</name>
   1.314 +		<uid>1</uid>
   1.315 +	</actionbody>
   1.316 +	<actionresult>
   1.317 +		<return>KErrAlreadyExists</return>
   1.318 +	</actionresult>
   1.319 +</action>
   1.320 +
   1.321 +<action>
   1.322 +	<actionname>4.2.4,Deleting the CertificateAppInfoManager</actionname>
   1.323 +	<actiontype>deleteappmanager</actiontype>
   1.324 +	<actionbody></actionbody>
   1.325 +	<actionresult>
   1.326 +		<return>KErrNone</return>
   1.327 +	</actionresult>
   1.328 +</action>
   1.329 +
   1.330 +<action>
   1.331 +	<actionname>4.2.5,Creating a CertificateAppInfoManager</actionname>
   1.332 +	<actiontype>initappmanager</actiontype>
   1.333 +	<actionbody></actionbody>
   1.334 +	<actionresult>
   1.335 +		<return>KErrNone</return>
   1.336 +	</actionresult>
   1.337 +</action>
   1.338 +
   1.339 +<action>
   1.340 +	<actionname>4.2.6,Retrieving the clients</actionname>
   1.341 +	<actiontype>getclients</actiontype>
   1.342 +	<actionbody></actionbody>
   1.343 +	<actionresult>
   1.344 +		<return>KErrNone</return>
   1.345 +		<uid>1 2 3 4</uid>
   1.346 +	</actionresult>
   1.347 +</action>
   1.348 +
   1.349 +<action>
   1.350 +	<actionname>4.2.7.a,Deleting the client A1</actionname>
   1.351 +	<actiontype>removeclient</actiontype>
   1.352 +	<actionbody>
   1.353 +		<uid>1</uid>
   1.354 +	</actionbody>
   1.355 +	<actionresult>
   1.356 +		<return>KErrNone</return>
   1.357 +	</actionresult>
   1.358 +</action>
   1.359 +
   1.360 +<action>
   1.361 +	<actionname>4.2.7.b,Retrieving the clients</actionname>
   1.362 +	<actiontype>getclients</actiontype>
   1.363 +	<actionbody></actionbody>
   1.364 +	<actionresult>
   1.365 +		<return>KErrNone</return>
   1.366 +		<uid>2 3 4</uid>
   1.367 +	</actionresult>
   1.368 +</action>
   1.369 +
   1.370 +<action>
   1.371 +	<actionname>4.2.8,Deleting the CertificateAppInfoManager</actionname>
   1.372 +	<actiontype>deleteappmanager</actiontype>
   1.373 +	<actionbody></actionbody>
   1.374 +	<actionresult>
   1.375 +		<return>KErrNone</return>
   1.376 +	</actionresult>
   1.377 +</action>
   1.378 +
   1.379 +<action>
   1.380 +	<actionname>4.2.9,Creating a CertificateAppInfoManager</actionname>
   1.381 +	<actiontype>initappmanager</actiontype>
   1.382 +	<actionbody></actionbody>
   1.383 +	<actionresult>
   1.384 +		<return>KErrNone</return>
   1.385 +	</actionresult>
   1.386 +</action>
   1.387 +
   1.388 +<action>
   1.389 +	<actionname>4.2.10,Retrieving the clients</actionname>
   1.390 +	<actiontype>getclients</actiontype>
   1.391 +	<actionbody></actionbody>
   1.392 +	<actionresult>
   1.393 +		<return>KErrNone</return>
   1.394 +		<uid>2 3 4</uid>
   1.395 +	</actionresult>
   1.396 +</action>
   1.397 +
   1.398 +<action>
   1.399 +	<actionname>4.2.11.a,Deleting the client A2</actionname>
   1.400 +	<actiontype>removeclient</actiontype>
   1.401 +	<actionbody>
   1.402 +		<uid>2</uid>
   1.403 +	</actionbody>
   1.404 +	<actionresult>
   1.405 +		<return>KErrNone</return>
   1.406 +	</actionresult>
   1.407 +</action>
   1.408 +
   1.409 +<action>
   1.410 +	<actionname>4.2.11.b,Deleting the client A3</actionname>
   1.411 +	<actiontype>removeclient</actiontype>
   1.412 +	<actionbody>
   1.413 +		<uid>3</uid>
   1.414 +	</actionbody>
   1.415 +	<actionresult>
   1.416 +		<return>KErrNone</return>
   1.417 +	</actionresult>
   1.418 +</action>
   1.419 +
   1.420 +<action>
   1.421 +	<actionname>4.2.11.c,Deleting the client A4</actionname>
   1.422 +	<actiontype>removeclient</actiontype>
   1.423 +	<actionbody>
   1.424 +		<uid>4</uid>
   1.425 +	</actionbody>
   1.426 +	<actionresult>
   1.427 +		<return>KErrNone</return>
   1.428 +	</actionresult>
   1.429 +</action>
   1.430 +
   1.431 +<action>
   1.432 +	<actionname>4.2.11.d,Retrieving the clients</actionname>
   1.433 +	<actiontype>getclients</actiontype>
   1.434 +	<actionbody></actionbody>
   1.435 +	<actionresult>
   1.436 +		<return>KErrNone</return>
   1.437 +		<uid></uid>
   1.438 +	</actionresult>
   1.439 +</action>
   1.440 +
   1.441 +<action>
   1.442 +	<actionname>4.2.12,Deleting the CertificateAppInfoManager</actionname>
   1.443 +	<actiontype>deleteappmanager</actiontype>
   1.444 +	<actionbody></actionbody>
   1.445 +	<actionresult>
   1.446 +		<return>KErrNone</return>
   1.447 +	</actionresult>
   1.448 +</action>
   1.449 +
   1.450 +<action>
   1.451 +	<actionname>4.2.13,Creating a CertificateAppInfoManager</actionname>
   1.452 +	<actiontype>initappmanager</actiontype>
   1.453 +	<actionbody></actionbody>
   1.454 +	<actionresult>
   1.455 +		<return>KErrNone</return>
   1.456 +	</actionresult>
   1.457 +</action>
   1.458 +
   1.459 +<action>
   1.460 +	<actionname>4.2.14,Retrieving the clients</actionname>
   1.461 +	<actiontype>getclients</actiontype>
   1.462 +	<actionbody></actionbody>
   1.463 +	<actionresult>
   1.464 +		<return>KErrNone</return>
   1.465 +		<uid></uid>
   1.466 +	</actionresult>
   1.467 +</action>
   1.468 +
   1.469 +<action>
   1.470 +	<actionname>4.2.15,Deleting the CertificateAppInfoManager</actionname>
   1.471 +	<actiontype>deleteappmanager</actiontype>
   1.472 +	<actionbody></actionbody>
   1.473 +	<actionresult>
   1.474 +		<return>KErrNone</return>
   1.475 +	</actionresult>
   1.476 +</action>