diff -r 000000000000 -r 2c201484c85f cryptoservices/certificateandkeymgmt/tcertstore/scripts/wri-swicertstore1.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/certificateandkeymgmt/tcertstore/scripts/wri-swicertstore1.txt Wed Jul 08 11:25:26 2009 +0100
@@ -0,0 +1,268 @@
+// wri-swicertstore1.txt
+//
+// Test direct access to SWI cert store
+//
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore1-1
+//! @SYMTestCaseDesc Copy the swicertstore to
+//! c:\Resource\Swicertstore\dat\; and open the SWI cert store
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Open the SWI cert store
+ initswicertstore
+
+ c:\tcertstore\data\wri-swicertstore.dat
+
+
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-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-wri-swicertstore1-3
+//! @SYMTestCaseDesc Retrieve Root5CA cert
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Retrieve Root5CA cert
+ retrieve
+
+
+
+
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore1-4
+//! @SYMTestCaseDesc Retrieve TSecuritySymbianTestTCBRSACA cert
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Retrieve TSecuritySymbianTestTCBRSACA cert
+ retrieve
+
+
+
+
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore1-5
+//! @SYMTestCaseDesc Get applications for Root5CA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get applications for Root5CA
+ getapplications
+
+
+
+
+ KErrNone
+ 268452523
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore1-6
+//! @SYMTestCaseDesc Get applications for TSecuritySymbianTestTCBRSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get applications for TSecuritySymbianTestTCBRSACA
+ getapplications
+
+
+
+
+ KErrNone
+ 268452523 268478646
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore1-7
+//! @SYMTestCaseDesc Get the trust for SymbianTestDSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the trust for SymbianTestDSACA
+ gettrusters
+
+
+
+
+ KErrNone
+ 1
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore1-8
+//! @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-swicertstore1-9
+//! @SYMTestCaseDesc Get the capabilities for SymbianTestDSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the capabilities for SymbianTestDSACA
+ getcapabilities
+
+
+
+
+ KErrNone
+ NetworkServices
+ LocalServices
+ Location
+ MultimediaDD
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore1-10
+//! @SYMTestCaseDesc Get the capabilities for TSecuritySymbianTestTCBRSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the capabilities for TSecuritySymbianTestTCBRSACA
+ getcapabilities
+
+
+
+
+ KErrNone
+ NetworkServices
+ LocalServices
+ Location
+ MultimediaDD
+ TCB
+ DRM
+ AllFiles
+ ReadUserData
+ WriteUserData
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore1-11
+//! @SYMTestCaseDesc Get the mandatory flag for SymbianTestRSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the mandatory flag for SymbianTestRSACA
+ getmandatory
+
+
+
+
+ KErrNone
+ EFalse
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore1-12
+//! @SYMTestCaseDesc Get the mandatory flag for TSecuritySymbianTestTCBRSACA
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Get the mandatory flag for TSecuritySymbianTestTCBRSACA
+ getmandatory
+
+
+
+
+ KErrNone
+ EFalse
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore1-13
+//! @SYMTestCaseDesc Get TSecuritySymbianTestTCBRSACA by handle
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Getting the TSecuritySymbianTestTCBRSACA by handle
+ CUnifiedCertStore GetCert
+
+ 270549690
+ 0
+
+
+
+ KErrNone
+
+
+
+//! @file
+//! @SYMTestCaseID Sec-tcertstore-wri-swicertstore1-14
+//! @SYMTestCaseDesc Deleting the SWI cert store
+//! @SYMREQ REQ0000
+//! @SYMTestCasePriority High
+//! @SYMTestExpectedResults KErrNone
+
+ Deleting the SWI cert store
+ delete
+
+
+ KErrNone
+
+