diff -r 000000000000 -r 2c201484c85f cryptoservices/certificateandkeymgmt/twtlscert/scripts/twtlscert.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/certificateandkeymgmt/twtlscert/scripts/twtlscert.txt Wed Jul 08 11:25:26 2009 +0100
@@ -0,0 +1,846 @@
+
+ WTLSCERT Syntax Checks 01
+ Syntax
+
+ \twtlscert\data\
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 1
+ Validate
+
+
+
+ \twtlscert\data\wtls-ee.cer
+
+
+
+ \twtlscert\data\wtls-root.cer
+
+
+
+
+ ValidatedOK
+
+
+
+ KErrNone
+
+
+
+
+
+ WTLSCERT Valdiation Test 02
+ Validate
+
+
+
+ \twtlscert\data\symbian-freecerts-wtls.cer
+
+
+
+ \twtlscert\data\wtls-root.cer
+
+
+
+
+ ValidatedOK
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 03
+ Validate
+
+
+
+ \twtlscert\data\will-ent-wtls.cer
+
+
+
+ \twtlscert\data\ent-wtls.cer
+
+
+
+
+ ValidatedOK
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 04
+ Validate
+
+
+
+ \twtlscert\data\william.bamberg@symbian.com.wap
+
+
+
+ \twtlscert\data\MobileServiceCA.wap
+
+
+
+
+ ValidatedOK
+
+
+
+ KErrNone
+
+
+
+
+
+ WTLSCERT Valdiation Test 05
+ Validate
+
+
+
+ \twtlscert\data\wtls-ee-badsig.cer
+
+
+
+ \twtlscert\data\wtls-root.cer
+
+
+
+
+ SignatureInvalid
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 06
+ Validate
+
+
+
+ \twtlscert\data\wtls-ee.cer
+
+
+
+ \twtlscert\data\wtls-root-badsig.cer
+
+
+
+
+ SignatureInvalid
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 07
+ Validate
+
+
+
+ \twtlscert\data\will-ent-wtls-badsig.cer
+
+
+
+ \twtlscert\data\ent-wtls.cer
+
+
+
+
+ SignatureInvalid
+
+
+
+ KErrNone
+
+
+
+
+
+ WTLSCERT Valdiation Test 08
+ Validate
+
+
+
+ \twtlscert\data\will-ent-wtls.cer
+
+
+
+ \twtlscert\data\ent-wtls-badsig.cer
+
+
+
+
+ SignatureInvalid
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 09
+ Validate
+
+
+
+ \twtlscert\data\william.bamberg@symbian.com-badsig.wap
+
+
+
+ \twtlscert\data\MobileServiceCA.wap
+
+
+
+
+ SignatureInvalid
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 10
+ Validate
+
+
+
+ \twtlscert\data\william.bamberg@symbian.com.wap
+
+
+
+ \twtlscert\data\MobileServiceCA-badsig.wap
+
+
+
+
+ SignatureInvalid
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 11
+ Validate
+
+
+
+ \twtlscert\data\will-ent-wtls.cer
+
+
+
+ \twtlscert\data\entrustnetwap.bin
+
+
+
+
+ ChainHasNoRoot
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 12
+ Validate
+
+
+
+ \twtlscert\data\ent-wtls.cer
+
+
+
+ \twtlscert\data\ent-wtls.cer
+
+
+
+
+ ValidatedOK
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 13
+ Validate
+
+
+
+ \twtlscert\data\ent-wtls.cer
+
+
+
+ \twtlscert\data\MobileServiceCA.wap
+
+
+
+
+ ChainHasNoRoot
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 14
+ Validate
+
+
+ true
+
+
+
+ \twtlscert\data\Vancouver_Canucks.crt
+
+
+
+ \twtlscert\data\Winnipeg_Jets_Missing_CN.crt
+
+
+
+ \twtlscert\data\Montreal_Canadiens.crt
+
+
+
+ \twtlscert\data\Ottawa_Senators.crt
+
+
+
+ \twtlscert\data\Toronto_Maple_Leafs.crt
+
+
+
+ \twtlscert\data\Canadian_Hockey_Teams.crt
+
+
+
+
+ ValidatedOK
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 15
+ Validate
+
+
+ true
+
+
+
+ \twtlscert\data\Vancouver_Canucks.crt
+
+
+
+ \twtlscert\data\Winnipeg_Jets_Missing_CN.crt
+
+
+
+ \twtlscert\data\Winnipeg_Jets_Missing_CN.crt
+
+
+
+
+ ValidatedOK
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 16
+ Validate
+
+
+ true
+
+
+
+ \twtlscert\data\Ottawa_Senators.crt
+
+
+
+ \twtlscert\data\Toronto_Maple_Leafs.crt
+
+
+
+ \twtlscert\data\Canadian_Hockey_Teams.crt
+
+
+
+
+ ValidatedOK
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 17
+ Validate
+
+
+ true
+
+
+
+ \twtlscert\data\Vancouver_Canucks.crt
+
+
+
+ \twtlscert\data\Winnipeg_Jets_Missing_CN.crt
+
+
+
+ \twtlscert\data\Montreal_Canadiens.crt
+
+
+
+ \twtlscert\data\Ottawa_Senators.crt
+
+
+
+ \twtlscert\data\Toronto_Maple_Leafs.crt
+
+
+
+ \twtlscert\data\Toronto_Maple_Leafs.crt
+
+
+
+ \twtlscert\data\Canadian_Hockey_Teams.crt
+
+
+
+
+ ValidatedOK
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 18
+ Validate
+
+
+ true
+
+
+
+ \twtlscert\data\Vancouver_Canucks.crt
+
+
+
+ \twtlscert\data\Winnipeg_Jets_Missing_CN.crt
+
+
+
+ \twtlscert\data\Montreal_Canadiens.crt
+
+
+
+ \twtlscert\data\Ottawa_Senators.crt
+
+
+
+ \twtlscert\data\Toronto_Maple_Leafs.crt
+
+
+
+ \twtlscert\data\Canadian_Hockey_Teams.crt
+
+
+
+ \twtlscert\data\Winnipeg_Jets_Missing_CN.crt
+
+
+
+
+ ValidatedOK
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 19
+ Validate
+
+
+ true
+
+
+
+ \twtlscert\data\Ottawa_Senators.crt
+
+
+
+ \twtlscert\data\Toronto_Maple_Leafs.crt
+
+
+
+ \twtlscert\data\Canadian_Hockey_Teams.crt
+
+
+
+ \twtlscert\data\wtls-root.cer
+
+
+
+
+ ChainHasNoRoot
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 20
+ Validate
+
+
+ true
+
+
+
+ \twtlscert\data\Vancouver_Canucks.crt
+
+
+
+ \twtlscert\data\Winnipeg_Jets_Missing_CN.crt
+
+
+
+ \twtlscert\data\Montreal_Canadiens.crt
+
+
+
+ \twtlscert\data\Ottawa_Senators.crt
+
+
+
+ \twtlscert\data\Toronto_Maple_Leafs.crt
+
+
+
+ \twtlscert\data\Winnipeg_Jets_Missing_CN.crt
+
+
+
+
+ ValidatedOK
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 21
+ Validate
+
+
+ true
+
+
+
+ \twtlscert\data\Toronto_Maple_Leafs.crt
+
+
+
+ \twtlscert\data\wtls-root.cer
+
+
+
+ \twtlscert\data\wtls-root.cer
+
+
+
+
+ NamesDontChain
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 22
+ Validate
+
+
+ true
+
+
+
+ \twtlscert\data\Vancouver_Canucks.crt
+
+
+
+ \twtlscert\data\Winnipeg_Jets_Missing_CN.crt
+
+
+
+ \twtlscert\data\will-ent-wtls.cer
+
+
+
+ \twtlscert\data\Montreal_Canadiens.crt
+
+
+
+ \twtlscert\data\Ottawa_Senators.crt
+
+
+
+ \twtlscert\data\Toronto_Maple_Leafs.crt
+
+
+
+ \twtlscert\data\Canadian_Hockey_Teams.crt
+
+
+
+
+ NotCACert
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 23
+ Validate
+
+
+ true
+
+
+
+ \twtlscert\data\Vancouver_Canucks.crt
+
+
+
+ \twtlscert\data\Winnipeg_Jets_Missing_CN.crt
+
+
+
+ \twtlscert\data\Montreal_Canadiens.crt
+
+
+
+ \twtlscert\data\Winnipeg_Jets_Missing_CN.crt
+
+
+
+ \twtlscert\data\Ottawa_Senators.crt
+
+
+
+ \twtlscert\data\Toronto_Maple_Leafs.crt
+
+
+
+ \twtlscert\data\Canadian_Hockey_Teams.crt
+
+
+
+
+ NamesDontChain
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 24
+ Validate
+
+
+ true
+
+
+
+ \twtlscert\data\Toronto_Maple_Leafs.crt
+
+
+
+ \twtlscert\data\Toronto_Maple_Leafs.crt
+
+
+
+
+ ValidatedOK
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 25
+ Validate
+
+
+ true
+
+
+
+ \twtlscert\data\Vancouver_Canucks.crt
+
+
+
+ \twtlscert\data\Winnipeg_Jets_Missing_CN.crt
+
+
+
+ \twtlscert\data\Montreal_Canadiens_Invalid.crt
+
+
+
+ \twtlscert\data\Ottawa_Senators.crt
+
+
+
+ \twtlscert\data\Toronto_Maple_Leafs.crt
+
+
+
+ \twtlscert\data\Canadian_Hockey_Teams.crt
+
+
+
+
+ SignatureInvalid
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Valdiation Test 26
+ Validate
+
+
+ true
+
+
+
+ \twtlscert\data\Vancouver_Canucks.crt
+
+
+
+ \twtlscert\data\Winnipeg_Jets_Missing_CN.crt
+
+
+
+ \twtlscert\data\Montreal_Canadiens.crt
+
+
+
+ \twtlscert\data\Ottawa_Senators.crt
+
+
+
+ \twtlscert\data\Toronto_Maple_Leafs.crt
+
+
+
+ \twtlscert\data\Canadian_Hockey_Teams.crt
+
+
+
+ \twtlscert\data\Ottawa_Senators.crt
+
+
+
+ \twtlscert\data\Vancouver_Canucks.crt
+
+
+
+ \twtlscert\data\Montreal_Canadiens.crt
+
+
+
+ \twtlscert\data\Winnipeg_Jets_Missing_CN.crt
+
+
+
+ \twtlscert\data\Toronto_Maple_Leafs.crt
+
+
+
+
+ ValidatedOK
+
+
+
+ KErrNone
+
+
+
+
+ WTLSCERT Corruption Tests
+ Corruption
+
+ \twtlscert\data\
+ 100
+
+
+ KErrNone
+
+