cryptoservices/certificateandkeymgmt/tcertstore/scripts/certstoreconcurrent1.txt
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 10 Sep 2009 14:01:51 +0300
changeset 8 35751d3474b7
parent 0 2c201484c85f
permissions -rw-r--r--
Revision: 200935

<action>
	<actionname>Switch on concurrency testing</actionname>
	<actiontype>testconcurrent</actiontype>
	<actionbody>
		<KConcurrentTesting>ETrue</KConcurrentTesting>
	</actionbody>
	<actionresult>
		<result>ETrue</result>
	</actionresult>
</action>
<action>
	<actionname>Opening a certificate store manager</actionname>
	<actiontype>init</actiontype>
	<actionbody>
		<mode>write</mode>
	</actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>
<action>
	<actionname>Retrieving number of writable certificate store manager</actionname>
	<actiontype>CUnifiedCertStore WritableCertStoreCount</actiontype>
	<actionbody>
		<storeindex>0</storeindex>
	</actionbody>
	<actionresult>
		<return>KErrNone</return>
		<numberofstores>1</numberofstores>
	</actionresult>
</action>
<action>
	<actionname>Opening a certificate store manager</actionname>
	<actiontype>init</actiontype>
	<actionbody>
		<mode>write</mode>
	</actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>
<action>
	<actionname>Retrieving number of writable certificate store manager</actionname>
	<actiontype>CUnifiedCertStore WritableCertStoreCount</actiontype>
	<actionbody>
		<storeindex>0</storeindex>
	</actionbody>
	<actionresult>
		<return>KErrNone</return>
		<numberofstores>1</numberofstores>
	</actionresult>
</action>
<action>
	<actionname>Retrieving number of writable certificate store manager</actionname>
	<actiontype>CUnifiedCertStore WritableCertStoreCount</actiontype>
	<actionbody>
		<storeindex>1</storeindex>
	</actionbody>
	<actionresult>
		<return>KErrNone</return>
		<numberofstores>1</numberofstores>
	</actionresult>
</action>
<action>
	<actionname>No Test, Deleting the writable certificate store manager</actionname>
	<actiontype>delete</actiontype>
	<actionbody></actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>
<action>
	<actionname>No Test, Deleting the writable certificate store manager</actionname>
	<actiontype>delete</actiontype>
	<actionbody></actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>
<action>
	<actionname>Opening a certificate store manager</actionname>
	<actiontype>init</actiontype>
	<actionbody>
		<mode>write</mode>
	</actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>
<action>
	<actionname>No Test, Deleting the writable certificate store manager</actionname>
	<actiontype>delete</actiontype>
	<actionbody></actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>
<action>
	<actionname>Opening a certificate store manager</actionname>
	<actiontype>init</actiontype>
	<actionbody>
		<mode>write</mode>
	</actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>
<action>
	<actionname>No Test,Add the certificate URL1K1</actionname>
	<actiontype>addcert</actiontype>
	<actionbody>
		<format>X509URL</format>
		<label>URL1K1</label>
		<issuerkey></issuerkey>
		<subjectkey>4b1cd219663fd693cc5195359ca8e88399fbb871</subjectkey>
		<certstore>0</certstore>
		<certfile>c:\unifiedcertstore2\URL1K1.cer</certfile>
		<certowner>User</certowner>
	</actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>
<action>
	<actionname>No Test,Add the certificate URL2K2</actionname>
	<actiontype>addcert</actiontype>
	<actionbody>
		<format>X509URL</format>
		<label>URL2K2</label>
		<issuerkey></issuerkey>
		<subjectkey>f6a38567f8797e7c3fea00edf5a158d27a1a8b55</subjectkey>
		<certstore>0</certstore>
		<certfile>c:\unifiedcertstore2\URL2K2.cer</certfile>
		<certowner>User</certowner>
	</actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>
<!action>
	<!actionname>Get the list of user certificates any Key ID any usage</actionname>
	<!actiontype>listusercert</actiontype>
	<!actionbody>
		<!keyusage></keyusage>
		<!subjectkey></subjectkey>
		<!formatflags></formatflags>
	<!/actionbody>
	<!actionresult>
		<!return>KErrNone</return>
		<!CCTCertInfo><label>URL1K1</label></CCTCertInfo>
		<!CCTCertInfo><label>URL2K2</label></CCTCertInfo>
	<!/actionresult>
<!/action>
<!action>
	<!actionname>Get the list of user certificates Key ID 1 any usage</actionname>
	<!actiontype>listusercert</actiontype>
	<!actionbody>
		<!keyusage></keyusage>
		<!subjectkey>4b1cd219663fd693cc5195359ca8e88399fbb871</subjectkey>
		<!formatflags></formatflags>
	<!/actionbody>
	<!actionresult>
		<!return>KErrNone</return>
		<!CCTCertInfo><label>URL1K1</label></CCTCertInfo>
	<!/actionresult>
<!/action>
<!action>
	<!actionname>4.1.4.3,Get the list of user certificates Key ID 2 any usage</actionname>
	<!actiontype>listusercert</actiontype>
	<!actionbody>
		<!keyusage></keyusage>
		<!subjectkey>f6a38567f8797e7c3fea00edf5a158d27a1a8b55</subjectkey>
		<!formatflags></formatflags>
	<!/actionbody>
	<!actionresult>
		<!return>KErrNone</return>
		<!CCTCertInfo><label>URL2K2</label></CCTCertInfo>
	<!/actionresult>
<!/action>
<action>
	<actionname>No Test,Deleting the certificate URL1K1</actionname>
	<actiontype>deletecert</actiontype>
	<actionbody>
		<certtype>User</certtype>
		<label>URL1K1</label>
	</actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>
<action>
	<actionname>No Test,Deleting the certificate URL2K2</actionname>
	<actiontype>deletecert</actiontype>
	<actionbody>
		<certtype>User</certtype>
		<label>URL2K2</label>
	</actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>
<!action>
	<!actionname>Get the list of user certificates any Key ID any usage</actionname>
	<!actiontype>listusercert</actiontype>
	<!actionbody>
		<!keyusage></keyusage>
		<!subjectkey></subjectkey>
		<!formatflags></formatflags>
	<!/actionbody>
	<!actionresult>
		<!return>KErrNone</return>
	<!/actionresult>
<!/action>
<action>
	<actionname>No Test, Deleting the writable certificate store manager</actionname>
	<actiontype>delete</actiontype>
	<actionbody></actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>