--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/certificateandkeymgmt/tx509/Scripts/tx509_dev_certs.txt Wed Jul 08 11:25:26 2009 +0100
@@ -0,0 +1,238 @@
+<action>
+ <actionname>TX509 Extension Tests 01 - Empty certificate extensions</actionname>
+ <actiontype>Extension</actiontype>
+ <actionbody>
+ <filename>\tx509\data\extensions\certs\empty.der</filename>
+ <device_id_list></device_id_list>
+ <sid_list></sid_list>
+ <vid_list></vid_list>
+ <capabilities></capabilities>
+ <corrupt>false</corrupt>
+ <match>true</match>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>TX509 Extension Tests 02 - Missing Device Id constraint</actionname>
+ <actiontype>Extension</actiontype>
+ <actionbody>
+ <filename>\tx509\data\extensions\certs\absent.der</filename>
+ <device_id_list>
+ <device_id>11111111-222222-3-44</device_id>
+ </device_id_list>
+ <sid_list></sid_list>
+ <vid_list></vid_list>
+ <capabilities></capabilities>
+ <corrupt>false</corrupt>
+ <match>false</match>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>TX509 Extension Tests 03 - Missing SID constraint</actionname>
+ <actiontype>Extension</actiontype>
+ <actionbody>
+ <filename>\tx509\data\extensions\certs\absent.der</filename>
+ <device_id_list></device_id_list>
+ <sid_list>0x11000006</sid_list>
+ <vid_list></vid_list>
+ <capabilities></capabilities>
+ <corrupt>false</corrupt>
+ <match>false</match>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>TX509 Extension Tests 04 - Missing VID constraint</actionname>
+ <actiontype>Extension</actiontype>
+ <actionbody>
+ <filename>\tx509\data\extensions\certs\absent.der</filename>
+ <device_id_list></device_id_list>
+ <sid_list></sid_list>
+ <vid_list>0x70000001</vid_list>
+ <capabilities></capabilities>
+ <corrupt>false</corrupt>
+ <match>false</match>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>TX509 Extension Tests 05 - Missing capabilities constraint</actionname>
+ <actiontype>Extension</actiontype>
+ <actionbody>
+ <filename>\tx509\data\extensions\certs\absent.der</filename>
+ <device_id_list></device_id_list>
+ <sid_list></sid_list>
+ <vid_list></vid_list>
+ <capabilities>1</capabilities>
+ <corrupt>false</corrupt>
+ <match>false</match>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>TX509 Extension Tests 06 - Match All Fields</actionname>
+ <actiontype>Extension</actiontype>
+ <actionbody>
+ <filename>\tx509\data\extensions\certs\simple.der</filename>
+ <device_id_list>
+ <device_id>11111111-222222-3-44</device_id>
+ </device_id_list>
+ <sid_list>
+ <sid>0x11000006</sid>
+ </sid_list>
+ <vid_list>
+ <vid>0x70000001</vid>
+ </vid_list>
+ <capabilities>01111111111111111111</capabilities>
+ <corrupt>false</corrupt>
+ <match>true</match>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>TX509 Extension Tests 07 - Multiple Values</actionname>
+ <actiontype>Extension</actiontype>
+ <actionbody>
+ <filename>\tx509\data\extensions\certs\multi.der</filename>
+ <device_id_list>
+ <device_id>11111111-222222-3-41</device_id>
+ <device_id>11111111-222222-3-42</device_id>
+ <device_id>11111111-222222-3-43</device_id>
+ <device_id>11111111-222222-3-44</device_id>
+ <device_id>11111111-222222-3-45</device_id>
+ <device_id>11111111-222222-3-46</device_id>
+ <device_id>11111111-222222-3-47</device_id>
+ <device_id>11111111-222222-3-48</device_id>
+ <device_id>11111111-222222-3-49</device_id>
+ <device_id>11111111-222222-3-50</device_id>
+ </device_id_list>
+ <sid_list>
+ <sid>0x11000001</sid>
+ <sid>0x11000002</sid>
+ <sid>0x11000003</sid>
+ <sid>0x11000004</sid>
+ <sid>0x11000005</sid>
+ <sid>0x11000006</sid>
+ <sid>0x11000007</sid>
+ <sid>0x11000008</sid>
+ <sid>0x11000009</sid>
+ <sid>0x1100000A</sid>
+ </sid_list>
+ <vid_list>
+ <vid>0x70000001</vid>
+ <vid>0x70000002</vid>
+ <vid>0x70000003</vid>
+ <vid>0x70000004</vid>
+ <vid>0x70000005</vid>
+ <vid>0x70000006</vid>
+ <vid>0x70000007</vid>
+ <vid>0x70000008</vid>
+ <vid>0x70000009</vid>
+ <vid>0x7000000A</vid>
+ </vid_list>
+ <capabilities>000000000000000111</capabilities>
+ <corrupt>false</corrupt>
+ <match>true</match>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>TX509 Extension Tests 08 - All possible capabilities except TCB.</actionname>
+ <actiontype>Extension</actiontype>
+ <actionbody>
+ <filename>\tx509\data\extensions\certs\longcaps.der</filename>
+ <capabilities>01111111111111111111</capabilities>
+ <corrupt>false</corrupt>
+ <match>true</match>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+
+<action>
+ <actionname>TX509 Extension Tests 09 - All possible capabilities except TCB.</actionname>
+ <actiontype>Extension</actiontype>
+ <actionbody>
+ <filename>\tx509\data\extensions\certs\longcaps.der</filename>
+ <capabilities>01111111111111111111</capabilities>
+ <corrupt>false</corrupt>
+ <match>true</match>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+
+<action>
+ <actionname>TX509 Extension Tests 10 - Test error handling of zero length integer fields.</actionname>
+ <actiontype>Extension</actiontype>
+ <actionbody>
+ <filename>\tx509\data\extensions\certs\empty_fields.der</filename>
+ <device_id_list>
+ <device_id></device_id>
+ </device_id_list>
+ <vid_list></vid_list>
+ <sid_list></sid_list>
+ <capabilities></capabilities>
+ <corrupt>true</corrupt>
+ <match>true</match>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>TX509 Extension Tests 11 - Incorrect data type associated with an OID.</actionname>
+ <actiontype>Extension</actiontype>
+ <actionbody>
+ <filename>\tx509\data\extensions\certs\corrupt.der</filename>
+ <corrupt>true</corrupt>
+ <match>true</match>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+
+<action>
+ <actionname>TX509 Extension Tests 12 - Symbian Signed Refernce - 1 </actionname>
+ <actiontype>Extension</actiontype>
+ <actionbody>
+ <filename>\tx509\data\extensions\certs\SymbianSigned_T1.der</filename>
+ <device_id_list>
+ <device_id>11111111-222222-3-44</device_id>
+ </device_id_list>
+ <capabilities>11000000100</capabilities>
+ <corrupt>true</corrupt>
+ <match>false</match>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>