diff -r 000000000000 -r 2c201484c85f cryptoservices/certificateandkeymgmt/tcertstore/scripts/cancel1.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/certificateandkeymgmt/tcertstore/scripts/cancel1.txt Wed Jul 08 11:25:26 2009 +0100
@@ -0,0 +1,489 @@
+//
+// Cancellation tests for unified cert store
+//
+
+// Setup ///////////////////////////////////////////////////////////////////////
+
+
+ No Test,Opening a CertificateAppInfoManager
+ initappmanager
+
+
+ KErrNone
+
+
+
+
+ No Test,Adding client A1
+ addclient
+
+ A1
+ 1
+
+
+ KErrNone
+
+
+
+
+ No Test,Adding client A2
+ addclient
+
+ A2
+ 2
+
+
+ KErrNone
+
+
+
+
+ No Test,Adding client A3
+ addclient
+
+ A3
+ 3
+
+
+ KErrNone
+
+
+
+
+ No Test,Adding client A4
+ addclient
+
+ A4
+ 4
+
+
+ KErrNone
+
+
+
+
+ No Test,Deleting the CertificateAppInfoManager
+ deleteappmanager
+
+
+ KErrNone
+
+
+
+
+ Import a RSA key rsacertkey1
+ importkey
+
+ rsacertkey1.txt
+ AllUsagesButNR
+ *IMPORTED* RSA key 1
+ Extractable
+
+
+ KErrNone
+
+
+
+
+ Opening a writable certificate store manager
+ init
+
+ write
+
+
+ KErrNone
+
+
+
+
+ Deleting all certs
+ deletecert
+
+
+ 1
+
+
+ KErrNone
+
+
+
+
+ Deleting the writable certificate store manager
+ delete
+
+
+ KErrNone
+
+
+
+
+ Enabling cancellation testing
+ startcancellation
+
+ KErrNone
+
+
+
+// Initialisation //////////////////////////////////////////////////////////////
+
+
+ Opening a writable certificate store manager
+ init
+
+ write
+
+
+ KErrNone
+
+
+
+// Add certs ///////////////////////////////////////////////////////////////////
+
+
+ Add X509 CA certificate CAX1
+ addcert
+
+ X509
+
+
+
+ 0
+ c:\unifiedcertstore2\CAX1.cer
+ ca
+
+
+ KErrNone
+
+
+
+
+ Add WTLS CA certificate CAW1
+ addcert
+
+ WTLS
+
+
+
+ 0
+ c:\unifiedcertstore2\CAW1.cer
+ ca
+
+
+ KErrNone
+
+
+
+
+ Add X509 user certificate rsacert1
+ addcert
+
+ X509
+
+
+ 4808f03892fe836e78d048bcefcca4a37913d886
+ 0
+ c:\unifiedcertstore2\rsacert1.cer
+ user
+
+
+ KErrNone
+
+
+
+// List certs //////////////////////////////////////////////////////////////////
+
+
+ List CA certificates
+ listcert
+
+
+ ca
+
+
+
+ KErrNone
+
+
+
+
+
+
+ List user certificates
+ listcert
+
+
+ user
+
+ pkcs15
+ private
+ AllUsagesButNR
+
+
+
+
+ KErrNone
+
+
+
+
+
+ List user certificates filtered by key usage
+ listcert
+
+
+ user
+
+ pkcs15
+ private
+ Decrypt
+
+
+
+
+ KErrNone
+
+
+
+
+
+ List user certificates filtered by key usage
+ listcert
+
+
+ user
+
+ pkcs15
+ NonRepudiation
+
+
+
+
+ KErrNone
+
+
+
+
+ List certificates filtered by Issuer DN
+ listcert
+
+
+ ca
+
+ c:\unifiedcertstore2\CAX1.cer
+
+
+ KErrNone
+
+
+
+
+
+ List certificates filtered by Issuer DN
+ listcert
+
+
+ ca
+
+ c:\unifiedcertstore2\CAX1.cer
+ c:\unifiedcertstore2\CAX2.cer
+
+
+ KErrNone
+
+
+
+
+
+ List certificates filtered by Issuer DN
+ listcert
+
+
+ ca
+
+ c:\unifiedcertstore2\CAX2.cer
+
+
+ KErrNone
+
+
+
+// Retrieve certs
+
+
+ Retrieve CAX1 cert
+ retrieve
+
+
+
+
+ KErrNone
+
+
+
+
+ Retrieve CAW1 cert
+ retrieve
+
+
+
+
+ KErrNone
+
+
+
+// Applications and trust //////////////////////////////////////////////////////
+
+
+ Set applications to the CAX1 certificate
+ setapplications
+
+
+ 1 2 3
+
+
+ KErrNone
+
+
+
+
+ Get applications for CAX1
+ getapplications
+
+
+
+
+ KErrNone
+ 1 2 3
+
+
+
+
+ Set the trust for CAX1
+ settrust
+
+
+ 1
+
+
+ KErrNone
+
+
+
+
+ Get the trust for CAX1
+ gettrusters
+
+
+
+
+ KErrNone
+ 1
+
+
+
+// Delete certs ////////////////////////////////////////////////////////////////
+
+
+ Deleting CAX1 certs
+ deletecert
+
+ ca
+
+
+
+ KErrNone
+
+
+
+// Cleanup /////////////////////////////////////////////////////////////////////
+
+
+ Disabling cancellation testing
+ stopcancellation
+
+ KErrNone
+
+
+
+
+ Deleting all certs
+ deletecert
+
+
+ 1
+
+
+ KErrNone
+
+
+
+
+ Deleting the writable certificate store manager
+ delete
+
+
+ KErrNone
+
+
+
+
+ No Test,Opening a CertificateAppInfoManager
+ initappmanager
+
+
+ KErrNone
+
+
+
+
+ No Test,Deleting the client A1
+ removeclient
+
+ 1
+
+
+ KErrNone
+
+
+
+
+ No Test,Deleting the client A2
+ removeclient
+
+ 2
+
+
+ KErrNone
+
+
+
+
+ No Test,Deleting the client A3
+ removeclient
+
+ 3
+
+
+ KErrNone
+
+
+
+
+ No Test,Deleting the client A4
+ removeclient
+
+ 4
+
+
+ KErrNone
+
+
+
+
+ No Test,Deleting the CertificateAppInfoManager
+ deleteappmanager
+
+
+ KErrNone
+
+