| /test/ontest-stc2/src/suites/security/kmf/tests/ |
| Makefile | 29 STF_BUILD_SUBDIRS=kmf_api pktool kmfcfg 30 STF_EXECUTE_SUBDIRS=kmf_api pktool kmfcfg
|
| /test/stcnv/usr/src/suites/security/kmf/tests/ |
| Makefile | 29 STF_BUILD_SUBDIRS=kmf_api pktool kmfcfg 30 STF_EXECUTE_SUBDIRS=kmf_api pktool kmfcfg
|
| /test/ontest-stc2/src/suites/security/kmf/tests/pktool/ |
| Makefile | 49 STF_DATAFILES= pktool.help \ 50 pktool.list.1keypair \ 51 pktool.list.1keypair.file \ 52 pktool.list.1keypair.fullpath \ 53 pktool.list.crl \ 54 pktool.list.nss.crl \ 55 pktool.test.p12 \ 56 pktool.test.pem \ 57 pktool.test.der \ 58 pktool.crl.der [all...] |
| pktool_057.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # Verify \"pktool export keystore=file\" with different parmameters. 47 # pktool 50 # 1) run "pktool gencert keystore=file". 51 # 2) save the pktool list result. 52 # 3) run "pktool export keystore=file" with different parameters. 61 OUTKEY=pktool.test.outkey 62 OUTCERT=pktool.test.outcert 63 INPUTFILE=pktool.inputfile 76 jnl_assertion "Verify \"pktool export keystore=file\" with different parmameters. [all...] |
| pktool_055.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # Verify \"pktool export keystore=nss\" with different parmameters. 47 # pktool 50 # 1) run "pktool setpin keystore=nss" to initialize the keystore. 52 # 3) run "pktool gencert keystore=nss". 53 # 4) save the pktool list result. 54 # 5) run "pktool export keystore=nss" with different parameters. 65 INPUTFILE=pktool.inputfile 86 jnl_assertion "Verify \"pktool export keystore=nss\" with different parmameters." 112 jnl_diagnostic "pktool for initial change" "0" $e "STF_UNRESOLVED [all...] |
| pktool_053.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # Verify \"pktool export\" with different parmameters. 47 # pktool 50 # 1) run "pktool setpin" to initialize the keystore. 52 # 3) run "pktool gencert" 53 # 4) save the pktool list result 54 # 5) run "pktool export " with different parameters. 65 INPUTFILE=pktool.inputfile 85 jnl_assertion "Verify \"pktool export\" with different parmameters." 91 jnl_diagnostic "pktool for initial change" "0" $e "STF_UNRESOLVED [all...] |
| pktool_074.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # Verify \"pktool export & import\" on symmetric key with different parmameters. 47 # pktool 50 # 1) run "pktool setpin" to initialize the keystore. 52 # 3) run "pktool genkey" 53 # 4) save the pktool list result 54 # 5) run "pktool export " with different parameters. 56 # 7) run "pktool import " from the exported file. 64 INPUTFILE=pktool.inputfile 72 jnl_assertion "Verify \"pktool export & import\" with different parmameters. [all...] |
| pktool_058.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # Verify \"pktool import keystore=file\" with different parmameters. 47 # pktool 59 OUTKEY=$TESTDIR/pktool.test.outkey 60 OUTCERT=$TESTDIR/pktool.test.outcert 61 INPUTFILE=$DATA/pktool.test.p12 71 jnl_assertion "Verify \"pktool import keystore=file\" with different parmameters." 80 jnl_progress "pktool import infile=$INPUTFILE ${args[i]}" 90 ksh -c "pktool list keystore=file objtype=cert infile=$OUTCERT" \ 94 jnl_diagnostic "pktool list" "0" $e "STF_FAIL [all...] |
| pktool_001.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # If pktool is given with -?, -help or no option, it will return the help info. 47 # pktool 50 # 1) Run pktool and redirect stderr to a file. 55 jnl_assertion "pktool is given no option, it will return the help info" 59 test_cmds[1]="/usr/bin/pktool -?" 60 test_cmds[2]="/usr/bin/pktool" 61 test_cmds[3]="/usr/bin/pktool -help" 81 diff ${DATA}/pktool.help result.$$ 85 jnl_diagnostic "pktool" "0" $e "STF_FAIL [all...] |
| pktool_002.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # pktool tokens will list "Sun Software PKCS#11 softtoken" at least. 47 # pktool 50 # 1) Run "pktool setpin" to initialize the keystore. 51 # 2) Run "pktool tokens". 60 jnl_assertion "pktool will list \"Sun Software PKCS#11 softtoken\" at least" 66 jnl_diagnostic "pktool for initial change" "0" $e "STF_UNRESOLVED" 71 jnl_progress "pktool tokens" 72 /usr/bin/pktool tokens > result.$$ 87 jnl_diagnostic "pktool tokens" "0" $e "STF_FAIL [all...] |
| pktool_037.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # run \"pktool gencsr\" with wrong parameters, failure expect 47 # pktool 50 # 1) run "pktool setpin" to initiallize the keystore. 52 # 3) run "pktool gencsr" with wrong parameters, failure expect. 60 TESTCSR=pktool.csr 84 jnl_assertion "run \"pktool gencsr\" with wrong parameters, failure expect." 97 jnl_diagnostic "pktool for initial change" "0" $e "STF_UNRESOLVED" 102 jnl_progress "pktool gencsr ${args[i]}" 107 jnl_diagnostic "pktool gencsr ${args[i]}" "0" $e "STF_FAIL [all...] |
| pktool_038.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 43 # run the \"pktool gencsr keystore=nss\" with wrong parameters, failure expect. 45 # pktool 48 # 1) run "pktool setpin" to initiallize the keystore. 50 # 3) run "pktool gencsr keystore=nss" with wrong parameters, failure expect. 57 TESTCSR=$TESTDIR/pktool.csr 81 jnl_assertion "run the \"pktool gencsr keystore=nss\" with wrong parameters, failure expect." 97 jnl_diagnostic "pktool for initial change" "0" $e "STF_UNRESOLVED" 103 jnl_progress "pktool gencsr ${args[i]}" 108 jnl_diagnostic "pktool gencsr" "Non-Zero" $e "STF_FAIL [all...] |
| /test/stcnv/usr/src/suites/security/kmf/tests/pktool/ |
| Makefile | 50 STF_DATAFILES= pktool.help \ 51 pktool.list.1keypair \ 52 pktool.list.1keypair.file \ 53 pktool.list.1keypair.fullpath \ 54 pktool.list.crl \ 55 pktool.list.nss.crl \ 56 pktool.test.p12 \ 57 pktool.test.pem \ 58 pktool.test.der \ 59 pktool.crl.der [all...] |
| pktool_081.ksh | 40 # 1) "pktool gencert token=TPM" 41 # 2) "pktool gencsr token=TPM" 42 # 3) "pktool signcsr token=TPM" 48 # 2) Run "pktool inittoken currlabel=TPM", input the default SO PIN 50 # 3) Run "pktool setpin token=TPM usertype=so" to change the SO PIN, 53 # 4) Run ""pktool setpin token=TPM" to change the user's PIN, input 56 # 5) Run "pktool gencert token=TPM" to generate key pairs. 57 # 6) Run "pktool gencsr token=TPM" to generate a csr. 58 # 7) Run "pktool signcsr token=TPM" to sign a csr. 61 # INTERFACE: pktool [all...] |
| pktool_057.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # Verify \"pktool export keystore=file\" with different parmameters. 47 # pktool 50 # 1) run "pktool gencert keystore=file". 51 # 2) save the pktool list result. 52 # 3) run "pktool export keystore=file" with different parameters. 61 OUTKEY=pktool.test.outkey 62 OUTCERT=pktool.test.outcert 63 INPUTFILE=pktool.inputfile 76 jnl_assertion "Verify \"pktool export keystore=file\" with different parmameters. [all...] |
| pktool_055.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # Verify \"pktool export keystore=nss\" with different parmameters. 47 # pktool 50 # 1) run "pktool setpin keystore=nss" to initialize the keystore. 52 # 3) run "pktool gencert keystore=nss". 53 # 4) save the pktool list result. 54 # 5) run "pktool export keystore=nss" with different parameters. 65 INPUTFILE=pktool.inputfile 86 jnl_assertion "Verify \"pktool export keystore=nss\" with different parmameters." 112 jnl_diagnostic "pktool for initial change" "0" $e "STF_UNRESOLVED [all...] |
| pktool_053.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # Verify \"pktool export\" with different parmameters. 47 # pktool 50 # 1) run "pktool setpin" to initialize the keystore. 52 # 3) run "pktool gencert" 53 # 4) save the pktool list result 54 # 5) run "pktool export " with different parameters. 65 INPUTFILE=pktool.inputfile 85 jnl_assertion "Verify \"pktool export\" with different parmameters." 91 jnl_diagnostic "pktool for initial change" "0" $e "STF_UNRESOLVED [all...] |
| pktool_080.ksh | 39 # 1) "pktool inittoken currlabel=TPM" 40 # 2) "pktool setpin token=TPM usertype=so" 41 # 3) "pktool setpin token=TPM" 47 # 2) Run "pktool inittoken currlabel=TPM", input the default SO PIN 49 # 3) Run "pktool setpin token=TPM usertype=so" to change the SO PIN, 52 # 4) Run ""pktool setpin token=TPM" to change the user's PIN, input 56 # INTERFACE: pktool 62 . ${STF_SUITE}/tests/pktool/lib/pktool_inittoken_tpm.kshlib 69 1) "pktool inittoken currlabel=TPM" 70 2) "pktool setpin token=TPM usertype=so [all...] |
| pktool_074.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # Verify \"pktool export & import\" on symmetric key with different parmameters. 47 # pktool 50 # 1) run "pktool setpin" to initialize the keystore. 52 # 3) run "pktool genkey" 53 # 4) save the pktool list result 54 # 5) run "pktool export " with different parameters. 56 # 7) run "pktool import " from the exported file. 64 INPUTFILE=pktool.inputfile 72 jnl_assertion "Verify \"pktool export & import\" with different parmameters. [all...] |
| pktool_058.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # Verify \"pktool import keystore=file\" with different parmameters. 47 # pktool 59 OUTKEY=$TESTDIR/pktool.test.outkey 60 OUTCERT=$TESTDIR/pktool.test.outcert 61 INPUTFILE=$DATA/pktool.test.p12 71 jnl_assertion "Verify \"pktool import keystore=file\" with different parmameters." 80 jnl_progress "pktool import infile=$INPUTFILE ${args[i]}" 90 ksh -c "pktool list keystore=file objtype=cert infile=$OUTCERT" \ 94 jnl_diagnostic "pktool list" "0" $e "STF_FAIL [all...] |
| pktool_079.ksh | 40 # 1) "pktool inittoken currlabel=TPM newlabel=tpm-$user" 41 # 2) "pktool setpin token=tpm-$user usertype=so" 42 # 3) "pktool setpin token=tpm-$user" 48 # 2) Run "pktool inittoken currlabel=TPM newlabel=tpm-$user", input the 51 # 3) Run "pktool setpin token=tpm-$user usertype=so" to change the SO PIN, 54 # 4) Run ""pktool setpin token=tpm-$user" to change the user's PIN, input 58 # INTERFACE: pktool 64 . ${STF_SUITE}/tests/pktool/lib/pktool_inittoken_tpm.kshlib 72 1) "pktool inittoken currlabel=TPM newlabel=tpm-\$user" 73 2) "pktool setpin token=tpm-\$user usertype=so [all...] |
| pktool_001.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # If pktool is given with -?, -help or no option, it will return the help info. 47 # pktool 50 # 1) Run pktool and redirect stderr to a file. 55 jnl_assertion "pktool is given no option, it will return the help info" 59 test_cmds[1]="/usr/bin/pktool -?" 60 test_cmds[2]="/usr/bin/pktool" 61 test_cmds[3]="/usr/bin/pktool -help" 81 diff ${DATA}/pktool.help result.$$ 85 jnl_diagnostic "pktool" "0" $e "STF_FAIL [all...] |
| pktool_002.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # pktool tokens will list "Sun Software PKCS#11 softtoken" at least. 47 # pktool 50 # 1) Run "pktool setpin" to initialize the keystore. 51 # 2) Run "pktool tokens". 60 jnl_assertion "pktool will list \"Sun Software PKCS#11 softtoken\" at least" 66 jnl_diagnostic "pktool for initial change" "0" $e "STF_UNRESOLVED" 71 jnl_progress "pktool tokens" 72 /usr/bin/pktool tokens > result.$$ 87 jnl_diagnostic "pktool tokens" "0" $e "STF_FAIL [all...] |
| pktool_037.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 44 # run \"pktool gencsr\" with wrong parameters, failure expect 47 # pktool 50 # 1) run "pktool setpin" to initiallize the keystore. 52 # 3) run "pktool gencsr" with wrong parameters, failure expect. 60 TESTCSR=pktool.csr 84 jnl_assertion "run \"pktool gencsr\" with wrong parameters, failure expect." 97 jnl_diagnostic "pktool for initial change" "0" $e "STF_UNRESOLVED" 102 jnl_progress "pktool gencsr ${args[i]}" 107 jnl_diagnostic "pktool gencsr ${args[i]}" "0" $e "STF_FAIL [all...] |
| pktool_038.ksh | 33 EXPDIR=$STF_SUITE/tests/pktool/lib 43 # run the \"pktool gencsr keystore=nss\" with wrong parameters, failure expect. 45 # pktool 48 # 1) run "pktool setpin" to initiallize the keystore. 50 # 3) run "pktool gencsr keystore=nss" with wrong parameters, failure expect. 57 TESTCSR=$TESTDIR/pktool.csr 81 jnl_assertion "run the \"pktool gencsr keystore=nss\" with wrong parameters, failure expect." 97 jnl_diagnostic "pktool for initial change" "0" $e "STF_UNRESOLVED" 103 jnl_progress "pktool gencsr ${args[i]}" 108 jnl_diagnostic "pktool gencsr" "Non-Zero" $e "STF_FAIL [all...] |