diff -r 000000000000 -r 2c201484c85f cryptoservices/certificateandkeymgmt/tcertstore/scripts/wri-swicertstore3.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/certificateandkeymgmt/tcertstore/scripts/wri-swicertstore3.txt Wed Jul 08 11:25:26 2009 +0100
@@ -0,0 +1,300 @@
+// wri-swicertstore3.txt
+//
+// Test access to SWI cert store through unified cert store
+// This is run in configuration5.bat. This is run with only
+// the z:\ and c:\ swi cert store present
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore3-1
+//! @SYMTestCaseDesc Open a writable unified cert store
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Open a writable unified cert store
+ init
+
+ write
+
+
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore3-2
+//! @SYMTestCaseDesc Get number of writable cert stores
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get number of writable cert stores
+ CUnifiedCertStore WritableCertStoreCount
+
+ 0
+
+
+ KErrNone
+ 0
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore3-3
+//! @SYMTestCaseDesc Get number of read-only cert stores
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get number of read-only cert stores
+ CUnifiedCertStore ReadOnlyCertStoreCount
+
+ 0
+
+
+ KErrNone
+ 1
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore3-4
+//! @SYMTestCaseDesc Retrieving the store informations
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Retrieving the store informations
+ CCTTokenTypeInfo Attributes
+
+
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore3-5
+//! @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-wri-swicertstore3-6
+//! @SYMTestCaseDesc Get the list of CA certificates filtered by label 'Root5CA'
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the list of CA certificates filtered by label 'Root5CA'
+ listcert
+
+
+ ca
+
+
+
+
+ KErrNone
+ True
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore3-7
+//! @SYMTestCaseDesc Get the list of CA certificates filtered by label 'TSecuritySymbianTestTCBRSACA'
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the list of CA certificates filtered by label 'TSecuritySymbianTestTCBRSACA'
+ listcert
+
+
+ ca
+
+
+
+
+ KErrNone
+
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore3-8
+//! @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-wri-swicertstore3-9
+//! @SYMTestCaseDesc Get the list of user certificates filtered by label CertLabel
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the list of user certificates filtered by label CertLabel
+ listcert
+
+
+ user
+
+
+
+
+ KErrNone
+
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore3-10
+//! @SYMTestCaseDesc Retrieve SymbianTestRSACA cert
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Retrieve SymbianTestRSACA cert
+ retrieve
+
+
+
+
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore3-11
+//! @SYMTestCaseDesc Retrieve TSecuritySymbianTestTCBRSACA cert
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Retrieve TSecuritySymbianTestTCBRSACA cert
+ retrieve
+
+
+
+
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore3-12
+//! @SYMTestCaseDesc Get applications for SymbianTestRSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get applications for SymbianTestRSACA
+ getapplications
+
+
+
+
+ KErrNone
+ 268452523 268478646
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore3-13
+//! @SYMTestCaseDesc Get applications for TSecuritySymbianTestTCBRSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get applications for TSecuritySymbianTestTCBRSACA
+ getapplications
+
+
+
+
+ KErrNone
+ 268452523 268478646
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore3-14
+//! @SYMTestCaseDesc Get the trust for SymbianTestRSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the trust for SymbianTestRSACA
+ gettrusters
+
+
+
+
+ KErrNone
+ 1
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore3-15
+//! @SYMTestCaseDesc Get the trust for TSecuritySymbianTestTCBRSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the trust for TSecuritySymbianTestTCBRSACA
+ gettrusters
+
+
+
+
+ KErrNone
+ 1
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore3-16
+//! @SYMTestCaseDesc Deleting the unified cert store
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Deleting the unified cert store
+ delete
+
+
+ KErrNone
+
+