cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/cancel_useauth.ini
changeset 8 35751d3474b7
child 15 da2ae96f639b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/filebasedcertificateandkeystores/test/tkeystore/scripts/cancel_useauth.ini	Thu Sep 10 14:01:51 2009 +0300
@@ -0,0 +1,633 @@
+[SEC-CANCEL_USEAUTH-0002-001]
+<actionbody>
+	<mode>manager</mode>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0002-003]
+<actionbody>
+	<keyusage>allusagesbutNR</keyusage>
+	<keysize>512</keysize>
+	<keylabel>banana</keylabel>
+	<keyalgorithm>RSA</keyalgorithm>
+	<keyexportable>IsExportable</keyexportable>
+	<keyaccesstype>Extractable</keyaccesstype>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0003-001]
+<actionbody>
+	<listcount>1</listcount>
+	<foundkey>banana</foundkey>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0003-002]
+<actionbody>
+	<keyusage>allusagesbutNR</keyusage>
+	<keysize>512</keysize>
+	<keylabel>banana</keylabel>
+	<keyalgorithm>RSA</keyalgorithm>
+	<keyaccesstype>Extractable</keyaccesstype>
+	<keyaccesstype>Local</keyaccesstype>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0003-003]
+<actionbody>
+	<keylabel>banana</keylabel>
+	<open>RSA</open>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0003-004]
+<actionbody>
+	<keylabel>banana</keylabel>
+	<open>Decrypt</open>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0003-005]
+<actionbody>
+	<keylabel>banana</keylabel>
+	<open>RSA</open>
+	<text>This is text of 20 .</text>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0003-006]
+<actionbody>
+	<keylabel>banana</keylabel>
+	<open>RSA</open>
+	<signdigest>1</signdigest>
+	<text>digested!</text>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0003-007]
+<actionbody>
+	<keylabel>banana</keylabel>
+	<text>Ook!</text>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0004-001]
+<actionbody>
+	<keyalgorithm>RSA</keyalgorithm>
+	<deletecount>1</deletecount>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-001]
+<actionbody>
+	<listcount>0</listcount>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-002]
+<actionbody>
+	<keyusage>allusagesbutNR</keyusage>
+	<keysize>1024</keysize>
+	<keylabel>bigbanana</keylabel>
+	<keyalgorithm>RSA</keyalgorithm>
+	<keyexportable>IsExportable</keyexportable>
+	<keyaccesstype>Extractable</keyaccesstype>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-003]
+<actionbody>
+	<keyusage>allusagesbutNR</keyusage>
+	<keysize>1024</keysize>
+	<keylabel>
+To be, or not to be: that is the question:
+Whether 'tis nobler in the mind to suffer
+The slings and arrows of outrageous fortune,
+Or to take arms against a sea of troubles,
+And by opposing end them? To die: to sleep;
+No more; and by a sleep to say we end
+The heart-ache and the thousand natural shocks
+That flesh is heir to, 'tis a consummation
+Devoutly to be wish'd. To die, to sleep;
+To sleep: perchance to dream: ay, there's the rub;
+For in that sleep of death what dreams may come
+When we have shuffled off this mortal coil,
+Must give us pause: there's the respect
+That makes calamity of so long life;
+For who would bear the whips and scorns of time,
+The oppressor's wrong, the proud man's contumely,
+The pangs of despised love, the law's delay,
+The insolence of office and the spurns
+That patient merit of the unworthy takes,
+When he himself might his quietus make
+With a bare bodkin? Who would fardels bear,
+To grunt and sweat under a weary life,
+But that the dread of something after death,
+The undiscover'd country from whose bourn
+No traveller returns, puzzles the will
+And makes us rather bear those ills we have
+Than fly to others that we know not of?
+Thus conscience does make cowards of us all;
+And thus the native hue of resolution
+Is sicklied o'er with the pale cast of thought,
+And enterprises of great pith and moment
+With this regard their currents turn awry,
+And lose the name of action.--Soft you now!
+The fair Ophelia! Nymph, in thy orisons
+Be all my sins remember'd. 
+	</keylabel>
+	<keyalgorithm>RSA</keyalgorithm>
+	<keyaccesstype>Extractable</keyaccesstype>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-004]
+<actionbody>
+	<keyusage>allusagesbutNR</keyusage>
+	<keysize>1024</keysize>
+	<keylabel>
+To be, or not to be: that is the question:
+Whether 'tis nobler in the mind to suffer
+The slings and arrows of outrageous fortune,
+Or to take arms against a sea of troubles,
+And by opposing end them? To die: to sleep;
+No more; and by a sleep to say we end
+The heart-ache and the thousand natural shocks
+That flesh is heir to, 'tis a consummation
+Devoutly to be wish'd. To die, to sleep;
+To sleep: perchance to dream: ay, there's the rub;
+For in that sleep of death what dreams may come
+When we have shuffled off this mortal coil,
+Must give us pause: there's the respect
+That makes calamity of so long life;
+For who would bear the whips and scorns of time,
+The oppressor's wrong, the proud man's contumely,
+The pangs of despised love, the law's delay,
+The insolence of office and the spurns
+That patient merit of the unworthy takes,
+When he himself might his quietus make
+With a bare bodkin? Who would fardels bear,
+To grunt and sweat under a weary life,
+But that the dread of something after death,
+The undiscover'd country from whose bourn
+No traveller returns, puzzles the will
+And makes us rather bear those ills we have
+Than fly to others that we know not of?
+Thus conscience does make cowards of us all;
+And thus the native hue of resolution
+Is sicklied o'er with the pale cast of thought,
+And enterprises of great pith and moment
+With this regard their currents turn awry,
+And lose the name of action.--Soft you now!
+The fair Ophelia! Nymph, in thy orisons
+Be all my sins remember'd. 
+	</keylabel>
+	<keyalgorithm>RSA</keyalgorithm>
+	<keyaccesstype>Extractable</keyaccesstype>
+	<keyaccesstype>Local</keyaccesstype>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-005]
+<actionbody>
+	<keylabel>
+To be, or not to be: that is the question:
+Whether 'tis nobler in the mind to suffer
+The slings and arrows of outrageous fortune,
+Or to take arms against a sea of troubles,
+And by opposing end them? To die: to sleep;
+No more; and by a sleep to say we end
+The heart-ache and the thousand natural shocks
+That flesh is heir to, 'tis a consummation
+Devoutly to be wish'd. To die, to sleep;
+To sleep: perchance to dream: ay, there's the rub;
+For in that sleep of death what dreams may come
+When we have shuffled off this mortal coil,
+Must give us pause: there's the respect
+That makes calamity of so long life;
+For who would bear the whips and scorns of time,
+The oppressor's wrong, the proud man's contumely,
+The pangs of despised love, the law's delay,
+The insolence of office and the spurns
+That patient merit of the unworthy takes,
+When he himself might his quietus make
+With a bare bodkin? Who would fardels bear,
+To grunt and sweat under a weary life,
+But that the dread of something after death,
+The undiscover'd country from whose bourn
+No traveller returns, puzzles the will
+And makes us rather bear those ills we have
+Than fly to others that we know not of?
+Thus conscience does make cowards of us all;
+And thus the native hue of resolution
+Is sicklied o'er with the pale cast of thought,
+And enterprises of great pith and moment
+With this regard their currents turn awry,
+And lose the name of action.--Soft you now!
+The fair Ophelia! Nymph, in thy orisons
+Be all my sins remember'd. 
+	</keylabel>
+	<open>RSA</open>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-006]
+<actionbody>
+	<keyusage>DSAUsage</keyusage>
+	<keysize>512</keysize>
+	<keylabel>carrot</keylabel>
+	<keyalgorithm>DSA</keyalgorithm>
+	<keyaccesstype>Extractable</keyaccesstype>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-007]
+<actionbody>
+	<keylabel>carrot</keylabel>
+	<open>DSA</open>
+	<text>This is text of 20 .</text>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-008]
+<actionbody>
+	<keyusage>Derive</keyusage>
+	<keysize>512</keysize>
+	<keylabel>mango</keylabel>
+	<keyalgorithm>DH</keyalgorithm>
+	<keyaccesstype>Extractable</keyaccesstype>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-009]
+<actionbody>
+	<keylabel>mango</keylabel>
+	<open>DH</open>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-010]
+<actionbody>
+	<keylabel>mango</keylabel>
+	<n>DA9A18547FF03B385CC16508C173A7EF4EB61CB40EF8FEF3B31F145051676166BCDC3FE6B799FC394D08C26385F9413F896E09117E46209D6923602683CEA100924A6EE695281775C619DAA94EA8CB3691B4275B0183F1D39639EBC92995FE645D6C1BC28D409E585549BBD2C5DCDD6C208B04EADD8B7A6D997F72CBAD88390F</n>
+	<g>02</g>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-011]
+<actionbody>
+	<keyusage>Sign</keyusage>
+	<keysize>512</keysize>
+	<keylabel>jackfruit</keylabel>
+	<keyalgorithm>DH</keyalgorithm>
+	<keyaccesstype>Extractable</keyaccesstype>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-012]
+<actionbody>
+	<keyusage>Derive</keyusage>
+	<keysize>512</keysize>
+	<keylabel>custard apple</keylabel>
+	<keyalgorithm>DSA</keyalgorithm>
+	<keyaccesstype>Extractable</keyaccesstype>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-013]
+<actionbody>
+	<keyusage>Sign</keyusage>
+	<keyusage>NR</keyusage>
+	<keyusage>Derive</keyusage>
+	<keysize>512</keysize>
+	<keylabel>grape</keylabel>
+	<keyalgorithm>DSA</keyalgorithm>
+	<keyaccesstype>Extractable</keyaccesstype>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-014]
+<actionbody>
+	<listcount>7</listcount>
+   		<foundkey>bigbanana</foundkey>
+	<foundkey>carrot</foundkey>
+	<foundkey>mango</foundkey>
+	<foundkey>
+To be, or not to be: that is the question:
+Whether 'tis nobler in the mind to suffer
+The slings and arrows of outrageous fortune,
+Or to take arms against a sea of troubles,
+And by opposing end them? To die: to sleep;
+No more; and by a sleep to say we end
+The heart-ache and the thousand natural shocks
+That flesh is heir to, 'tis a consummation
+Devoutly to be wish'd. To die, to sleep;
+To sleep: perchance to dream: ay, there's the rub;
+For in that sleep of death what dreams may come
+When we have shuffled off this mortal coil,
+Must give us pause: there's the respect
+That makes calamity of so long life;
+For who would bear the whips and scorns of time,
+The oppressor's wrong, the proud man's contumely,
+The pangs of despised love, the law's delay,
+The insolence of office and the spurns
+That patient merit of the unworthy takes,
+When he himself might his quietus make
+With a bare bodkin? Who would fardels bear,
+To grunt and sweat under a weary life,
+But that the dread of something after death,
+The undiscover'd country from whose bourn
+No traveller returns, puzzles the will
+And makes us rather bear those ills we have
+Than fly to others that we know not of?
+Thus conscience does make cowards of us all;
+And thus the native hue of resolution
+Is sicklied o'er with the pale cast of thought,
+And enterprises of great pith and moment
+With this regard their currents turn awry,
+And lose the name of action.--Soft you now!
+The fair Ophelia! Nymph, in thy orisons
+Be all my sins remember'd. 
+	</foundkey>	
+   		<foundkey>jackfruit</foundkey>
+   		<foundkey>custard apple</foundkey>
+   		<foundkey>grape</foundkey>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-015]
+<actionbody>
+	<keyalgorithm>DSA</keyalgorithm>
+   		<listcount>3</listcount>
+   		<foundkey>carrot</foundkey>
+   		<foundkey>custard apple</foundkey>
+   		<foundkey>grape</foundkey>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-016]
+<actionbody>
+	<keyusage>DSAUsage</keyusage>
+   		<listcount>5</listcount>
+   		<foundkey>bigbanana</foundkey>
+   		<foundkey>carrot</foundkey>
+	<foundkey>
+To be, or not to be: that is the question:
+Whether 'tis nobler in the mind to suffer
+The slings and arrows of outrageous fortune,
+Or to take arms against a sea of troubles,
+And by opposing end them? To die: to sleep;
+No more; and by a sleep to say we end
+The heart-ache and the thousand natural shocks
+That flesh is heir to, 'tis a consummation
+Devoutly to be wish'd. To die, to sleep;
+To sleep: perchance to dream: ay, there's the rub;
+For in that sleep of death what dreams may come
+When we have shuffled off this mortal coil,
+Must give us pause: there's the respect
+That makes calamity of so long life;
+For who would bear the whips and scorns of time,
+The oppressor's wrong, the proud man's contumely,
+The pangs of despised love, the law's delay,
+The insolence of office and the spurns
+That patient merit of the unworthy takes,
+When he himself might his quietus make
+With a bare bodkin? Who would fardels bear,
+To grunt and sweat under a weary life,
+But that the dread of something after death,
+The undiscover'd country from whose bourn
+No traveller returns, puzzles the will
+And makes us rather bear those ills we have
+Than fly to others that we know not of?
+Thus conscience does make cowards of us all;
+And thus the native hue of resolution
+Is sicklied o'er with the pale cast of thought,
+And enterprises of great pith and moment
+With this regard their currents turn awry,
+And lose the name of action.--Soft you now!
+The fair Ophelia! Nymph, in thy orisons
+Be all my sins remember'd. 
+	</foundkey>
+   		<foundkey>jackfruit</foundkey>
+   		<foundkey>grape</foundkey>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-017]
+<actionbody>
+	<keyusage>allusagesbutNR</keyusage>
+	<listcount>5</listcount>
+   		<foundkey>jackfruit</foundkey>
+	<foundkey>carrot</foundkey>
+	<foundkey>
+To be, or not to be: that is the question:
+Whether 'tis nobler in the mind to suffer
+The slings and arrows of outrageous fortune,
+Or to take arms against a sea of troubles,
+And by opposing end them? To die: to sleep;
+No more; and by a sleep to say we end
+The heart-ache and the thousand natural shocks
+That flesh is heir to, 'tis a consummation
+Devoutly to be wish'd. To die, to sleep;
+To sleep: perchance to dream: ay, there's the rub;
+For in that sleep of death what dreams may come
+When we have shuffled off this mortal coil,
+Must give us pause: there's the respect
+That makes calamity of so long life;
+For who would bear the whips and scorns of time,
+The oppressor's wrong, the proud man's contumely,
+The pangs of despised love, the law's delay,
+The insolence of office and the spurns
+That patient merit of the unworthy takes,
+When he himself might his quietus make
+With a bare bodkin? Who would fardels bear,
+To grunt and sweat under a weary life,
+But that the dread of something after death,
+The undiscover'd country from whose bourn
+No traveller returns, puzzles the will
+And makes us rather bear those ills we have
+Than fly to others that we know not of?
+Thus conscience does make cowards of us all;
+And thus the native hue of resolution
+Is sicklied o'er with the pale cast of thought,
+And enterprises of great pith and moment
+With this regard their currents turn awry,
+And lose the name of action.--Soft you now!
+The fair Ophelia! Nymph, in thy orisons
+Be all my sins remember'd. 
+	</foundkey>	
+   		<foundkey>jackfruit</foundkey>
+   		<foundkey>grape</foundkey>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-018]
+<actionbody>
+	<keyalgorithm>RSA</keyalgorithm>
+	<deletecount>2</deletecount>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-019]
+<actionbody>
+	<keyalgorithm>RSA</keyalgorithm>
+	<listcount>0</listcount>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-020]
+<actionbody>
+	<listcount>5</listcount>
+	<foundkey>carrot</foundkey>
+	<foundkey>mango</foundkey>
+   		<foundkey>jackfruit</foundkey>
+   		<foundkey>custard apple</foundkey>
+   		<foundkey>grape</foundkey>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-021]
+<actionbody>
+	<keyusage>allusagesbutNR</keyusage>
+	<keysize>512</keysize>
+	<keylabel>banana</keylabel>
+	<keyalgorithm>RSA</keyalgorithm>
+	<keyaccesstype>Extractable</keyaccesstype>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-022]
+<actionbody>
+	<keyalgorithm>RSA</keyalgorithm>
+	<listcount>1</listcount>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-023]
+<actionbody>
+	<listcount>6</listcount>
+	<foundkey>carrot</foundkey>
+	<foundkey>mango</foundkey>
+	<foundkey>banana</foundkey>
+   		<foundkey>jackfruit</foundkey>
+   		<foundkey>custard apple</foundkey>
+   		<foundkey>grape</foundkey>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-024]
+<actionbody>
+	<keyalgorithm>RSA</keyalgorithm>
+	<deletecount>1</deletecount>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-025]
+<actionbody>
+	<deletecount>5</deletecount>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0005-026]
+<actionbody>
+	<listcount>0</listcount>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0006-001]
+<actionbody>
+	<ImportData>encryptPK8dsa4DER.txt</ImportData>
+	<keyusage>DSAUsage</keyusage>
+	<keylabel>*IMPORTED* encrypted purple plum</keylabel>
+	<keyaccesstype>Extractable</keyaccesstype>
+	<encrypted>1</encrypted>
+	<passphrase>import clanger</passphrase>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0006-002]
+<actionbody>
+	<keyalgorithm>DSA</keyalgorithm>
+	<listcount>1</listcount>
+	<foundkey>*IMPORTED* encrypted purple plum</foundkey>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0006-003]
+<actionbody>
+	<deletecount>1</deletecount>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0007-001]
+<actionbody>
+	<ImportData>pkcs8rsa.001</ImportData>
+	<keyusage>allusagesbutNR</keyusage>
+	<keylabel>gm0RSA</keylabel>
+	<keyaccesstype>Extractable</keyaccesstype>
+	<encrypted>0</encrypted>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0007-002]
+<actionbody>
+	<ExportFile>oom_export_pkcs8rsa_0.001</ExportFile>
+	<keyusage>allusagesbutNR</keyusage>
+	<keylabel>gm0RSA</keylabel>
+	<keyalgorithm>RSA</keyalgorithm>
+	<encrypted>0</encrypted>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0007-003]
+<actionbody>
+	<ImportData>pkcs8dsa.001</ImportData>
+	<keyusage>DSAUsage</keyusage>
+	<keylabel>gm0DSA</keylabel>
+	<keyaccesstype>Extractable</keyaccesstype>
+	<encrypted>0</encrypted>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0007-004]
+<actionbody>
+	<ExportFile>oom_export_pkcs8dsa_0.001</ExportFile>
+	<keyusage>DSAUsage</keyusage>
+	<keylabel>gm0DSA</keylabel>
+	<keyalgorithm>DSA</keyalgorithm>
+	<encrypted>0</encrypted>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0007-005]
+<actionbody>
+	<ExportFile>oom_encrypted_export_pkcs8rsa.001</ExportFile>
+	<keyusage>allusagesbutNR</keyusage>
+	<keylabel>gm0RSA</keylabel>
+	<keyalgorithm>RSA</keyalgorithm>
+	<encrypted>1</encrypted>
+
+	<passphrase>export clanger</passphrase>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0007-006]
+<actionbody>
+	<ExportFile>oom_encrypted_export_pkcs8dsa.001</ExportFile>
+	<keyusage>DSAUsage</keyusage>
+	<keylabel>gm0DSA</keylabel>
+	<keyalgorithm>DSA</keyalgorithm>
+	<encrypted>1</encrypted>
+
+	<passphrase>export clanger</passphrase>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0008-001]
+<actionbody>
+	<keyusage>allusagesbutNR</keyusage>
+	<keysize>512</keysize>
+	<keylabel>banana</keylabel>
+	<keyalgorithm>RSA</keyalgorithm>
+	<keyaccesstype>Extractable</keyaccesstype>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0008-002]
+<actionbody>
+	<keylabel>banana</keylabel>
+	<foundkey>banana</foundkey>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0008-003]
+<actionbody>
+	<keylabel>banana</keylabel>
+	<timeout>15</timeout>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0008-004]
+<actionbody>
+	<keylabel>banana</keylabel>
+	<timeout>15</timeout>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0008-005]
+<actionbody>
+	<keylabel>banana</keylabel>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0008-006]
+<actionbody>
+	<keylabel>banana</keylabel>
+	<timeout>15</timeout>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0008-007]
+<actionbody>
+	<keylabel>banana</keylabel>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0008-008]
+<actionbody>
+	<deletecount>1</deletecount>
+</actionbody>
+
+[SEC-CANCEL_USEAUTH-0009-003]
+<actionbody>
+	<seconds>5</seconds>
+</actionbody>
+