os/security/cryptoservices/certificateandkeymgmt/tcertstore/scripts/dsa.txt
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 <action>
     2 	<actionname>Opening a certificate store manager</actionname>
     3 	<actiontype>init</actiontype>
     4 	<actionbody>
     5 		<mode>write</mode>
     6 	</actionbody>
     7 	<actionresult>
     8 		<return>KErrNone</return>
     9 	</actionresult>
    10 </action>
    11 
    12 <action>
    13 	<actionname>No Test, Deleting all certs ***NEW***</actionname>
    14 	<actiontype>deletecert</actiontype>
    15 	<actionbody>
    16 		<label>*.*</label>
    17 		<deleteallcerts>1</deleteallcerts>
    18 	</actionbody>
    19 	<actionresult>
    20 		<return>KErrNone</return>
    21 	</actionresult>
    22 </action>
    23 
    24 <action>
    25 	<actionname>Add the certificate DSA</actionname>
    26 	<actiontype>addcert</actiontype>
    27 	<actionbody>
    28 		<format>X509</format>
    29 		<label>DSA</label>
    30 		<issuerkey></issuerkey>
    31 		<subjectkey></subjectkey>
    32 		<certstore>0</certstore>
    33 		<certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
    34 		<certowner>ca</certowner>
    35 	</actionbody>
    36 	<actionresult>
    37 		<return>KErrNone</return>
    38 	</actionresult>
    39 </action>
    40 
    41 <action>
    42 	<actionname>Get the list of certificates</actionname>
    43 	<actiontype>listcert</actiontype>
    44 	<actionbody>
    45 		<filter>
    46 		<ownertype>ca</ownertype>
    47 		</filter>
    48 	</actionbody>
    49 	<actionresult>
    50 		<return>KErrNone</return>
    51 		<CCTCertInfo><label>DSA</label></CCTCertInfo>
    52 		</actionresult>
    53 </action>
    54 
    55 <action>
    56 	<actionname>Deleting the certificate CAX1</actionname>
    57 	<actiontype>deletecert</actiontype>
    58 	<actionbody>
    59 		<certtype>ca</certtype>
    60 		<label>DSA</label>
    61 	</actionbody>
    62 	<actionresult>
    63 		<return>KErrNone</return>
    64 	</actionresult>
    65 </action>
    66 
    67 
    68 <action>
    69 <actionname>1.1.0.6 Import a DSA key</actionname>
    70 	<actiontype>importkey</actiontype>
    71 	<actionbody>
    72 		<ImportData>pkcs8dsa1.001</ImportData>
    73 		<keyusage>DSAUsage</keyusage>
    74 		<keysize>512</keysize>
    75 		<keylabel>*IMPORTED* DSA key</keylabel>
    76 		<keyalgorithm>DSA</keyalgorithm>
    77 		<keyaccesstype>Extractable</keyaccesstype>
    78 		<passphrase>pinkcloud</passphrase>
    79 	</actionbody>
    80 	<actionresult>
    81 		<return>KErrNone</return>
    82 	</actionresult>
    83 </action>
    84 
    85 <action>
    86 	<actionname>Add the certificate DSA</actionname>
    87 	<actiontype>addcert</actiontype>
    88 	<actionbody>
    89 		<format>X509</format>
    90 		<label>userDSA</label>
    91 		<issuerkey></issuerkey>
    92 		<certstore>0</certstore>
    93 		<certfile>c:\tcertstore\data\cert_dsa1.der</certfile>
    94 		<certowner>user</certowner>
    95 	</actionbody>
    96 	<actionresult>
    97 		<return>KErrNone</return>
    98 	</actionresult>
    99 </action>
   100 
   101 
   102 <action>
   103 	<actionname>Deleting the certificate store manager</actionname>
   104 	<actiontype>delete</actiontype>
   105 	<actionbody></actionbody>
   106 	<actionresult>
   107 		<return>KErrNone</return>
   108 	</actionresult>
   109 </action>