cryptoservices/certificateandkeymgmt/tcertstore/scripts/unifiedcertstore2-conf2a.txt
changeset 0 2c201484c85f
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 //5.1 Test cases for single file-based writable certificate store
       
     2 
       
     3 //5.1.1 Successfull addition, listing and retrieval of certificates (X.509)
       
     4 <action>
       
     5 	<actionname>No Test,Opening a CertificateAppInfoManager</actionname>
       
     6 	<actiontype>initappmanager</actiontype>
       
     7 	<actionbody></actionbody>
       
     8 	<actionresult>
       
     9 		<return>KErrNone</return>
       
    10 	</actionresult>
       
    11 </action>
       
    12 
       
    13 <action>
       
    14 	<actionname>No Test,Adding client A1</actionname>
       
    15 	<actiontype>addclient</actiontype>
       
    16 	<actionbody>
       
    17 		<name>A1</name>
       
    18 		<uid>1</uid>
       
    19 	</actionbody>
       
    20 	<actionresult>
       
    21 		<return>KErrNone</return>
       
    22 	</actionresult>
       
    23 </action>
       
    24 
       
    25 <action>
       
    26 	<actionname>No Test,Adding client A2</actionname>
       
    27 	<actiontype>addclient</actiontype>
       
    28 	<actionbody>
       
    29 		<name>A2</name>
       
    30 		<uid>2</uid>
       
    31 	</actionbody>
       
    32 	<actionresult>
       
    33 		<return>KErrNone</return>
       
    34 	</actionresult>
       
    35 </action>
       
    36 
       
    37 <action>
       
    38 	<actionname>No Test,Adding client A3</actionname>
       
    39 	<actiontype>addclient</actiontype>
       
    40 	<actionbody>
       
    41 		<name>A3</name>
       
    42 		<uid>3</uid>
       
    43 	</actionbody>
       
    44 	<actionresult>
       
    45 		<return>KErrNone</return>
       
    46 	</actionresult>
       
    47 </action>
       
    48 
       
    49 <action>
       
    50 	<actionname>No Test,Adding client A4</actionname>
       
    51 	<actiontype>addclient</actiontype>
       
    52 	<actionbody>
       
    53 		<name>A4</name>
       
    54 		<uid>4</uid>
       
    55 	</actionbody>
       
    56 	<actionresult>
       
    57 		<return>KErrNone</return>
       
    58 	</actionresult>
       
    59 </action>
       
    60 
       
    61 <action>
       
    62 	<actionname>No Test,Deleting the CertificateAppInfoManager</actionname>
       
    63 	<actiontype>deleteappmanager</actiontype>
       
    64 	<actionbody></actionbody>
       
    65 	<actionresult>
       
    66 		<return>KErrNone</return>
       
    67 	</actionresult>
       
    68 </action>
       
    69 
       
    70 <action>
       
    71 	<actionname>5.1.1.1,Opening a certificate store manager</actionname>
       
    72 	<actiontype>init</actiontype>
       
    73 	<actionbody>
       
    74 		<mode>write</mode>
       
    75 	</actionbody>
       
    76 	<actionresult>
       
    77 		<return>KErrNone</return>
       
    78 	</actionresult>
       
    79 </action>
       
    80 
       
    81 <action>
       
    82 	<actionname>5.1.1.2,Add the certificate CAX1</actionname>
       
    83 	<actiontype>addcert</actiontype>
       
    84 	<actionbody>
       
    85 		<format>X509</format>
       
    86 		<label>CAX1</label>
       
    87 		<issuerkey></issuerkey>
       
    88 		<subjectkey></subjectkey>
       
    89 		<certstore>0</certstore>
       
    90 		<certfile>c:\unifiedcertstore2\CAX1.cer</certfile>
       
    91 		<certowner>ca</certowner>
       
    92 	</actionbody>
       
    93 	<actionresult>
       
    94 		<return>KErrNone</return>
       
    95 	</actionresult>
       
    96 </action>
       
    97 
       
    98 <action>
       
    99 	<actionname>5.1.1.3,Add the certificate CAX2</actionname>
       
   100 	<actiontype>addcert</actiontype>
       
   101 	<actionbody>
       
   102 		<format>X509</format>
       
   103 		<label>CAX2</label>
       
   104 		<issuerkey></issuerkey>
       
   105 		<subjectkey></subjectkey>
       
   106 		<certstore>1</certstore>
       
   107 		<certfile>c:\unifiedcertstore2\CAX2.cer</certfile>
       
   108 		<certowner>ca</certowner>
       
   109 	</actionbody>
       
   110 	<actionresult>
       
   111 		<return>KErrNone</return>
       
   112 	</actionresult>
       
   113 </action>
       
   114 
       
   115 <action>
       
   116 	<actionname>5.1.1.4,Add the certificate CAX3</actionname>
       
   117 	<actiontype>addcert</actiontype>
       
   118 	<actionbody>
       
   119 		<format>X509</format>
       
   120 		<label>CAX3</label>
       
   121 		<issuerkey></issuerkey>
       
   122 		<subjectkey></subjectkey>
       
   123 		<certstore>0</certstore>
       
   124 		<certfile>c:\unifiedcertstore2\CAX3.cer</certfile>
       
   125 		<certowner>ca</certowner>
       
   126 	</actionbody>
       
   127 	<actionresult>
       
   128 		<return>KErrNone</return>
       
   129 	</actionresult>
       
   130 </action>
       
   131 
       
   132 <action>
       
   133 	<actionname>5.1.1.5,Get the list of certificates</actionname>
       
   134 	<actiontype>listcert</actiontype>
       
   135 	<actionbody>
       
   136 		<filter>
       
   137 			<ownertype>ca</ownertype>
       
   138 		</filter>
       
   139 	</actionbody>
       
   140 	<actionresult>
       
   141 		<return>KErrNone</return>
       
   142 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   143 		<CCTCertInfo><label>CAX3</label></CCTCertInfo>
       
   144 		<CCTCertInfo><label>CAX2</label></CCTCertInfo>
       
   145 	</actionresult>
       
   146 </action>
       
   147 
       
   148 <action>
       
   149 	<actionname>5.1.1.5.1,Retrieve CAX1 cert</actionname>
       
   150 	<actiontype>retrieve</actiontype>
       
   151 	<actionbody>
       
   152 		<label>CAX1</label>
       
   153 	</actionbody>
       
   154 	<actionresult>
       
   155 		<return>KErrNone</return>
       
   156 	</actionresult>
       
   157 </action>
       
   158 
       
   159 <action>
       
   160 	<actionname>5.1.1.6,Get the list of certificates, searching by Issuer DN</actionname>
       
   161 	<actiontype>listcert</actiontype>
       
   162 	<actionbody>
       
   163 		<filter>
       
   164 			<ownertype>ca</ownertype>
       
   165 		</filter>
       
   166 		<issuerdn>c:\unifiedcertstore2\CAX1.cer</issuerdn>
       
   167 	</actionbody>
       
   168 	<actionresult>
       
   169 		<return>KErrNone</return>
       
   170 		<CCTCertInfo><label>CAX1</label></CCTCertInfo>
       
   171 	</actionresult>
       
   172 </action>
       
   173 
       
   174 <action>
       
   175 	<actionname>No Test,Deleting the certificate CAX1</actionname>
       
   176 	<actiontype>deletecert</actiontype>
       
   177 	<actionbody>
       
   178 		<certtype>ca</certtype>
       
   179 		<label>CAX1</label>
       
   180 	</actionbody>
       
   181 	<actionresult>
       
   182 		<return>KErrNone</return>
       
   183 	</actionresult>
       
   184 </action>
       
   185 
       
   186 <action>
       
   187 	<actionname>No Test,Deleting the certificate CAX2</actionname>
       
   188 	<actiontype>deletecert</actiontype>
       
   189 	<actionbody>
       
   190 		<certtype>ca</certtype>
       
   191 		<label>CAX2</label>
       
   192 	</actionbody>
       
   193 	<actionresult>
       
   194 		<return>KErrNone</return>
       
   195 	</actionresult>
       
   196 </action>
       
   197 
       
   198 <action>
       
   199 	<actionname>No Test,Deleting the certificate CAX3</actionname>
       
   200 	<actiontype>deletecert</actiontype>
       
   201 	<actionbody>
       
   202 		<certtype>ca</certtype>
       
   203 		<label>CAX3</label>
       
   204 	</actionbody>
       
   205 	<actionresult>
       
   206 		<return>KErrNone</return>
       
   207 	</actionresult>
       
   208 </action>
       
   209 
       
   210 <action>
       
   211 	<actionname>5.1.1.9,Deleting the certificate store manager</actionname>
       
   212 	<actiontype>delete</actiontype>
       
   213 	<actionbody></actionbody>
       
   214 	<actionresult>
       
   215 		<return>KErrNone</return>
       
   216 	</actionresult>
       
   217 </action>