cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/thwkeystore.ini
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 09:28:34 +0200
changeset 33 cf642210ecb7
parent 29 ece3df019add
permissions -rw-r--r--
Revision: 200951 Kit: 200951

[SEC-FILETOKENS-THWKEYSTORE-1-002]
	<actionbody>
		<mode>manager</mode>
		<CheckKeyStoreLabel>1</CheckKeyStoreLabel>
		<keystoreindex>3</keystoreindex>
		<keystorelabel>Hardware plugin implementation</keystorelabel>
	</actionbody>




[SEC-FILETOKENS-THWKEYSTORE-1-004]
	<actionbody>
		<listcount>2</listcount>
		<foundkey>ecckey</foundkey>
		<foundkey>ecckey2</foundkey>
	</actionbody>


[SEC-FILETOKENS-THWKEYSTORE-1-005]
	<actionbody>
		<hwtype>1</hwtype>
		<operationtype>sign</operationtype>
		<keylabel>ecckey</keylabel>
		<open>ECC</open>
	</actionbody>



[SEC-FILETOKENS-THWKEYSTORE-1-006]
	<actionbody>
		<hwtype>1</hwtype>
		<operationtype>decrypt</operationtype>
		<keylabel>ecckey</keylabel>
		<open>ECC</open>
	</actionbody>



[SEC-FILETOKENS-THWKEYSTORE-1-007]
	<actionbody>
		<hwtype>0</hwtype>
		<operationtype>sign</operationtype>
		<keylabel>ecckey</keylabel>
		<open>ECC</open>
		<keystorelabel>Hardware plugin implementation</keystorelabel>
	<text>sample text</text>
	</actionbody>



[SEC-FILETOKENS-THWKEYSTORE-1-008]
	<actionbody>
		<hwtype>0</hwtype>
		<operationtype>decrypt</operationtype>
		<keylabel>ecckey2</keylabel>
		<open>ECC</open>
		<keystorelabel>Hardware plugin implementation</keystorelabel>
	<text>sample text</text>
	</actionbody>



[SEC-FILETOKENS-THWKEYSTORE-1-009]
	<actionbody>
		<hwtype>1</hwtype>
		<operationtype>sign</operationtype>
		<keylabel>ecckey</keylabel>
		<open>ECC</open>
		<keystorelabel>Hardware plugin implementation</keystorelabel>
	<text>sample text</text>
	</actionbody>


[SEC-FILETOKENS-THWKEYSTORE-1-010]
	<actionbody>
		<hwtype>1</hwtype>
		<operationtype>decrypt</operationtype>
		<keylabel>ecckey2</keylabel>
		<open>ECC</open>
		<keystorelabel>Hardware plugin implementation</keystorelabel>
	<text>sample text</text>
	</actionbody>



[SEC-FILETOKENS-THWKEYSTORE-1-011]
	<actionbody>
		<foundkey>ecckey3</foundkey>
		<listingstatus>fail</listingstatus>
	</actionbody>



[SEC-FILETOKENS-THWKEYSTORE-1-012]
	<actionbody>
		<keyusage>allusagesbutNR</keyusage>
		<keysize>512</keysize>
		<keylabel>banana</keylabel>
		<keyalgorithm>RSA</keyalgorithm>
		<keyaccesstype>Extractable</keyaccesstype>
		<keystore>0</keystore>
		<usekeystore>Hardware plugin implementation</usekeystore>
	</actionbody>
	<actionresult>
		<return>KErrNotSupported</return>
	</actionresult>



[SEC-FILETOKENS-THWKEYSTORE-1-013]
	<actionbody>
		<keylabel>ecckey</keylabel>
	</actionbody>
	<actionresult>
		<return>KErrNotSupported</return>
	</actionresult>



[SEC-FILETOKENS-THWKEYSTORE-1-014]
	<actionbody>
		<keylabel>ecckey</keylabel>
		<open>RSA</open>
	</actionbody>
	<actionresult>
		<return>KErrNotSupported</return>
	</actionresult>



[SEC-FILETOKENS-THWKEYSTORE-1-015]
	<actionbody>
		<keylabel>ecckey</keylabel>
		<open>DSA</open>
	</actionbody>
	<actionresult>
		<return>KErrNotSupported</return>
	</actionresult>



[SEC-FILETOKENS-THWKEYSTORE-1-016]
	<actionbody>
		<keylabel>ecckey</keylabel>
		<open>Decrypt</open>
	</actionbody>
	<actionresult>
		<return>KErrNotSupported</return>
	</actionresult>



[SEC-FILETOKENS-THWKEYSTORE-1-017]
	<actionbody>
		<ImportData>pkcs8rsa.001</ImportData>
		<keyusage>allusagesbutNR</keyusage>
		<keylabel>ImportHardwareKey</keylabel>
		<keyaccesstype>NeverExtractable</keyaccesstype>
		<usekeystore>Hardware plugin implementation</usekeystore>
	</actionbody>
	<actionresult>
		<return>KErrNotSupported</return>
	</actionresult>



[SEC-FILETOKENS-THWKEYSTORE-1-018]
	<actionbody>
		<ImportData>encryptPK8rsaDER.txt</ImportData>
		<keyusage>allusagesbutNR</keyusage>
		<keylabel>ImportEncryptedHardwareKey</keylabel>
		<keyaccesstype>NeverExtractable</keyaccesstype>
		<usekeystore>Hardware plugin implementation</usekeystore>
	</actionbody>
	<actionresult>
		<return>KErrNotSupported</return>
	</actionresult>



[SEC-FILETOKENS-THWKEYSTORE-1-019]
	<actionbody>
		<ExportFile>export_hardware_key</ExportFile>
		<keyusage>Derive</keyusage>
		<keylabel>ecckey</keylabel>
		<keyalgorithm>ECC</keyalgorithm>
		<encrypted>0</encrypted>
	</actionbody>
	<actionresult>
		<return>KErrNotSupported</return>
	</actionresult>


[SEC-FILETOKENS-THWKEYSTORE-1-020]
	<actionbody>
		<ExportFile>export_encrypted_hardware_key</ExportFile>
		<keyusage>Derive</keyusage>
		<keylabel>ecckey</keylabel>
		<keyalgorithm>ECC</keyalgorithm>
		<encrypted>1</encrypted>
	</actionbody>
	<actionresult>
		<return>KErrNotSupported</return>
	</actionresult>


[SEC-FILETOKENS-THWKEYSTORE-1-021]
	<actionbody>
		<keylabel>ecckey</keylabel>
		<policy>
			<secureid>0x101FFFFF</secureid>
			<capability>DRM</capability>
			<capability>ReadUserData</capability>
		</policy>
	</actionbody>
	<actionresult>
		<return>KErrNotSupported</return>
	</actionresult>


[SEC-FILETOKENS-THWKEYSTORE-1-022]
	<actionbody>
		<keylabel>ecckey</keylabel>
		<policy>
			<secureid>0x101FFFFF</secureid>
			<capability>DRM</capability>
			<capability>ReadUserData</capability>
		</policy>
	</actionbody>
	<actionresult>
		<return>KErrNotSupported</return>
	</actionresult>


[SEC-FILETOKENS-THWKEYSTORE-1-023]
	<actionbody>
		<keyalgorithm>ECC</keyalgorithm>
		<keylabel>ecckey</keylabel>
	</actionbody>
	<actionresult>
		<return>KErrNotSupported</return>
	</actionresult>



[SEC-FILETOKENS-THWKEYSTORE-1-025]
	<actionbody>
          <seconds>5</seconds>
        </actionbody>