// CASE6: corrupt certstore (C), only this file is present under ROM drive (single)

// TEST-CASE:         SEC-FILECERTSTORE-0006
// FILES:             corrupt.dat
// LABELS:            -n.a- 
// EXPECTED RESULTS:  KErrNone, with successful creation of empty certstore under system drive.
// VARIANT:           UDEB, UREL

// TEST-CASE:         SEC-FILECERTAPPSTORE-0006
// FILES:             corrupt.dat
// UIDS:              -n.a-
// EXPECTED RESULTS:  KErrNone, with successful creation of empty certappstore present under system drive.  
// VARIANT:           UDEB, UREL


//! @file
//! @SYMTestCaseID SEC-FILECERTSTORE-0006
//! @SYMTestCaseDesc Aggregating and opening a filecertstore
//! @SYMREQ REQ9983, REQ9986, REQ10141  
//! @SYMTestCasePriority High
//! @SYMTestExpectedResults KErrNone
<action>
	<actionname>Aggregation and opening of filecertstore</actionname>
	<actiontype>init</actiontype>
	<actionbody>
		<mode>write</mode>
	</actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>

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

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


//! @file
//! @SYMTestCaseID SEC-FILECERTAPPSTORE-0006
//! @SYMTestCaseDesc Aggregating and opening a filecertappstore
//! @SYMREQ REQ9983, REQ9989
//! @SYMTestCasePriority High
//! @SYMTestExpectedResults KErrNone
<action>
	<actionname>Creating a CertificateAppInfoManager</actionname>
	<actiontype>initappmanager</actiontype>
	<actionbody></actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>

<action>
	<actionname>Retrieving the clients</actionname>
	<actiontype>getclients</actiontype>
	<actionbody></actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>

<action>
	<actionname>Deleting the CertificateAppInfoManager</actionname>
	<actiontype>deleteappmanager</actiontype>
	<actionbody></actionbody>
	<actionresult>
		<return>KErrNone</return>
	</actionresult>
</action>
