1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptoservices/certificateandkeymgmt/tcertstore/scripts/dsa.txt Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,109 @@
1.4 +<action>
1.5 + <actionname>Opening a certificate store manager</actionname>
1.6 + <actiontype>init</actiontype>
1.7 + <actionbody>
1.8 + <mode>write</mode>
1.9 + </actionbody>
1.10 + <actionresult>
1.11 + <return>KErrNone</return>
1.12 + </actionresult>
1.13 +</action>
1.14 +
1.15 +<action>
1.16 + <actionname>No Test, Deleting all certs ***NEW***</actionname>
1.17 + <actiontype>deletecert</actiontype>
1.18 + <actionbody>
1.19 + <label>*.*</label>
1.20 + <deleteallcerts>1</deleteallcerts>
1.21 + </actionbody>
1.22 + <actionresult>
1.23 + <return>KErrNone</return>
1.24 + </actionresult>
1.25 +</action>
1.26 +
1.27 +<action>
1.28 + <actionname>Add the certificate DSA</actionname>
1.29 + <actiontype>addcert</actiontype>
1.30 + <actionbody>
1.31 + <format>X509</format>
1.32 + <label>DSA</label>
1.33 + <issuerkey></issuerkey>
1.34 + <subjectkey></subjectkey>
1.35 + <certstore>0</certstore>
1.36 + <certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
1.37 + <certowner>ca</certowner>
1.38 + </actionbody>
1.39 + <actionresult>
1.40 + <return>KErrNone</return>
1.41 + </actionresult>
1.42 +</action>
1.43 +
1.44 +<action>
1.45 + <actionname>Get the list of certificates</actionname>
1.46 + <actiontype>listcert</actiontype>
1.47 + <actionbody>
1.48 + <filter>
1.49 + <ownertype>ca</ownertype>
1.50 + </filter>
1.51 + </actionbody>
1.52 + <actionresult>
1.53 + <return>KErrNone</return>
1.54 + <CCTCertInfo><label>DSA</label></CCTCertInfo>
1.55 + </actionresult>
1.56 +</action>
1.57 +
1.58 +<action>
1.59 + <actionname>Deleting the certificate CAX1</actionname>
1.60 + <actiontype>deletecert</actiontype>
1.61 + <actionbody>
1.62 + <certtype>ca</certtype>
1.63 + <label>DSA</label>
1.64 + </actionbody>
1.65 + <actionresult>
1.66 + <return>KErrNone</return>
1.67 + </actionresult>
1.68 +</action>
1.69 +
1.70 +
1.71 +<action>
1.72 +<actionname>1.1.0.6 Import a DSA key</actionname>
1.73 + <actiontype>importkey</actiontype>
1.74 + <actionbody>
1.75 + <ImportData>pkcs8dsa1.001</ImportData>
1.76 + <keyusage>DSAUsage</keyusage>
1.77 + <keysize>512</keysize>
1.78 + <keylabel>*IMPORTED* DSA key</keylabel>
1.79 + <keyalgorithm>DSA</keyalgorithm>
1.80 + <keyaccesstype>Extractable</keyaccesstype>
1.81 + <passphrase>pinkcloud</passphrase>
1.82 + </actionbody>
1.83 + <actionresult>
1.84 + <return>KErrNone</return>
1.85 + </actionresult>
1.86 +</action>
1.87 +
1.88 +<action>
1.89 + <actionname>Add the certificate DSA</actionname>
1.90 + <actiontype>addcert</actiontype>
1.91 + <actionbody>
1.92 + <format>X509</format>
1.93 + <label>userDSA</label>
1.94 + <issuerkey></issuerkey>
1.95 + <certstore>0</certstore>
1.96 + <certfile>c:\tcertstore\data\cert_dsa1.der</certfile>
1.97 + <certowner>user</certowner>
1.98 + </actionbody>
1.99 + <actionresult>
1.100 + <return>KErrNone</return>
1.101 + </actionresult>
1.102 +</action>
1.103 +
1.104 +
1.105 +<action>
1.106 + <actionname>Deleting the certificate store manager</actionname>
1.107 + <actiontype>delete</actiontype>
1.108 + <actionbody></actionbody>
1.109 + <actionresult>
1.110 + <return>KErrNone</return>
1.111 + </actionresult>
1.112 +</action>