--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/certificateandkeymgmt/tcertstore/scripts/certappmanager.txt Wed Jul 08 11:25:26 2009 +0100
@@ -0,0 +1,473 @@
+//4.1 Typical usage
+
+<action>
+ <actionname>4.1.1,Creating a CertificateAppInfoManager</actionname>
+ <actiontype>initappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.2,Retrieving the clients</actionname>
+ <actiontype>getclients</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ <uid></uid>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.3.a,Adding client A1</actionname>
+ <actiontype>addclient</actiontype>
+ <actionbody>
+ <name>A1</name>
+ <uid>1</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.3.b,Adding client A2</actionname>
+ <actiontype>addclient</actiontype>
+ <actionbody>
+ <name>A2</name>
+ <uid>2</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.3.c,Adding client A3</actionname>
+ <actiontype>addclient</actiontype>
+ <actionbody>
+ <name>A3</name>
+ <uid>3</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.3.d,Adding client A4</actionname>
+ <actiontype>addclient</actiontype>
+ <actionbody>
+ <name>A4</name>
+ <uid>4</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.3.e,Retrieving the clients</actionname>
+ <actiontype>getclients</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ <uid>1 2 3 4</uid>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.4,Deleting the CertificateAppInfoManager</actionname>
+ <actiontype>deleteappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.5,Creating a CertificateAppInfoManager</actionname>
+ <actiontype>initappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.6,Retrieving the clients</actionname>
+ <actiontype>getclients</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ <uid>1 2 3 4</uid>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.7.a,Deleting the client A1</actionname>
+ <actiontype>removeclient</actiontype>
+ <actionbody>
+ <uid>1</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.7.b,Retrieving the clients</actionname>
+ <actiontype>getclients</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ <uid>2 3 4</uid>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.8,Deleting the CertificateAppInfoManager</actionname>
+ <actiontype>deleteappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.9,Creating a CertificateAppInfoManager</actionname>
+ <actiontype>initappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.10,Retrieving the clients</actionname>
+ <actiontype>getclients</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ <uid>2 3 4</uid>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.11.a,Deleting the client A2</actionname>
+ <actiontype>removeclient</actiontype>
+ <actionbody>
+ <uid>2</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.11.b,Deleting the client A3</actionname>
+ <actiontype>removeclient</actiontype>
+ <actionbody>
+ <uid>3</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.11.c,Deleting the client A4</actionname>
+ <actiontype>removeclient</actiontype>
+ <actionbody>
+ <uid>4</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.11.d,Retrieving the clients</actionname>
+ <actiontype>getclients</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ <uid></uid>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.12,Deleting the CertificateAppInfoManager</actionname>
+ <actiontype>deleteappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.13,Creating a CertificateAppInfoManager</actionname>
+ <actiontype>initappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.14,Retrieving the clients</actionname>
+ <actiontype>getclients</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ <uid></uid>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.1.15,Deleting the CertificateAppInfoManager</actionname>
+ <actiontype>deleteappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+//4.2 Error handling
+
+<action>
+ <actionname>4.2.1,Creating a CertificateAppInfoManager</actionname>
+ <actiontype>initappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.2.a,Adding client A1</actionname>
+ <actiontype>addclient</actiontype>
+ <actionbody>
+ <name>A1</name>
+ <uid>1</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.2.b,Adding client A2</actionname>
+ <actiontype>addclient</actiontype>
+ <actionbody>
+ <name>A2</name>
+ <uid>2</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.2.c,Adding client A3</actionname>
+ <actiontype>addclient</actiontype>
+ <actionbody>
+ <name>A3</name>
+ <uid>3</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.2.d,Adding client A4</actionname>
+ <actiontype>addclient</actiontype>
+ <actionbody>
+ <name>A4</name>
+ <uid>4</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.2.e,Retrieving the clients</actionname>
+ <actiontype>getclients</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ <uid>1 2 3 4</uid>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.3,Adding client A1</actionname>
+ <actiontype>addclient</actiontype>
+ <actionbody>
+ <name>A1</name>
+ <uid>1</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrAlreadyExists</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.4,Deleting the CertificateAppInfoManager</actionname>
+ <actiontype>deleteappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.5,Creating a CertificateAppInfoManager</actionname>
+ <actiontype>initappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.6,Retrieving the clients</actionname>
+ <actiontype>getclients</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ <uid>1 2 3 4</uid>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.7.a,Deleting the client A1</actionname>
+ <actiontype>removeclient</actiontype>
+ <actionbody>
+ <uid>1</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.7.b,Retrieving the clients</actionname>
+ <actiontype>getclients</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ <uid>2 3 4</uid>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.8,Deleting the CertificateAppInfoManager</actionname>
+ <actiontype>deleteappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.9,Creating a CertificateAppInfoManager</actionname>
+ <actiontype>initappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.10,Retrieving the clients</actionname>
+ <actiontype>getclients</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ <uid>2 3 4</uid>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.11.a,Deleting the client A2</actionname>
+ <actiontype>removeclient</actiontype>
+ <actionbody>
+ <uid>2</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.11.b,Deleting the client A3</actionname>
+ <actiontype>removeclient</actiontype>
+ <actionbody>
+ <uid>3</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.11.c,Deleting the client A4</actionname>
+ <actiontype>removeclient</actiontype>
+ <actionbody>
+ <uid>4</uid>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.11.d,Retrieving the clients</actionname>
+ <actiontype>getclients</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ <uid></uid>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.12,Deleting the CertificateAppInfoManager</actionname>
+ <actiontype>deleteappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.13,Creating a CertificateAppInfoManager</actionname>
+ <actiontype>initappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.14,Retrieving the clients</actionname>
+ <actiontype>getclients</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ <uid></uid>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>4.2.15,Deleting the CertificateAppInfoManager</actionname>
+ <actiontype>deleteappmanager</actiontype>
+ <actionbody></actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>