diff -r 000000000000 -r 2c201484c85f cryptoservices/certificateandkeymgmt/tcertstore/scripts/swicertstore1.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/certificateandkeymgmt/tcertstore/scripts/swicertstore1.txt Wed Jul 08 11:25:26 2009 +0100
@@ -0,0 +1,370 @@
+// swicertstore1.txt
+//
+// Test direct access to 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
+ True
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-20
+//! @SYMTestCaseDesc Get the systemupgrade flag for sucert
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the systemupgrade flag for sucert
+ getsystemupgrade
+
+
+
+
+ KErrNone
+ ETrue
+
+
+
+
+//! @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 Root5CA cert
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Retrieve Root5CA cert
+ retrieve
+
+
+
+
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-5
+//! @SYMTestCaseDesc Retrieve SymbianTestDSACA cert
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Retrieve SymbianTestDSACA cert
+ retrieve
+
+
+
+
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-6
+//! @SYMTestCaseDesc Retrieve SymbianTestRSACA cert
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Retrieve SymbianTestRSACA cert
+ retrieve
+
+
+
+
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-7
+//! @SYMTestCaseDesc Get applications for Root5CA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get applications for Root5CA
+ getapplications
+
+
+
+
+ KErrNone
+ 268452523
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-8
+//! @SYMTestCaseDesc Get the trust for Root5CA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the trust for Root5CA
+ gettrusters
+
+
+
+
+ KErrNone
+ 1
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-9
+//! @SYMTestCaseDesc Get applications for SymbianTestDSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get applications for SymbianTestDSACA
+ getapplications
+
+
+
+
+ KErrNone
+ 268452523 268478646
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-10
+//! @SYMTestCaseDesc Get the trust for SymbianTestDSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the trust for SymbianTestDSACA
+ gettrusters
+
+
+
+
+ KErrNone
+ 1
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-11
+//! @SYMTestCaseDesc Get applications for SymbianTestRSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get applications for SymbianTestRSACA
+ getapplications
+
+
+
+
+ KErrNone
+ 268452523 268478646
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-12
+//! @SYMTestCaseDesc Get the trust for SymbianTestRSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the trust for SymbianTestRSACA
+ gettrusters
+
+
+
+
+ KErrNone
+ 1
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-13
+//! @SYMTestCaseDesc Get the capabilities for Root5CA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the capabilities for Root5CA
+ getcapabilities
+
+
+
+
+ KErrNone
+ ReadDeviceData
+ WriteDeviceData
+ DRM
+ AllFiles
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-14
+//! @SYMTestCaseDesc Get the mandatory flag for Root5CA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the mandatory flag for Root5CA
+ getmandatory
+
+
+
+
+ KErrNone
+ ETrue
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-15
+//! @SYMTestCaseDesc Get the capabilities for SymbianTestDSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the capabilities for SymbianTestDSACA
+ getcapabilities
+
+
+
+
+ KErrNone
+ MultimediaDD
+ NetworkServices
+ LocalServices
+ Location
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-16
+//! @SYMTestCaseDesc Get the mandatory flag for SymbianTestDSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the mandatory flag for SymbianTestDSACA
+ getmandatory
+
+
+
+
+ KErrNone
+ EFalse
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-17
+//! @SYMTestCaseDesc Get the capabilities for SymbianTestRSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the capabilities for SymbianTestRSACA
+ getcapabilities
+
+
+
+
+ KErrNone
+ ReadUserData
+ WriteUserData
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-swicertstore1-18
+//! @SYMTestCaseDesc Get the mandatory flag for
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the mandatory flag for
+ 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
+
+
+
+