// CASE14: No Duplicates present (ND), with corrupt certstore (C) in middle of the order

// TEST-CASE:         SEC-SWICERTSTORE-0014
// FILES:             swicertstore2.dat, corrupt.dat, swicertstore1.dat
// LABELS:            SymbianTestDSACA, SymbianTestRSACA, Root5CA
// EXPECTED RESULTS:  SymbianTestDSACA, SymbianTestRSACA, Root5CA
// VARIANT:           UDEB, UREL

//! @file
//! @SYMTestCaseID SEC-SWICERTSTORE-0014
//! @SYMTestCaseDesc Open the SWI cert store
//! @SYMREQ REQ9981, REQ9983, REQ10141 
//! @SYMTestCasePriority High
//! @SYMTestExpectedResults KErrNone
<action>
	<actionname>Open the SWI cert store</actionname>
	<actiontype>initswicertstore</actiontype>
	<actionbody>
	</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>SymbianTestDSACA</label><readonly>True</readonly></CCTCertInfo>
		<CCTCertInfo><label>SymbianTestRSACA</label><readonly>True</readonly></CCTCertInfo>
    <CCTCertInfo><label>Root5CA</label><readonly>True</readonly></CCTCertInfo>
	</actionresult>
</action>
