cryptoservices/certificateandkeymgmt/tcertstore/scripts/apipolicing.ini
author hgs
Thu, 22 Jul 2010 18:30:16 +0530
changeset 85 1efb81185f1c
parent 30 cf642210ecb7
permissions -rw-r--r--
201028_01
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
85
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
     1
[SEC-TCERTSTORE-APIPOLICING-0.1.2-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
     2
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
     3
	<name>A1</name>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
     4
	<uid>1</uid>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
     5
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
     6
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
     7
[SEC-TCERTSTORE-APIPOLICING-0.1.3-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
     8
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
     9
	<name>A2</name>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    10
	<uid>2</uid>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    11
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    12
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    13
[SEC-TCERTSTORE-APIPOLICING-0.1.4-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    14
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    15
	<name>A3</name>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    16
	<uid>3</uid>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    17
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    18
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    19
[SEC-TCERTSTORE-APIPOLICING-0.1.5-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    20
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    21
	<name>A4</name>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    22
	<uid>4</uid>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    23
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    24
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    25
[SEC-TCERTSTORE-APIPOLICING-0.2-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    26
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    27
	<mode>write</mode>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    28
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    29
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    30
[SEC-TCERTSTORE-APIPOLICING-0.3.1-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    31
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    32
	<storeindex>0</storeindex>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    33
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    34
<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    35
	<numberofstores>1</numberofstores>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    36
</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    37
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    38
[SEC-TCERTSTORE-APIPOLICING-0.3.2-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    39
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    40
	<storeindex>0</storeindex>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    41
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    42
<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    43
	<numberofstores>0</numberofstores>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    44
</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    45
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    46
[SEC-TCERTSTORE-APIPOLICING-0.3.3-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    47
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    48
	<storeindex>0</storeindex>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    49
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    50
<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    51
	<numberofstores>1</numberofstores>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    52
</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    53
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    54
[SEC-TCERTSTORE-APIPOLICING-0.4-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    55
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    56
	<label>*.*</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    57
	<deleteallcerts>1</deleteallcerts>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    58
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    59
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    60
[SEC-TCERTSTORE-APIPOLICING-0.5-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    61
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    62
	<ImportData>rsacertkey1.txt</ImportData>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    63
	<keyusage>AllUsagesButNR</keyusage>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    64
	<keylabel>*IMPORTED* RSA key 1</keylabel>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    65
	<keyaccesstype>Extractable</keyaccesstype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    66
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    67
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    68
[SEC-TCERTSTORE-APIPOLICING-1.1-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    69
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    70
	<testexe>t_certstore.exe</testexe>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    71
	<excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    72
	<capability>TCB</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    73
	</excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    74
	<policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    75
	<capability>WriteDeviceData</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    76
	</policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    77
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    78
	<preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    79
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    80
		<actionname>Opening a writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    81
		<actiontype>init</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    82
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    83
			<mode>write</mode>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    84
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    85
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    86
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    87
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    88
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    89
	</preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    90
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    91
	<passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    92
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    93
		<actionname>Add the certificate CAX1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    94
		<actiontype>addcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    95
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    96
			<format>X509</format>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    97
			<label>CAX1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    98
			<issuerkey></issuerkey>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
    99
			<subjectkey></subjectkey>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   100
			<certstore>0</certstore>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   101
			<certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   102
			<certowner>ca</certowner>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   103
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   104
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   105
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   106
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   107
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   108
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   109
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   110
		<actionname>Get the list of certificates</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   111
		<actiontype>listcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   112
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   113
			<filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   114
			<ownertype>ca</ownertype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   115
			</filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   116
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   117
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   118
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   119
			<CCTCertInfo><label>CAX1</label></CCTCertInfo>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   120
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   121
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   122
	</passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   123
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   124
	<failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   125
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   126
		<actionname>Add the certificate CAX1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   127
		<actiontype>addcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   128
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   129
			<format>X509</format>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   130
			<label>CAX1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   131
			<issuerkey></issuerkey>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   132
			<subjectkey></subjectkey>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   133
			<certstore>0</certstore>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   134
			<certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   135
			<certowner>ca</certowner>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   136
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   137
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   138
			<return>KErrPermissionDenied</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   139
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   140
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   141
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   142
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   143
		<actionname>Get the list of certificates</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   144
		<actiontype>listcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   145
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   146
			<filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   147
			<ownertype>ca</ownertype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   148
			</filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   149
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   150
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   151
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   152
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   153
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   154
	</failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   155
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   156
	<postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   157
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   158
		<actionname>Deleting the writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   159
		<actiontype>delete</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   160
		<actionbody></actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   161
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   162
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   163
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   164
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   165
	</postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   166
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   167
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   168
[SEC-TCERTSTORE-APIPOLICING-1.2-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   169
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   170
	<testexe>t_certstore.exe</testexe>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   171
	<excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   172
	<capability>TCB</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   173
	</excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   174
	<policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   175
	<capability>WriteDeviceData</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   176
	</policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   177
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   178
	<preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   179
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   180
		<actionname>Opening a writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   181
		<actiontype>init</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   182
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   183
			<mode>write</mode>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   184
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   185
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   186
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   187
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   188
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   189
	</preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   190
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   191
	<passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   192
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   193
		<actionname>Set applications to the CAX1 certificate</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   194
		<actiontype>setapplications</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   195
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   196
			<label>CAX1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   197
			<uid>2 3</uid>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   198
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   199
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   200
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   201
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   202
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   203
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   204
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   205
		<actionname>Set the trust for CAX1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   206
		<actiontype>settrust</actiontype> 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   207
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   208
			<label>CAX1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   209
			<trust>1</trust>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   210
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   211
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   212
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   213
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   214
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   215
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   216
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   217
		<actionname>Get applications for CAX1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   218
		<actiontype>getapplications</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   219
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   220
			<label>CAX1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   221
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   222
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   223
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   224
			<uid>2 3</uid>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   225
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   226
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   227
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   228
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   229
		<actionname>Get the trust for CAX1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   230
		<actiontype>gettrusters</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   231
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   232
			<label>CAX1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   233
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   234
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   235
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   236
			<trust>1</trust>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   237
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   238
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   239
	</passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   240
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   241
	<failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   242
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   243
		<actionname>Set applications to the CAX1 certificate</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   244
		<actiontype>setapplications</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   245
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   246
			<label>CAX1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   247
			<uid>2 3</uid>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   248
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   249
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   250
			<return>KErrPermissionDenied</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   251
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   252
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   253
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   254
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   255
		<actionname>Set the trust for CAX1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   256
		<actiontype>settrust</actiontype> 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   257
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   258
			<label>CAX1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   259
			<trust>1</trust>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   260
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   261
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   262
			<return>KErrPermissionDenied</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   263
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   264
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   265
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   266
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   267
		<actionname>Get applications for CAX1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   268
		<actiontype>getapplications</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   269
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   270
			<label>CAX1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   271
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   272
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   273
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   274
			<uid></uid>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   275
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   276
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   277
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   278
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   279
		<actionname>Get the trust for CAX1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   280
		<actiontype>gettrusters</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   281
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   282
			<label>CAX1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   283
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   284
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   285
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   286
			<trust>0</trust>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   287
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   288
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   289
	</failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   290
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   291
	<postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   292
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   293
		<actionname>Deleting the writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   294
		<actiontype>delete</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   295
		<actionbody></actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   296
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   297
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   298
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   299
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   300
	</postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   301
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   302
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   303
[SEC-TCERTSTORE-APIPOLICING-1.3-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   304
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   305
	<testexe>t_certstore.exe</testexe>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   306
	<excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   307
	<capability>TCB</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   308
	</excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   309
	<policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   310
	</policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   311
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   312
	<preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   313
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   314
		<actionname>Opening a writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   315
		<actiontype>init</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   316
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   317
			<mode>write</mode>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   318
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   319
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   320
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   321
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   322
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   323
	</preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   324
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   325
	<passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   326
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   327
		<actionname>Get applications for CAX1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   328
		<actiontype>getapplications</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   329
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   330
			<label>CAX1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   331
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   332
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   333
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   334
			<uid>2 3</uid>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   335
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   336
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   337
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   338
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   339
		<actionname>Get the trust for CAX1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   340
		<actiontype>gettrusters</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   341
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   342
			<label>CAX1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   343
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   344
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   345
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   346
			<trust>1</trust>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   347
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   348
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   349
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   350
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   351
		<actionname>Get the list of certificates</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   352
		<actiontype>listcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   353
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   354
			<filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   355
			<ownertype>ca</ownertype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   356
			</filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   357
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   358
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   359
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   360
			<CCTCertInfo><label>CAX1</label></CCTCertInfo>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   361
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   362
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   363
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   364
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   365
		<actionname>Retrieve CAX1 cert</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   366
		<actiontype>retrieve</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   367
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   368
			<label>CAX1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   369
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   370
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   371
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   372
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   373
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   374
	</passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   375
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   376
	<failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   377
	</failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   378
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   379
	<postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   380
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   381
		<actionname>Deleting the writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   382
		<actiontype>delete</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   383
		<actionbody></actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   384
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   385
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   386
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   387
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   388
	</postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   389
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   390
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   391
[SEC-TCERTSTORE-APIPOLICING-1.4-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   392
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   393
	<testexe>t_certstore.exe</testexe>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   394
	<excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   395
	<capability>TCB</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   396
	</excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   397
	<policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   398
	<capability>WriteDeviceData</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   399
	</policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   400
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   401
	<preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   402
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   403
		<actionname>Opening a writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   404
		<actiontype>init</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   405
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   406
			<mode>write</mode>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   407
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   408
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   409
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   410
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   411
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   412
	</preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   413
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   414
	<passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   415
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   416
		<actionname>Remove the certificate CAX1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   417
		<actiontype>deletecert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   418
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   419
			<certtype>ca</certtype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   420
			<label>CAX1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   421
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   422
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   423
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   424
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   425
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   426
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   427
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   428
		<actionname>Get the list of certificates</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   429
		<actiontype>listcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   430
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   431
			<filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   432
			<ownertype>ca</ownertype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   433
			</filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   434
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   435
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   436
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   437
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   438
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   439
	</passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   440
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   441
	<failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   442
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   443
		<actionname>Remove the certificate CAX1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   444
		<actiontype>deletecert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   445
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   446
			<certtype>ca</certtype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   447
			<label>CAX1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   448
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   449
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   450
			<return>KErrPermissionDenied</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   451
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   452
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   453
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   454
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   455
		<actionname>Get the list of certificates</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   456
		<actiontype>listcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   457
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   458
			<filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   459
			<ownertype>ca</ownertype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   460
			</filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   461
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   462
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   463
			<CCTCertInfo><label>CAX1</label></CCTCertInfo>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   464
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   465
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   466
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   467
	</failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   468
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   469
	<postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   470
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   471
		<actionname>Deleting the writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   472
		<actiontype>delete</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   473
		<actionbody></actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   474
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   475
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   476
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   477
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   478
	</postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   479
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   480
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   481
[SEC-TCERTSTORE-APIPOLICING-2.1-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   482
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   483
	<testexe>t_certstore.exe</testexe>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   484
	<excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   485
	<capability>TCB</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   486
	</excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   487
	<policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   488
	<capability>ReadUserData</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   489
	<capability>WriteUserData</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   490
	</policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   491
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   492
	<preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   493
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   494
		<actionname>Opening a writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   495
		<actiontype>init</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   496
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   497
			<mode>write</mode>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   498
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   499
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   500
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   501
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   502
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   503
	</preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   504
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   505
	<failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   506
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   507
		<actionname>Add the certificate rsacert1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   508
		<actiontype>addcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   509
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   510
			<format>X509</format>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   511
			<label>rsacert1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   512
			<issuerkey></issuerkey>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   513
			<subjectkey>4808f03892fe836e78d048bcefcca4a37913d886</subjectkey>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   514
			<certstore>0</certstore>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   515
			<certfile>c:\unifiedcertstore2\rsacert1.cer</certfile>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   516
			<certowner>user</certowner>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   517
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   518
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   519
			<return>KErrPermissionDenied</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   520
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   521
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   522
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   523
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   524
		<actionname>Get the list of certificates</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   525
		<actiontype>listcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   526
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   527
			<filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   528
			<ownertype>user</ownertype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   529
			</filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   530
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   531
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   532
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   533
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   534
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   535
	</failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   536
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   537
	<passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   538
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   539
		<actionname>Add the certificate rsacert1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   540
		<actiontype>addcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   541
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   542
			<format>X509</format>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   543
			<label>rsacert1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   544
			<issuerkey></issuerkey>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   545
			<subjectkey>4808f03892fe836e78d048bcefcca4a37913d886</subjectkey>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   546
			<certstore>0</certstore>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   547
			<certfile>c:\unifiedcertstore2\rsacert1.cer</certfile>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   548
			<certowner>user</certowner>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   549
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   550
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   551
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   552
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   553
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   554
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   555
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   556
		<actionname>Get the list of certificates</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   557
		<actiontype>listcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   558
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   559
			<filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   560
			<ownertype>user</ownertype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   561
			</filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   562
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   563
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   564
			<CCTCertInfo><label>rsacert1</label></CCTCertInfo>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   565
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   566
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   567
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   568
	</passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   569
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   570
	<postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   571
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   572
		<actionname>Deleting the writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   573
		<actiontype>delete</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   574
		<actionbody></actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   575
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   576
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   577
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   578
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   579
	</postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   580
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   581
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   582
[SEC-TCERTSTORE-APIPOLICING-2.2-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   583
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   584
	<testexe>t_certstore.exe</testexe>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   585
	<excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   586
	<capability>TCB</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   587
	</excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   588
	<policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   589
	</policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   590
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   591
	<preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   592
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   593
		<actionname>Opening a writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   594
		<actiontype>init</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   595
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   596
			<mode>write</mode>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   597
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   598
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   599
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   600
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   601
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   602
	</preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   603
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   604
	<passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   605
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   606
		<actionname>Get the list of certificates</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   607
		<actiontype>listcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   608
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   609
			<filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   610
			<ownertype>user</ownertype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   611
			</filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   612
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   613
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   614
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   615
			<CCTCertInfo><label>rsacert1</label></CCTCertInfo>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   616
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   617
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   618
	</passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   619
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   620
	<failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   621
	</failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   622
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   623
	<postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   624
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   625
		<actionname>Deleting the writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   626
		<actiontype>delete</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   627
		<actionbody></actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   628
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   629
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   630
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   631
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   632
	</postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   633
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   634
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   635
[SEC-TCERTSTORE-APIPOLICING-2.3-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   636
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   637
	<testexe>t_certstore.exe</testexe>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   638
	<excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   639
	<capability>TCB</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   640
	</excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   641
	<policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   642
	<capability>ReadUserData</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   643
	</policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   644
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   645
	<preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   646
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   647
		<actionname>Opening a writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   648
		<actiontype>init</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   649
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   650
			<mode>write</mode>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   651
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   652
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   653
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   654
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   655
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   656
	</preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   657
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   658
	<passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   659
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   660
		<actionname>Retrieve rsacert1 cert</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   661
		<actiontype>retrieve</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   662
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   663
			<label>rsacert1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   664
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   665
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   666
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   667
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   668
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   669
	</passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   670
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   671
	<failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   672
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   673
		<actionname>Retrieve rsacert1 cert</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   674
		<actiontype>retrieve</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   675
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   676
			<label>rsacert1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   677
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   678
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   679
			<return>KErrPermissionDenied</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   680
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   681
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   682
	</failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   683
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   684
	<postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   685
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   686
		<actionname>Deleting the writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   687
		<actiontype>delete</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   688
		<actionbody></actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   689
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   690
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   691
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   692
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   693
	</postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   694
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   695
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   696
[SEC-TCERTSTORE-APIPOLICING-2.4-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   697
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   698
	<testexe>t_certstore.exe</testexe>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   699
	<excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   700
	<capability>TCB</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   701
	</excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   702
	<policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   703
	<capability>WriteUserData</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   704
	</policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   705
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   706
	<preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   707
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   708
		<actionname>Opening a writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   709
		<actiontype>init</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   710
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   711
			<mode>write</mode>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   712
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   713
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   714
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   715
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   716
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   717
	</preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   718
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   719
	<passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   720
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   721
		<actionname>Remove the certificate rsacert1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   722
		<actiontype>deletecert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   723
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   724
			<certtype>user</certtype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   725
			<label>rsacert1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   726
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   727
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   728
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   729
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   730
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   731
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   732
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   733
		<actionname>Get the list of certificates</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   734
		<actiontype>listcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   735
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   736
			<filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   737
			<ownertype>user</ownertype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   738
			</filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   739
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   740
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   741
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   742
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   743
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   744
	</passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   745
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   746
	<failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   747
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   748
		<actionname>Remove the certificate rsacert1</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   749
		<actiontype>deletecert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   750
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   751
			<certtype>user</certtype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   752
			<label>rsacert1</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   753
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   754
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   755
			<return>KErrPermissionDenied</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   756
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   757
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   758
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   759
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   760
		<actionname>Get the list of certificates</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   761
		<actiontype>listcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   762
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   763
			<filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   764
			<ownertype>user</ownertype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   765
			</filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   766
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   767
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   768
			<CCTCertInfo><label>rsacert1</label></CCTCertInfo>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   769
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   770
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   771
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   772
	</failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   773
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   774
	<postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   775
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   776
		<actionname>Deleting the writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   777
		<actiontype>delete</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   778
		<actionbody></actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   779
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   780
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   781
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   782
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   783
	</postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   784
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   785
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   786
[SEC-TCERTSTORE-APIPOLICING-3.1-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   787
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   788
	<testexe>t_certstore.exe</testexe>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   789
	<excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   790
	<capability>TCB</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   791
	</excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   792
	<policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   793
	<capability>WriteUserData</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   794
	</policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   795
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   796
	<preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   797
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   798
		<actionname>Opening a writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   799
		<actiontype>init</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   800
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   801
			<mode>write</mode>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   802
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   803
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   804
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   805
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   806
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   807
	</preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   808
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   809
	<failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   810
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   811
		<actionname>Add the certificate U5K3</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   812
		<actiontype>addcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   813
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   814
			<format>X509</format>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   815
			<label>U5K3</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   816
			<issuerkey></issuerkey>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   817
			<subjectkey>eeda2c6da84f17519ee837eadb8a5289dadfbb26</subjectkey>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   818
			<certstore>0</certstore>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   819
			<certfile>c:\unifiedcertstore2\U5K3.crt</certfile>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   820
			<certowner>peer</certowner>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   821
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   822
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   823
			<return>KErrPermissionDenied</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   824
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   825
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   826
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   827
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   828
		<actionname>Get the list of certificates</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   829
		<actiontype>listpeercert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   830
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   831
					<filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   832
					<ownertype>peer</ownertype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   833
					</filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   834
				</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   835
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   836
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   837
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   838
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   839
	</failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   840
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   841
	<passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   842
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   843
		<actionname>Add the certificate U5K3</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   844
		<actiontype>addcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   845
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   846
			<format>X509</format>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   847
			<label>U5K3</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   848
			<issuerkey></issuerkey>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   849
			<subjectkey>eeda2c6da84f17519ee837eadb8a5289dadfbb26</subjectkey>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   850
			<certstore>0</certstore>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   851
			<certfile>c:\unifiedcertstore2\U5K3.crt</certfile>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   852
			<certowner>peer</certowner>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   853
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   854
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   855
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   856
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   857
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   858
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   859
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   860
		<actionname>Get the list of certificates</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   861
		<actiontype>listcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   862
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   863
					<filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   864
					<ownertype>peer</ownertype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   865
					</filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   866
				</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   867
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   868
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   869
			<CCTCertInfo><label>U5K3</label></CCTCertInfo>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   870
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   871
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   872
	</passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   873
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   874
	<postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   875
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   876
		<actionname>Deleting the writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   877
		<actiontype>delete</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   878
		<actionbody></actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   879
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   880
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   881
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   882
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   883
	</postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   884
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   885
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   886
[SEC-TCERTSTORE-APIPOLICING-3.2-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   887
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   888
	<testexe>t_certstore.exe</testexe>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   889
	<excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   890
	<capability>TCB</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   891
	</excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   892
	<policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   893
	</policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   894
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   895
	<preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   896
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   897
		<actionname>Opening a writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   898
				<actiontype>init</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   899
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   900
			<mode>write</mode>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   901
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   902
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   903
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   904
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   905
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   906
	</preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   907
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   908
	<passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   909
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   910
		<actionname>Get the list of certificates</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   911
		<actiontype>listcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   912
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   913
					<filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   914
					<ownertype>peer</ownertype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   915
					</filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   916
				</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   917
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   918
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   919
			<CCTCertInfo><label>U5K3</label></CCTCertInfo>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   920
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   921
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   922
	</passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   923
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   924
	<failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   925
	</failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   926
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   927
	<postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   928
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   929
		<actionname>Deleting the writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   930
		<actiontype>delete</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   931
		<actionbody></actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   932
				<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   933
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   934
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   935
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   936
	</postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   937
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   938
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   939
[SEC-TCERTSTORE-APIPOLICING-3.3-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   940
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   941
	<testexe>t_certstore.exe</testexe>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   942
	<excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   943
	<capability>TCB</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   944
		</excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   945
	<policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   946
	<capability>ReadUserData</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   947
	</policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   948
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   949
	<preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   950
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   951
				<actionname>Opening a writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   952
		<actiontype>init</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   953
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   954
			<mode>write</mode>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   955
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   956
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   957
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   958
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   959
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   960
	</preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   961
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   962
	<passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   963
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   964
		<actionname>Retrieve U5K3 cert</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   965
		<actiontype>retrieve</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   966
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   967
			<label>U5K3</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   968
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   969
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   970
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   971
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   972
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   973
	</passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   974
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   975
	<failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   976
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   977
		<actionname>Retrieve U5K3 cert</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   978
		<actiontype>retrieve</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   979
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   980
			<label>U5K3</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   981
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   982
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   983
			<return>KErrPermissionDenied</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   984
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   985
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   986
	</failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   987
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   988
	<postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   989
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   990
		<actionname>Deleting the writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   991
		<actiontype>delete</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   992
		<actionbody></actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   993
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   994
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   995
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   996
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   997
	</postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   998
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
   999
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1000
[SEC-TCERTSTORE-APIPOLICING-3.4-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1001
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1002
	<testexe>t_certstore.exe</testexe>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1003
	<excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1004
	<capability>TCB</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1005
	</excludedcapabilities>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1006
	<policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1007
	<capability>WriteUserData</capability>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1008
	</policy>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1009
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1010
	<preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1011
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1012
		<actionname>Opening a writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1013
		<actiontype>init</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1014
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1015
			<mode>write</mode>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1016
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1017
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1018
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1019
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1020
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1021
	</preactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1022
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1023
	<passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1024
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1025
		<actionname>Remove the certificate U5K3</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1026
		<actiontype>deletecert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1027
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1028
			<certtype>peer</certtype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1029
			<label>U5K3</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1030
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1031
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1032
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1033
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1034
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1035
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1036
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1037
		<actionname>Get the list of certificates</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1038
		<actiontype>listcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1039
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1040
					<filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1041
					<ownertype>peer</ownertype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1042
					</filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1043
				</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1044
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1045
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1046
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1047
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1048
	</passactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1049
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1050
	<failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1051
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1052
		<actionname>Remove the certificate U5K3</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1053
		<actiontype>deletecert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1054
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1055
			<certtype>peer</certtype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1056
			<label>U5K3</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1057
		</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1058
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1059
			<return>KErrPermissionDenied</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1060
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1061
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1062
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1063
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1064
		<actionname>Get the list of certificates</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1065
		<actiontype>listcert</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1066
		<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1067
					<filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1068
					<ownertype>peer</ownertype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1069
					</filter>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1070
				</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1071
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1072
			<CCTCertInfo><label>U5K3</label></CCTCertInfo>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1073
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1074
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1075
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1076
	</failactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1077
 
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1078
	<postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1079
	<action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1080
		<actionname>Deleting the writable certificate store manager</actionname>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1081
		<actiontype>delete</actiontype>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1082
		<actionbody></actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1083
		<actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1084
			<return>KErrNone</return>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1085
		</actionresult>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1086
	</action>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1087
	</postactions>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1088
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1089
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1090
[SEC-TCERTSTORE-APIPOLICING-4.1-001]
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1091
<actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1092
	<label>*.*</label>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1093
	<deleteallcerts>1</deleteallcerts>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1094
</actionbody>
1efb81185f1c 201028_01
hgs
parents: 30
diff changeset
  1095