sl@0: [certhelp] sl@0: actualoutput=c:\output.txt sl@0: numlines=5 sl@0: line0=Usage sl@0: line1= certtool [{-list -l} {-liststores -ls} {-import -i} {-remove -r} sl@0: line2={-addapps -a } {-setapps} {-removeapps} {-page -p } {-help -h}] {CertificateLabel} sl@0: line3=Type certtool -h {CommandName} for details on a particular command. sl@0: line4=Type certtool -h noninteractive for details on how to run the commands in noninteractive mode. sl@0: sl@0: [certhelp_individual] sl@0: actualoutput=c:\output.txt sl@0: numlines=1 sl@0: line0=-liststores | -ls List the certstore implementations available on the device. sl@0: sl@0: [certtool_liststores] sl@0: actualoutput=c:\output.txt sl@0: liststore=1 sl@0: sl@0: [certtool_import_store0] sl@0: expectedlabel1=wtls2 sl@0: expectedlabel2=c:\tcertstore\ent-wtls2.cer sl@0: sl@0: [certtool_import_store1] sl@0: expectedlabel1=wtls1 sl@0: sl@0: [certtool_import_store01twice] sl@0: expectedlabel1=wtls sl@0: numtimes=2 sl@0: sl@0: [certtool_import_keycert] sl@0: expectedlabel1=usercert sl@0: sl@0: sl@0: [certtool_setapps] sl@0: expectedlabel1=wtls1 sl@0: numapps=2 sl@0: apps0=ssl/tls sl@0: apps1=midletinstall sl@0: sl@0: [certtool_addapps] sl@0: expectedlabel1=wtls1 sl@0: numapps=3 sl@0: apps0=ssl/tls sl@0: apps1=midletinstall sl@0: apps2=swinstall sl@0: sl@0: [certtool_removeapps] sl@0: expectedlabel1=wtls1 sl@0: numapps=2 sl@0: apps0=midletinstall sl@0: apps1=swinstall sl@0: sl@0: [certtool_list] sl@0: actualoutput=c:\output.txt sl@0: sl@0: [certtool_list_store] sl@0: actualoutput=c:\output.txt sl@0: store=1 sl@0: sl@0: [certtool_list_cert] sl@0: expectedlabel1=wtls1 sl@0: sl@0: [certtool_list_certowner] sl@0: actualoutput=c:\output.txt sl@0: owner=ca sl@0: sl@0: [certtool_remove1] sl@0: expectedlabel1=wtls sl@0: numtimes=0 sl@0: sl@0: [certtool_remove2] sl@0: expectedlabel1=wtls1 sl@0: numtimes=0 sl@0: sl@0: [certtool_remove3] sl@0: expectedlabel1=wtls2 sl@0: numtimes=0 sl@0: sl@0: [certtool_removekey] sl@0: expectedlabel1=usercert sl@0: numtimes=0 sl@0: sl@0: [keytool_help] sl@0: actualoutput=c:\output.txt sl@0: numlines=5 sl@0: line0=Usage sl@0: line1= keytool [{-list -l} {-liststores -ls} {-import -i} {-remove -r} sl@0: line2={-page -p } {-help -h} {-setuser -s} {-setallusers -a} {-removeuser -ru} {-setmanager -m}] {KeyLabel} sl@0: line3=Type keytool -h {CommandName} for details on a particular command. sl@0: line4=Type keytool -h noninteractive for details on how to run the commands in noninteractive mode. sl@0: sl@0: [keytool_help_individual] sl@0: actualoutput=c:\output.txt sl@0: numlines=1 sl@0: line0=-setuser uid KeyLabel Sets the given UID as the user of the specified key. UID is interpreted as hexadecimal number. sl@0: sl@0: [keytool_liststores] sl@0: actualoutput=c:\output.txt sl@0: liststore=1 sl@0: sl@0: sl@0: [keytool_import_key] sl@0: expectedlabel1=pkcs2 sl@0: expectedlabel2=c:\tkeystore\data\pkcs8dsa2.001 sl@0: sl@0: [keytool_import_key_store1] sl@0: expectedlabel1=pkcs3 sl@0: sl@0: [keytool_import_key_store01twice] sl@0: expectedlabel1=pkcs4 sl@0: numtimes=2 sl@0: sl@0: [keytool_list] sl@0: actualoutput=c:\output.txt sl@0: sl@0: [keytool_list_store] sl@0: actualoutput=c:\output.txt sl@0: store=0 sl@0: sl@0: [keytool_list_key] sl@0: expectedlabel1=pkcs2 sl@0: sl@0: [keytool_remove] sl@0: expectedlabel1=pkcs2 sl@0: numtimes=0 sl@0: sl@0: [keytool_setuser] sl@0: expectedlabel1=pkcs4 sl@0: user=1 sl@0: expecteduser=305441741 sl@0: sl@0: [keytool_setallusers] sl@0: expectedlabel1=pkcs4 sl@0: user=1 sl@0: expecteduser=All sl@0: sl@0: [keytool_setmanager] sl@0: expectedlabel1=pkcs4 sl@0: user=2 sl@0: expecteduser=WriteDeviceData sl@0: sl@0: [keytool_removeuser] sl@0: expectedlabel1=pkcs4 sl@0: user=1 sl@0: expecteduser=271064114 sl@0: sl@0: [certtoolkey_keytoolmanage] sl@0: expectedlabel1=pkcs4 sl@0: user=1 sl@0: expecteduser=305441741 sl@0: sl@0: [certtoolkey_keytoolmanage1] sl@0: expectedlabel1=pkcs4 sl@0: user=2 sl@0: expecteduser=WriteDeviceData sl@0: sl@0: [certtool_helpfail] sl@0: expected=c:\ttesttools\data\output31.txt sl@0: actual=c:\output.txt sl@0: sl@0: [certtool_individual_helpfail] sl@0: expected=c:\ttesttools\data\output32.txt sl@0: actual=c:\output.txt sl@0: sl@0: [certtool_liststoresfail] sl@0: actualoutput=c:\output.txt sl@0: liststore=1 sl@0: sl@0: [certtool_import_twicefail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=The given label is invalid, or already present in the certstore. sl@0: sl@0: [certtool_import_emptycertstorefail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=The specified certstore implementation does not exist. sl@0: sl@0: [certtool_import_nonexistfail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=Cannot open certificate file. sl@0: sl@0: [certtool_import_corruptcertfail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=An error occured during certificate import. sl@0: sl@0: [certtool_import_emptycertfail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=The specified certificate file appears to be empty. sl@0: sl@0: [certtool_setapps_invalidfail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=No valid applications specified, try one of sl@0: sl@0: sl@0: [certtool_setapps_userfail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=An Unknown error occured while adding the applicability. sl@0: sl@0: [certtool_addapps_invalidfail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=No valid applications specified, try one of sl@0: sl@0: [certtool_addapps_userfail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=An Unknown error occured while adding the applicability. sl@0: sl@0: [certtool_removeapps_invalidfail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=No valid applications specified, try one of sl@0: sl@0: [certtool_removeapps_untrustfail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=The certificate wan not trusted for application SWInstall. sl@0: sl@0: [certtool_list_fail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=The specified certstore implementation does not exist. sl@0: sl@0: [certtool_list_fail1] sl@0: actualoutput=c:\output.txt sl@0: expectederror=Cannot find the specified Certificate sl@0: sl@0: [certtool_list_fail2] sl@0: actualoutput=c:\output.txt sl@0: expectederror=No Certificate Exist sl@0: sl@0: [certtool_remove_fail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=Cannot find the specified certificate. sl@0: sl@0: [keytool_liststore_fail] sl@0: expected=c:\ttesttools\data\output52.txt sl@0: actual=c:\output.txt sl@0: sl@0: [keytool_import_fail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=An error occured during key import. sl@0: sl@0: sl@0: [keytool_import_fail1] sl@0: actualoutput=c:\output.txt sl@0: expectederror=The specified keystore implementation does not exist. sl@0: sl@0: [keytool_import_fail2] sl@0: actualoutput=c:\output.txt sl@0: expectederror=Cannot open key file. sl@0: sl@0: [keytool_import_fail3] sl@0: actualoutput=c:\output.txt sl@0: expectederror=An error occured during key import. sl@0: sl@0: [keytool_import_fail4] sl@0: actualoutput=c:\output.txt sl@0: expectederror=The specified key file appears to be empty. sl@0: sl@0: [keytool_setuser_fail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=Cannot find the specified key. sl@0: sl@0: [keytool_setuser_fail1] sl@0: actualoutput=c:\output.txt sl@0: expectederror=User set failed. sl@0: sl@0: [keytool_setallusers_fail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=Cannot find the specified key. sl@0: sl@0: [keytool_setallusers_fail1] sl@0: actualoutput=c:\output.txt sl@0: expectederror=AllUsers set failed. sl@0: sl@0: [keytool_setmanager_fail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=Cannot find the specified key. sl@0: sl@0: [keytool_setmanager_fail1] sl@0: actualoutput=c:\output.txt sl@0: expectederror=manager set failed. sl@0: sl@0: [keytool_removeuser_fail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=Cannot find the specified key. sl@0: sl@0: [keytool_removeuser_fail1] sl@0: actualoutput=c:\output.txt sl@0: expectederror=Users removal failed. sl@0: sl@0: [keytool_list_fail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=The specified keystore implementation does not exist. sl@0: sl@0: [keytool_list_fail1] sl@0: actualoutput=c:\output.txt sl@0: expectederror=Cannot find the specified key. sl@0: sl@0: [keytool_remove_fail] sl@0: actualoutput=c:\output.txt sl@0: expectederror=Cannot find the specified key. sl@0: sl@0: [certtool_import] sl@0: expectedlabel1=c:\tcertstore\data\cert_dsa1.der sl@0: sl@0: [certtool_setapps1] sl@0: actualoutput=c:\output.txt sl@0: expectedlabel1=c:\tcertstore\ent-wtls1.cer sl@0: numapps=1 sl@0: apps0=SSL/TLS sl@0: sl@0: [certtool_setapps2] sl@0: expectedlabel1=c:\tcertstore\ent-wtls1.cer sl@0: trust=1 sl@0: sl@0: [certtool_addapps1] sl@0: actualoutput=c:\output.txt sl@0: expectedlabel1=c:\tcertstore\ent-wtls1.cer sl@0: numapps=1 sl@0: apps0=SSL/TLS sl@0: sl@0: [certtool_addapps2] sl@0: expectedlabel1=c:\tcertstore\ent-wtls1.cer sl@0: trust=1 sl@0: sl@0: [certtool_importdeletable1] sl@0: expectedlabel1=deletableimport1 sl@0: sl@0: [certtool_importdeletable2] sl@0: expectedlabel1=deletableimport2 sl@0: sl@0: [certtool_importdeletable3] sl@0: actualoutput=c:\output.txt sl@0: expectederror=An error occured during certificate import. sl@0: sl@0: [certtool_removedeletable1] sl@0: actualoutput=c:\output.txt sl@0: expectederror=Certificate removed successfully. sl@0: sl@0: [certtool_removedeletable2] sl@0: actualoutput=c:\output.txt sl@0: expectederror=Certificate removed successfully. sl@0: