cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/createoldkeystore.txt
////////////////////////////////////////////////////////////////////////////////////
// Create an old key store
////////////////////////////////////////////////////////////////////////////////////
<action>
<actionname>Delete keystore data file</actionname>
<actiontype>deletekeystoredata</actiontype>
<actionbody>
</actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>
<action>
<actionname>Opening key store in manager mode</actionname>
<actiontype>init</actiontype>
<actionbody>
<mode>manager</mode>
</actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>
<action>
<actionname>Delete default keys</actionname>
<actiontype>deletekeys</actiontype>
<actionbody></actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>
<action>
<actionname>Add a DH key</actionname>
<actiontype>addkey</actiontype>
<actionbody>
<keyusage>Derive</keyusage>
<keysize>512</keysize>
<keylabel>dhkey</keylabel>
<keyalgorithm>DH</keyalgorithm>
<keyaccesstype>Extractable</keyaccesstype>
<keystore>0</keystore>
<passphrase>create pinkcloud</passphrase>
</actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>
<action>
<actionname>Add a RSA key</actionname>
<actiontype>addkey</actiontype>
<actionbody>
<keyusage>allusagesbutNR</keyusage>
<keysize>512</keysize>
<keylabel>rsakey</keylabel>
<keyalgorithm>RSA</keyalgorithm>
<keyaccesstype>Extractable</keyaccesstype>
<keystore>0</keystore>
</actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>
<action>
<actionname>Add a DSA key</actionname>
<actiontype>addkey</actiontype>
<actionbody>
<keyusage>DSAUsage</keyusage>
<keysize>512</keysize>
<keylabel>dsakey</keylabel>
<keyalgorithm>DSA</keyalgorithm>
<keyaccesstype>Extractable</keyaccesstype>
</actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>
<action>
<actionname>List all keys</actionname>
<actiontype>listallkeys</actiontype>
<actionbody>
<foundkey>dhkey</foundkey>
<foundkey>rsakey</foundkey>
<foundkey>dsakey</foundkey>
</actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>
<action>
<actionname>Closing key store</actionname>
<actiontype>delete</actiontype>
<actionbody></actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>
<action>
<actionname>Sleep 5 seconds</actionname>
<actiontype>sleep</actiontype>
<actionbody>
<seconds>5</seconds>
</actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>
<action>
<actionname>Check for server heap error</actionname>
<actiontype>checkserverheaperror</actiontype>
<actionbody>
</actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>