--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/certificateandkeymgmt/tasn1/scripts/tasn1.txt Wed Jul 08 11:25:26 2009 +0100
@@ -0,0 +1,262 @@
+<action>
+ <actionname>Normal Int ASN1 Test</actionname>
+ <actiontype>Normal</actiontype>
+ <actionbody>
+ <asn1test>
+ <type>int</type>
+ <parameters>
+ <values>0x0000007F</values>
+ <values>0x00007FFF</values>
+ <values>0x007FFFFF</values>
+ <values>0x7FFFFFFF</values>
+ <values>0x00000080</values>
+ <values>0x00008000</values>
+ <values>0x00800000</values>
+ <values>0x40000000</values>
+ <values>0x000000FF</values>
+ <values>0x0000FFFF</values>
+ <values>0x00FFFFFF</values>
+ <values>0x00000000</values>
+ <values>0x8000007F</values>
+ <values>0x80007FFF</values>
+ <values>0x807FFFFF</values>
+ <values>0xFFFFFFFF</values>
+ <values>0x80000080</values>
+ <values>0x80008000</values>
+ <values>0x80800000</values>
+ <values>0xC0000000</values>
+ <values>0x800000FF</values>
+ <values>0x8000FFFF</values>
+ <values>0x80FFFFFF</values>
+ <values>0x80000000</values>
+ <random>100000</random>
+ </parameters>
+ </asn1test>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+<action>
+ <actionname>Normal Big Int ASN1 Test</actionname>
+ <actiontype>Normal</actiontype>
+ <actionbody>
+ <asn1test>
+ <type>BigInt</type>
+ <parameters>
+ <values>0x0000007F</values>
+ <values>0x00007FFF</values>
+ <values>0x007FFFFF</values>
+ <values>0x7FFFFFFF</values>
+ <values>0x00000080</values>
+ <values>0x00008000</values>
+ <values>0x00800000</values>
+ <values>0x40000000</values>
+ <values>0x000000FF</values>
+ <values>0x0000FFFF</values>
+ <values>0x00FFFFFF</values>
+ <values>0x00000000</values>
+ <values>1000000..1009999</values>
+ <random>100000</random>
+ </parameters>
+ </asn1test>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+<action>
+ <actionname>Normal Boolean ASN1 Test</actionname>
+ <actiontype>Normal</actiontype>
+ <actionbody>
+ <asn1test>
+ <type>Boolean</type>
+ <parameters>
+ <values>0..1</values>
+ </parameters>
+ </asn1test>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+<action>
+ <actionname>Normal Null ASN1 Test</actionname>
+ <actiontype>Normal</actiontype>
+ <actionbody>
+ <asn1test>
+ <type>Null</type>
+ <parameters>
+ </parameters>
+ </asn1test>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+<action>
+ <actionname>Normal Explicit Tag ASN1 Test</actionname>
+ <actiontype>Normal</actiontype>
+ <actionbody>
+ <asn1test>
+ <type>ExplicitTag</type>
+ <parameters>
+ <values>4..50</values>
+ </parameters>
+ </asn1test>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+<action>
+ <actionname>Normal Implicit Tag ASN1 Test</actionname>
+ <actiontype>Normal</actiontype>
+ <actionbody>
+ <asn1test>
+ <type>ImplicitTag</type>
+ <parameters>
+ <values>Universal, 4..1000</values>
+ <values>ApplicationSpecific, 4..1000</values>
+ <values>ContextSpecific, 4..1000</values>
+ <values>Private, 4..1000</values>
+ </parameters>
+ </asn1test>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+<action>
+ <actionname>Normal Time ASN1 Test</actionname>
+ <actiontype>Normal</actiontype>
+ <actionbody>
+ <asn1test>
+ <type>GeneralizedTime</type>
+ <parameters>
+ <values>Encoder, 1972, 4, 21, 12, 10, 10, , </values>
+ <values>Encoder, 2002, 7, 2, 0, 0, 0, , </values>
+ <values>Encoder, 1956, 1, 1, 23, 59, 59, , </values>
+ <values>Encoder, 1999, 12, 31, 23, 59, 59, , </values>
+ <values>Encoder, 2000, 01, 01, 00, 00, 00, , </values>
+ <values>Encoder, 1996, 02, 29, 23, 59, 59, , </values>
+ <values>Encoder, 2000, 02, 29, 00, 01, 02, , </values>
+ <values>Encoder, 2100, 02, 28, 01, 02, 03, , </values>
+ <values>Encoder, 0000, 01, 01, 00, 00, 00, , </values>
+ <values>NoEncoder, 9999, 12, 31, 23, 59, 59, , </values>
+ <values>NoEncoder, 1983, 11, 17, 23, 54, 24, 335, +0000</values>
+ <values>NoEncoder, 1983, 11, 17, 23, 54, 24, 999, +0235</values>
+ <values>NoEncoder, 1983, 11, 11, 17, 23, 39, 000, -1440</values>
+ <values>NoEncoder, 1983, 11, 11, 17, 23, 39, 000, +0000</values>
+ <values>NoEncoder, 1984, 5, 4, 23, 59, 59, , -2100</values>
+ <values>NoEncoder, 1955, 6, 26, 0, 0, 59, 007, </values>
+ <values>NoEncoder, 1955, 6, 26, 0, 0, 59, 1, </values>
+ <values>NoEncoder, 1955, 6, 26, 0, 0, 59, 49, </values>
+ <random>1000</random>
+ </parameters>
+ </asn1test>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+<action>
+ <actionname>Normal Octect String ASN1 Test</actionname>
+ <actiontype>Normal</actiontype>
+ <actionbody>
+ <asn1test>
+ <type>OctetString</type>
+ <parameters>
+ <values>6B8A619DAAD46AD1B1C667</values>
+ <values>46AD1B1C6676B8A619DAAD1C6676B8A611</values>
+ <random>1000</random>
+ </parameters>
+ </asn1test>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+<action>
+ <actionname>Normal Object ID ASN1 Test</actionname>
+ <actiontype>Normal</actiontype>
+ <actionbody>
+ <asn1test>
+ <type>ObjectID</type>
+ <parameters>
+ <values>1.2.840.113549</values>
+ <values>2.5.8</values>
+ <values>1.2</values>
+ <values>2.39.0.0.0.100000</values>
+ <values>0.0.123.345.657.789.123.234.4.5.456.6.765</values>
+ <values>2.39.128.16384.2097152.127.16383.2097151</values>
+ <values>1.2.840.113549</values>
+ <values>0.0</values>
+ <random>1000</random>
+ </parameters>
+ </asn1test>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+<action>
+ <actionname>Normal Sequence ASN1 Test</actionname>
+ <actiontype>Normal</actiontype>
+ <actionbody>
+ <asn1test>
+ <type>Sequence</type>
+ <parameters>
+ <values>1,0</values>
+ <values>6,3</values>
+ <random>1000</random>
+ </parameters>
+ </asn1test>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+<action>
+ <actionname>Normal Output ASN1 Test</actionname>
+ <actiontype>Normal</actiontype>
+ <actionbody>
+ <asn1test>
+ <type>Output</type>
+ <parameters>
+ </parameters>
+ </asn1test>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+<action>
+ <actionname>Normal Bit String ASN1 Test</actionname>
+ <actiontype>Normal</actiontype>
+ <actionbody>
+ <asn1test>
+ <type>BitString</type>
+ <parameters>
+ </parameters>
+ </asn1test>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>
+<action>
+ <actionname>Invalid Object ID ASN1 Test</actionname>
+ <actiontype>Normal</actiontype>
+ <actionbody>
+ <asn1test>
+ <type>invalidobjectid</type>
+ <parameters>
+ <values>not used</values>
+ </parameters>
+ </asn1test>
+ </actionbody>
+ <actionresult>
+ <return>KErrNone</return>
+ </actionresult>
+</action>