diff -r 000000000000 -r 2c201484c85f cryptoservices/certificateandkeymgmt/tcertstore/scripts/swicertstore3.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/certificateandkeymgmt/tcertstore/scripts/swicertstore3.txt Wed Jul 08 11:25:26 2009 +0100
@@ -0,0 +1,290 @@
+// swicertstore3.txt
+//
+// Test Symbian Signed certificates are present in pre-build SWI cert store
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-1
+//! @SYMTestCaseDesc Open the SWI cert store
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Open the SWI cert store
+ initswicertstore
+
+
+
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-2
+//! @SYMTestCaseDesc Get the list of CA certificates
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the list of CA certificates
+ listcert
+
+
+ ca
+
+
+
+ KErrNone
+ True
+ True
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-3
+//! @SYMTestCaseDesc Get the list of user certificates
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the list of user certificates
+ listcert
+
+
+ user
+
+
+
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-4
+//! @SYMTestCaseDesc Retrieve SymbianA cert
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Retrieve SymbianA cert
+ retrieve
+
+
+
+
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-5
+//! @SYMTestCaseDesc Retrieve SymbianB cert
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Retrieve SymbianB cert
+ retrieve
+
+
+
+
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-7
+//! @SYMTestCaseDesc Get applications for SymbianA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get applications for SymbianA
+ getapplications
+
+
+
+
+ KErrNone
+ 268452523 268478646
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-8
+//! @SYMTestCaseDesc Get the trust for Root5CA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the trust for SymbianA
+ gettrusters
+
+
+
+
+ KErrNone
+ 1
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-9
+//! @SYMTestCaseDesc Get applications for SymbianB
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get applications for SymbianB
+ getapplications
+
+
+
+
+ KErrNone
+ 268452523 268478646
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-10
+//! @SYMTestCaseDesc Get the trust for SymbianB
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the trust for SymbianB
+ gettrusters
+
+
+
+
+ KErrNone
+ 1
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-13
+//! @SYMTestCaseDesc Get the capabilities for SymbianA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the capabilities for SymbianA
+ getcapabilities
+
+
+
+
+ KErrNone
+ TCB
+ CommDD
+ PowerMgmt
+ MultimediaDD
+ ReadDeviceData
+ WriteDeviceData
+ DRM
+ TrustedUI
+ ProtServ
+ DiskAdmin
+ NetworkControl
+ AllFiles
+ SwEvent
+ NetworkServices
+ LocalServices
+ ReadUserData
+ WriteUserData
+ Location
+ SurroundingsDD
+ UserEnvironment
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-14
+//! @SYMTestCaseDesc Get the mandatory flag for SymbianA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the mandatory flag for SymbianA
+ getmandatory
+
+
+
+
+ KErrNone
+ EFalse
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-15
+//! @SYMTestCaseDesc Get the capabilities for SymbianB
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the capabilities for SymbianB
+ getcapabilities
+
+
+
+
+ TCB
+ CommDD
+ PowerMgmt
+ MultimediaDD
+ ReadDeviceData
+ WriteDeviceData
+ DRM
+ TrustedUI
+ ProtServ
+ DiskAdmin
+ NetworkControl
+ AllFiles
+ SwEvent
+ NetworkServices
+ LocalServices
+ ReadUserData
+ WriteUserData
+ Location
+ SurroundingsDD
+ UserEnvironment
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-16
+//! @SYMTestCaseDesc Get the mandatory flag for SymbianB
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the mandatory flag for SymbianB
+ getmandatory
+
+
+
+
+ KErrNone
+ EFalse
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-19
+//! @SYMTestCaseDesc Deleting the SWI cert store
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Deleting the SWI cert store
+ delete
+
+
+ KErrNone
+
+