cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/buildromstore.txt
<!--
Build the ROM keystore
-->
<action>
<actionname>1, Opening key store in manager mode</actionname>
<actiontype>init</actiontype>
<actionbody>
<mode>manager</mode>
</actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>
<action>
<actionname>2, Delete everything</actionname>
<actiontype>deletekeys</actiontype>
<actionbody></actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>
<action>
<actionname>4, Set passphrase timeout to 30 seconds</actionname>
<actiontype>settimeout</actiontype>
<actionbody>
<timeout>30</timeout>
</actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>
<action>
<actionname>3, Import a RSA key</actionname>
<actiontype>importkey</actiontype>
<actionbody>
<ImportData>pkcs8rsa.001</ImportData>
<keyusage>allusagesbutNR</keyusage>
<keylabel>gm0</keylabel>
<keyaccesstype>Extractable</keyaccesstype>
<passphrase>create pinkcloud</passphrase>
</actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>
<action>
<actionname>5, Import a DSA key</actionname>
<actiontype>importkey</actiontype>
<actionbody>
<ImportData>pkcs8dsa1.001</ImportData>
<keyusage>DSAUsage</keyusage>
<keylabel>gm1</keylabel>
<keyaccesstype>Extractable</keyaccesstype>
</actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>
<action>
<actionname>6, List everything (TEST ID: GT0140-KEY001)</actionname>
<actiontype>listkeys</actiontype>
<actionbody>
<listcount>2</listcount>
<foundkey>gm0</foundkey>
<foundkey>gm1</foundkey>
</actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>
<action>
<actionname>7, Closing key store</actionname>
<actiontype>delete</actiontype>
<actionbody></actionbody>
<actionresult>
<return>KErrNone</return>
</actionresult>
</action>