// CASE15: No Duplicates present (ND), with corrupt certstore (C) of least order

// TEST-CASE:         SEC-FILECERTSTORE-0015
// FILES:             cacerts2.dat, cacerts1.dat, corrupt.dat 
// LABELS:            TOCSP-Signing5-RSA, Testing ACS Root, Identity ACS Root
// EXPECTED RESULTS:  TOCSP-Signing5-RSA, Testing ACS Root, Identity ACS Root
// VARIANT:           UDEB, UREL

// TEST-CASE:         SEC-FILECERTAPPSTORE-0015
// FILES:             certclients2.dat, certclients1.dat, corrupt.dat 
// UIDS:              268478646, 270506792, 268452523 
// EXPECTED RESULTS:  268478646, 270506792, 268452523   
// VARIANT:           UDEB, UREL


//! @file
//! @SYMTestCaseID SEC-FILECERTSTORE-0015
//! @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>
		<CCTCertInfo><label>TOCSP-Signing5-RSA</label></CCTCertInfo>
    <CCTCertInfo><label>Testing ACS Root</label></CCTCertInfo>
    <CCTCertInfo><label>Identity ACS Root</label></CCTCertInfo>
	</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-0015
//! @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>
		<uid>268478646 270506792 268452523</uid>
	</actionresult>
</action>

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