// CASE19: When writable swicertstore is present. Duplicates in Distinct certstore (DD),  only these files are present under ROM drive (single)

// TEST-CASE:         SEC-SWICERTSTORE-0019
// FILES:             swicertstore3.dat, swicertstore2.dat
// LABELS:            SymbianTestRSACA, SymbianTestDSACA, SymbianTestRSACA 
// EXPECTED RESULTS:  SymbianTestRSACA, SymbianTestDSACA
// VARIANT:           UDEB, UREL
// N.B                swicertstore3.dat will be present under system drive and swicertstore2.dat under rom drive.   

//! @file
//! @SYMTestCaseID SEC-SWICERTSTORE-0019
//! @SYMTestCaseDesc Open the SWI cert store
//! @SYMREQ REQ9981, REQ9982, 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>SymbianTestRSACA</label><readonly>True</readonly></CCTCertInfo>
		<CCTCertInfo><label>SymbianTestDSACA</label><readonly>True</readonly></CCTCertInfo>
	</actionresult>
</action>
