[SEC-TCERTSTORE-APIPOLICING-0.1.2-001]
<actionbody>
	<name>A1</name>
	<uid>1</uid>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-0.1.3-001]
<actionbody>
	<name>A2</name>
	<uid>2</uid>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-0.1.4-001]
<actionbody>
	<name>A3</name>
	<uid>3</uid>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-0.1.5-001]
<actionbody>
	<name>A4</name>
	<uid>4</uid>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-0.2-001]
<actionbody>
	<mode>write</mode>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-0.3.1-001]
<actionbody>
	<storeindex>0</storeindex>
</actionbody>
<actionresult>
	<numberofstores>1</numberofstores>
</actionresult>

[SEC-TCERTSTORE-APIPOLICING-0.3.2-001]
<actionbody>
	<storeindex>0</storeindex>
</actionbody>
<actionresult>
	<numberofstores>0</numberofstores>
</actionresult>

[SEC-TCERTSTORE-APIPOLICING-0.3.3-001]
<actionbody>
	<storeindex>0</storeindex>
</actionbody>
<actionresult>
	<numberofstores>1</numberofstores>
</actionresult>

[SEC-TCERTSTORE-APIPOLICING-0.4-001]
<actionbody>
	<label>*.*</label>
	<deleteallcerts>1</deleteallcerts>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-0.5-001]
<actionbody>
	<ImportData>rsacertkey1.txt</ImportData>
	<keyusage>AllUsagesButNR</keyusage>
	<keylabel>*IMPORTED* RSA key 1</keylabel>
	<keyaccesstype>Extractable</keyaccesstype>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-1.1-001]
<actionbody>
	<testexe>t_certstore.exe</testexe>
	<excludedcapabilities>
	<capability>TCB</capability>
	</excludedcapabilities>
	<policy>
	<capability>WriteDeviceData</capability>
	</policy>

	<preactions>
	<action>
		<actionname>Opening a writable certificate store manager</actionname>
		<actiontype>init</actiontype>
		<actionbody>
			<mode>write</mode>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</preactions>

	<passactions>
	<action>
		<actionname>Add the certificate CAX1</actionname>
		<actiontype>addcert</actiontype>
		<actionbody>
			<format>X509</format>
			<label>CAX1</label>
			<issuerkey></issuerkey>
			<subjectkey></subjectkey>
			<certstore>0</certstore>
			<certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
			<certowner>ca</certowner>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>

	<action>
		<actionname>Get the list of certificates</actionname>
		<actiontype>listcert</actiontype>
		<actionbody>
			<filter>
			<ownertype>ca</ownertype>
			</filter>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
			<CCTCertInfo><label>CAX1</label></CCTCertInfo>
		</actionresult>
	</action>
	</passactions>

	<failactions>
	<action>
		<actionname>Add the certificate CAX1</actionname>
		<actiontype>addcert</actiontype>
		<actionbody>
			<format>X509</format>
			<label>CAX1</label>
			<issuerkey></issuerkey>
			<subjectkey></subjectkey>
			<certstore>0</certstore>
			<certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
			<certowner>ca</certowner>
		</actionbody>
		<actionresult>
			<return>KErrPermissionDenied</return>
		</actionresult>
	</action>

	<action>
		<actionname>Get the list of certificates</actionname>
		<actiontype>listcert</actiontype>
		<actionbody>
			<filter>
			<ownertype>ca</ownertype>
			</filter>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</failactions>

	<postactions>
	<action>
		<actionname>Deleting the writable certificate store manager</actionname>
		<actiontype>delete</actiontype>
		<actionbody></actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</postactions>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-1.2-001]
<actionbody>
	<testexe>t_certstore.exe</testexe>
	<excludedcapabilities>
	<capability>TCB</capability>
	</excludedcapabilities>
	<policy>
	<capability>WriteDeviceData</capability>
	</policy>

	<preactions>
	<action>
		<actionname>Opening a writable certificate store manager</actionname>
		<actiontype>init</actiontype>
		<actionbody>
			<mode>write</mode>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</preactions>

	<passactions>
	<action>
		<actionname>Set applications to the CAX1 certificate</actionname>
		<actiontype>setapplications</actiontype>
		<actionbody>
			<label>CAX1</label>
			<uid>2 3</uid>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>

	<action>
		<actionname>Set the trust for CAX1</actionname>
		<actiontype>settrust</actiontype> 
		<actionbody>
			<label>CAX1</label>
			<trust>1</trust>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>

	<action>
		<actionname>Get applications for CAX1</actionname>
		<actiontype>getapplications</actiontype>
		<actionbody>
			<label>CAX1</label>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
			<uid>2 3</uid>
		</actionresult>
	</action>

	<action>
		<actionname>Get the trust for CAX1</actionname>
		<actiontype>gettrusters</actiontype>
		<actionbody>
			<label>CAX1</label>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
			<trust>1</trust>
		</actionresult>
	</action>
	</passactions>

	<failactions>
	<action>
		<actionname>Set applications to the CAX1 certificate</actionname>
		<actiontype>setapplications</actiontype>
		<actionbody>
			<label>CAX1</label>
			<uid>2 3</uid>
		</actionbody>
		<actionresult>
			<return>KErrPermissionDenied</return>
		</actionresult>
	</action>

	<action>
		<actionname>Set the trust for CAX1</actionname>
		<actiontype>settrust</actiontype> 
		<actionbody>
			<label>CAX1</label>
			<trust>1</trust>
		</actionbody>
		<actionresult>
			<return>KErrPermissionDenied</return>
		</actionresult>
	</action>

	<action>
		<actionname>Get applications for CAX1</actionname>
		<actiontype>getapplications</actiontype>
		<actionbody>
			<label>CAX1</label>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
			<uid></uid>
		</actionresult>
	</action>

	<action>
		<actionname>Get the trust for CAX1</actionname>
		<actiontype>gettrusters</actiontype>
		<actionbody>
			<label>CAX1</label>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
			<trust>0</trust>
		</actionresult>
	</action>
	</failactions>

	<postactions>
	<action>
		<actionname>Deleting the writable certificate store manager</actionname>
		<actiontype>delete</actiontype>
		<actionbody></actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</postactions>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-1.3-001]
<actionbody>
	<testexe>t_certstore.exe</testexe>
	<excludedcapabilities>
	<capability>TCB</capability>
	</excludedcapabilities>
	<policy>
	</policy>

	<preactions>
	<action>
		<actionname>Opening a writable certificate store manager</actionname>
		<actiontype>init</actiontype>
		<actionbody>
			<mode>write</mode>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</preactions>

	<passactions>
	<action>
		<actionname>Get applications for CAX1</actionname>
		<actiontype>getapplications</actiontype>
		<actionbody>
			<label>CAX1</label>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
			<uid>2 3</uid>
		</actionresult>
	</action>

	<action>
		<actionname>Get the trust for CAX1</actionname>
		<actiontype>gettrusters</actiontype>
		<actionbody>
			<label>CAX1</label>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
			<trust>1</trust>
		</actionresult>
	</action>

	<action>
		<actionname>Get the list of certificates</actionname>
		<actiontype>listcert</actiontype>
		<actionbody>
			<filter>
			<ownertype>ca</ownertype>
			</filter>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
			<CCTCertInfo><label>CAX1</label></CCTCertInfo>
		</actionresult>
	</action>

	<action>
		<actionname>Retrieve CAX1 cert</actionname>
		<actiontype>retrieve</actiontype>
		<actionbody>
			<label>CAX1</label>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</passactions>

	<failactions>
	</failactions>

	<postactions>
	<action>
		<actionname>Deleting the writable certificate store manager</actionname>
		<actiontype>delete</actiontype>
		<actionbody></actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</postactions>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-1.4-001]
<actionbody>
	<testexe>t_certstore.exe</testexe>
	<excludedcapabilities>
	<capability>TCB</capability>
	</excludedcapabilities>
	<policy>
	<capability>WriteDeviceData</capability>
	</policy>

	<preactions>
	<action>
		<actionname>Opening a writable certificate store manager</actionname>
		<actiontype>init</actiontype>
		<actionbody>
			<mode>write</mode>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</preactions>

	<passactions>
	<action>
		<actionname>Remove the certificate CAX1</actionname>
		<actiontype>deletecert</actiontype>
		<actionbody>
			<certtype>ca</certtype>
			<label>CAX1</label>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>

	<action>
		<actionname>Get the list of certificates</actionname>
		<actiontype>listcert</actiontype>
		<actionbody>
			<filter>
			<ownertype>ca</ownertype>
			</filter>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</passactions>

	<failactions>
	<action>
		<actionname>Remove the certificate CAX1</actionname>
		<actiontype>deletecert</actiontype>
		<actionbody>
			<certtype>ca</certtype>
			<label>CAX1</label>
		</actionbody>
		<actionresult>
			<return>KErrPermissionDenied</return>
		</actionresult>
	</action>

	<action>
		<actionname>Get the list of certificates</actionname>
		<actiontype>listcert</actiontype>
		<actionbody>
			<filter>
			<ownertype>ca</ownertype>
			</filter>
		</actionbody>
		<actionresult>
			<CCTCertInfo><label>CAX1</label></CCTCertInfo>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</failactions>

	<postactions>
	<action>
		<actionname>Deleting the writable certificate store manager</actionname>
		<actiontype>delete</actiontype>
		<actionbody></actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</postactions>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-2.1-001]
<actionbody>
	<testexe>t_certstore.exe</testexe>
	<excludedcapabilities>
	<capability>TCB</capability>
	</excludedcapabilities>
	<policy>
	<capability>ReadUserData</capability>
	<capability>WriteUserData</capability>
	</policy>

	<preactions>
	<action>
		<actionname>Opening a writable certificate store manager</actionname>
		<actiontype>init</actiontype>
		<actionbody>
			<mode>write</mode>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</preactions>

	<failactions>
	<action>
		<actionname>Add the certificate rsacert1</actionname>
		<actiontype>addcert</actiontype>
		<actionbody>
			<format>X509</format>
			<label>rsacert1</label>
			<issuerkey></issuerkey>
			<subjectkey>4808f03892fe836e78d048bcefcca4a37913d886</subjectkey>
			<certstore>0</certstore>
			<certfile>c:\unifiedcertstore2\rsacert1.cer</certfile>
			<certowner>user</certowner>
		</actionbody>
		<actionresult>
			<return>KErrPermissionDenied</return>
		</actionresult>
	</action>

	<action>
		<actionname>Get the list of certificates</actionname>
		<actiontype>listcert</actiontype>
		<actionbody>
			<filter>
			<ownertype>user</ownertype>
			</filter>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</failactions>

	<passactions>
	<action>
		<actionname>Add the certificate rsacert1</actionname>
		<actiontype>addcert</actiontype>
		<actionbody>
			<format>X509</format>
			<label>rsacert1</label>
			<issuerkey></issuerkey>
			<subjectkey>4808f03892fe836e78d048bcefcca4a37913d886</subjectkey>
			<certstore>0</certstore>
			<certfile>c:\unifiedcertstore2\rsacert1.cer</certfile>
			<certowner>user</certowner>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>

	<action>
		<actionname>Get the list of certificates</actionname>
		<actiontype>listcert</actiontype>
		<actionbody>
			<filter>
			<ownertype>user</ownertype>
			</filter>
		</actionbody>
		<actionresult>
			<CCTCertInfo><label>rsacert1</label></CCTCertInfo>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</passactions>

	<postactions>
	<action>
		<actionname>Deleting the writable certificate store manager</actionname>
		<actiontype>delete</actiontype>
		<actionbody></actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</postactions>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-2.2-001]
<actionbody>
	<testexe>t_certstore.exe</testexe>
	<excludedcapabilities>
	<capability>TCB</capability>
	</excludedcapabilities>
	<policy>
	</policy>

	<preactions>
	<action>
		<actionname>Opening a writable certificate store manager</actionname>
		<actiontype>init</actiontype>
		<actionbody>
			<mode>write</mode>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</preactions>

	<passactions>
	<action>
		<actionname>Get the list of certificates</actionname>
		<actiontype>listcert</actiontype>
		<actionbody>
			<filter>
			<ownertype>user</ownertype>
			</filter>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
			<CCTCertInfo><label>rsacert1</label></CCTCertInfo>
		</actionresult>
	</action>
	</passactions>

	<failactions>
	</failactions>

	<postactions>
	<action>
		<actionname>Deleting the writable certificate store manager</actionname>
		<actiontype>delete</actiontype>
		<actionbody></actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</postactions>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-2.3-001]
<actionbody>
	<testexe>t_certstore.exe</testexe>
	<excludedcapabilities>
	<capability>TCB</capability>
	</excludedcapabilities>
	<policy>
	<capability>ReadUserData</capability>
	</policy>

	<preactions>
	<action>
		<actionname>Opening a writable certificate store manager</actionname>
		<actiontype>init</actiontype>
		<actionbody>
			<mode>write</mode>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</preactions>

	<passactions>
	<action>
		<actionname>Retrieve rsacert1 cert</actionname>
		<actiontype>retrieve</actiontype>
		<actionbody>
			<label>rsacert1</label>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</passactions>

	<failactions>
	<action>
		<actionname>Retrieve rsacert1 cert</actionname>
		<actiontype>retrieve</actiontype>
		<actionbody>
			<label>rsacert1</label>
		</actionbody>
		<actionresult>
			<return>KErrPermissionDenied</return>
		</actionresult>
	</action>
	</failactions>

	<postactions>
	<action>
		<actionname>Deleting the writable certificate store manager</actionname>
		<actiontype>delete</actiontype>
		<actionbody></actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</postactions>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-2.4-001]
<actionbody>
	<testexe>t_certstore.exe</testexe>
	<excludedcapabilities>
	<capability>TCB</capability>
	</excludedcapabilities>
	<policy>
	<capability>WriteUserData</capability>
	</policy>

	<preactions>
	<action>
		<actionname>Opening a writable certificate store manager</actionname>
		<actiontype>init</actiontype>
		<actionbody>
			<mode>write</mode>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</preactions>

	<passactions>
	<action>
		<actionname>Remove the certificate rsacert1</actionname>
		<actiontype>deletecert</actiontype>
		<actionbody>
			<certtype>user</certtype>
			<label>rsacert1</label>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>

	<action>
		<actionname>Get the list of certificates</actionname>
		<actiontype>listcert</actiontype>
		<actionbody>
			<filter>
			<ownertype>user</ownertype>
			</filter>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</passactions>

	<failactions>
	<action>
		<actionname>Remove the certificate rsacert1</actionname>
		<actiontype>deletecert</actiontype>
		<actionbody>
			<certtype>user</certtype>
			<label>rsacert1</label>
		</actionbody>
		<actionresult>
			<return>KErrPermissionDenied</return>
		</actionresult>
	</action>

	<action>
		<actionname>Get the list of certificates</actionname>
		<actiontype>listcert</actiontype>
		<actionbody>
			<filter>
			<ownertype>user</ownertype>
			</filter>
		</actionbody>
		<actionresult>
			<CCTCertInfo><label>rsacert1</label></CCTCertInfo>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</failactions>

	<postactions>
	<action>
		<actionname>Deleting the writable certificate store manager</actionname>
		<actiontype>delete</actiontype>
		<actionbody></actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</postactions>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-3.1-001]
<actionbody>
	<testexe>t_certstore.exe</testexe>
	<excludedcapabilities>
	<capability>TCB</capability>
	</excludedcapabilities>
	<policy>
	<capability>WriteUserData</capability>
	</policy>
 
	<preactions>
	<action>
		<actionname>Opening a writable certificate store manager</actionname>
		<actiontype>init</actiontype>
		<actionbody>
			<mode>write</mode>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</preactions>

	<failactions>
	<action>
		<actionname>Add the certificate U5K3</actionname>
		<actiontype>addcert</actiontype>
		<actionbody>
			<format>X509</format>
			<label>U5K3</label>
			<issuerkey></issuerkey>
			<subjectkey>eeda2c6da84f17519ee837eadb8a5289dadfbb26</subjectkey>
			<certstore>0</certstore>
			<certfile>c:\unifiedcertstore2\U5K3.crt</certfile>
			<certowner>peer</certowner>
		</actionbody>
		<actionresult>
			<return>KErrPermissionDenied</return>
		</actionresult>
	</action>
 
	<action>
		<actionname>Get the list of certificates</actionname>
		<actiontype>listpeercert</actiontype>
		<actionbody>
					<filter>
					<ownertype>peer</ownertype>
					</filter>
				</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</failactions>
 
	<passactions>
	<action>
		<actionname>Add the certificate U5K3</actionname>
		<actiontype>addcert</actiontype>
		<actionbody>
			<format>X509</format>
			<label>U5K3</label>
			<issuerkey></issuerkey>
			<subjectkey>eeda2c6da84f17519ee837eadb8a5289dadfbb26</subjectkey>
			<certstore>0</certstore>
			<certfile>c:\unifiedcertstore2\U5K3.crt</certfile>
			<certowner>peer</certowner>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
 
	<action>
		<actionname>Get the list of certificates</actionname>
		<actiontype>listcert</actiontype>
		<actionbody>
					<filter>
					<ownertype>peer</ownertype>
					</filter>
				</actionbody>
		<actionresult>
			<return>KErrNone</return>
			<CCTCertInfo><label>U5K3</label></CCTCertInfo>
		</actionresult>
	</action>
	</passactions>
 
	<postactions>
	<action>
		<actionname>Deleting the writable certificate store manager</actionname>
		<actiontype>delete</actiontype>
		<actionbody></actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</postactions>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-3.2-001]
<actionbody>
	<testexe>t_certstore.exe</testexe>
	<excludedcapabilities>
	<capability>TCB</capability>
	</excludedcapabilities>
	<policy>
	</policy>
 
	<preactions>
	<action>
		<actionname>Opening a writable certificate store manager</actionname>
				<actiontype>init</actiontype>
		<actionbody>
			<mode>write</mode>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</preactions>
 
	<passactions>
	<action>
		<actionname>Get the list of certificates</actionname>
		<actiontype>listcert</actiontype>
		<actionbody>
					<filter>
					<ownertype>peer</ownertype>
					</filter>
				</actionbody>
		<actionresult>
			<return>KErrNone</return>
			<CCTCertInfo><label>U5K3</label></CCTCertInfo>
		</actionresult>
	</action>
	</passactions>
 
	<failactions>
	</failactions>
 
	<postactions>
	<action>
		<actionname>Deleting the writable certificate store manager</actionname>
		<actiontype>delete</actiontype>
		<actionbody></actionbody>
				<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</postactions>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-3.3-001]
<actionbody>
	<testexe>t_certstore.exe</testexe>
	<excludedcapabilities>
	<capability>TCB</capability>
		</excludedcapabilities>
	<policy>
	<capability>ReadUserData</capability>
	</policy>
 
	<preactions>
	<action>
				<actionname>Opening a writable certificate store manager</actionname>
		<actiontype>init</actiontype>
		<actionbody>
			<mode>write</mode>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</preactions>
 
	<passactions>
	<action>
		<actionname>Retrieve U5K3 cert</actionname>
		<actiontype>retrieve</actiontype>
		<actionbody>
			<label>U5K3</label>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</passactions>
 
	<failactions>
	<action>
		<actionname>Retrieve U5K3 cert</actionname>
		<actiontype>retrieve</actiontype>
		<actionbody>
			<label>U5K3</label>
		</actionbody>
		<actionresult>
			<return>KErrPermissionDenied</return>
		</actionresult>
	</action>
	</failactions>
 
	<postactions>
	<action>
		<actionname>Deleting the writable certificate store manager</actionname>
		<actiontype>delete</actiontype>
		<actionbody></actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</postactions>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-3.4-001]
<actionbody>
	<testexe>t_certstore.exe</testexe>
	<excludedcapabilities>
	<capability>TCB</capability>
	</excludedcapabilities>
	<policy>
	<capability>WriteUserData</capability>
	</policy>
 
	<preactions>
	<action>
		<actionname>Opening a writable certificate store manager</actionname>
		<actiontype>init</actiontype>
		<actionbody>
			<mode>write</mode>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</preactions>
 
	<passactions>
	<action>
		<actionname>Remove the certificate U5K3</actionname>
		<actiontype>deletecert</actiontype>
		<actionbody>
			<certtype>peer</certtype>
			<label>U5K3</label>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
 
	<action>
		<actionname>Get the list of certificates</actionname>
		<actiontype>listcert</actiontype>
		<actionbody>
					<filter>
					<ownertype>peer</ownertype>
					</filter>
				</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</passactions>
 
	<failactions>
	<action>
		<actionname>Remove the certificate U5K3</actionname>
		<actiontype>deletecert</actiontype>
		<actionbody>
			<certtype>peer</certtype>
			<label>U5K3</label>
		</actionbody>
		<actionresult>
			<return>KErrPermissionDenied</return>
		</actionresult>
	</action>
 
	<action>
		<actionname>Get the list of certificates</actionname>
		<actiontype>listcert</actiontype>
		<actionbody>
					<filter>
					<ownertype>peer</ownertype>
					</filter>
				</actionbody>
		<actionresult>
			<CCTCertInfo><label>U5K3</label></CCTCertInfo>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</failactions>
 
	<postactions>
	<action>
		<actionname>Deleting the writable certificate store manager</actionname>
		<actiontype>delete</actiontype>
		<actionbody></actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</postactions>
</actionbody>

[SEC-TCERTSTORE-APIPOLICING-4.1-001]
<actionbody>
	<label>*.*</label>
	<deleteallcerts>1</deleteallcerts>
</actionbody>

