networksecurity/tls/group/SslErr.ra
changeset 0 af10295192d8
child 37 052078dda061
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 RESOURCE ARRAY  r_error_res_ssl_handshake_errors
       
    17 	{
       
    18 	items=
       
    19 		{
       
    20 		SINGLE_ERROR
       
    21 			{
       
    22 			text=r_ssl_error_ssl_default;	//-7400	
       
    23 			},
       
    24 		SINGLE_ERROR
       
    25 			{
       
    26 			text=r_ssl_error_NoSharedCipher;			
       
    27 			},
       
    28 		SINGLE_ERROR
       
    29 			{
       
    30 			text=r_ssl_error_SocketBusy;
       
    31 			},
       
    32 		SINGLE_ERROR
       
    33 			{
       
    34 			text=r_ssl_error_InvalidCipherSuite;
       
    35 			},
       
    36 		SINGLE_ERROR
       
    37 			{
       
    38 			text=r_ssl_error_InvalidCert;				
       
    39 			}, 
       
    40 		SINGLE_ERROR
       
    41 			{
       
    42 			text=r_ssl_error_NoClientCert;
       
    43 			},
       
    44 		SINGLE_ERROR
       
    45 			{
       
    46 			text=r_ssl_error_UnsupportedKeySize;					
       
    47 			},
       
    48 		SINGLE_ERROR
       
    49 			{
       
    50 			text=r_ssl_error_UnsupportedKey;					
       
    51 			},
       
    52 		SINGLE_ERROR
       
    53 			{
       
    54 			text=r_ssl_error_BadRecordHeader;					
       
    55 			},
       
    56 		SINGLE_ERROR
       
    57 			{
       
    58 			text=r_ssl_error_BadProtocolVersion;				
       
    59 			},
       
    60 		SINGLE_ERROR
       
    61 			{
       
    62 			text=r_ssl_error_2ServerOnly;
       
    63 			},
       
    64 		SINGLE_ERROR
       
    65 			{
       
    66 			text= r_ssl_error_UnexpectedMessage;			
       
    67 			},
       
    68 		SINGLE_ERROR
       
    69 			{
       
    70 			text= r_ssl_error_UnsupportedCipher;				
       
    71 			},
       
    72 		SINGLE_ERROR
       
    73 			{
       
    74 			text= r_ssl_error_BadMAC;					
       
    75 			},
       
    76 		SINGLE_ERROR
       
    77 			{
       
    78 			text= r_ssl_error_RecivedAlert;
       
    79 			},
       
    80 		SINGLE_ERROR
       
    81 			{
       
    82 			text=r_ssl_error_RecvNotSupportedHS;  // -7415
       
    83 			},
       
    84 		SINGLE_ERROR
       
    85 			{
       
    86 			text=r_ssl_error_HSRecordFieldTooBig;
       
    87 			},
       
    88 		SINGLE_ERROR
       
    89 			{
       
    90 			text=r_ssl_error_RecordHeaderTooBig;
       
    91 			},
       
    92 		SINGLE_ERROR
       
    93 			{
       
    94 			text=r_ssl_error_SendDataToBig;
       
    95 			},
       
    96 		SINGLE_ERROR
       
    97 			{
       
    98 			text=r_ssl_error_NoCertificate;
       
    99 			},
       
   100 		SINGLE_ERROR
       
   101 			{
       
   102 			text=r_ssl_error_InvalidHash;
       
   103 			},
       
   104 		SINGLE_ERROR
       
   105 			{
       
   106 			text=r_ssl_error_SendCanceled;
       
   107 			},
       
   108 		SINGLE_ERROR
       
   109 			{
       
   110 			text=r_ssl_error_RecvCanceled;
       
   111 			},
       
   112 		SINGLE_ERROR
       
   113 			{
       
   114 			text=r_ssl_error_RecvCanceled;
       
   115 			},
       
   116 		SINGLE_ERROR
       
   117 			{
       
   118 			text=r_ssl_error_HandshakeCanceled;
       
   119 			},
       
   120 		SINGLE_ERROR
       
   121 			{
       
   122 			text=r_ssl_error_WriteFailed;
       
   123 			},
       
   124 		SINGLE_ERROR
       
   125 			{
       
   126 			text=r_ssl_error_DisconnectIndication;
       
   127 			},
       
   128 		SINGLE_ERROR
       
   129 			{
       
   130 			text=r_ssl_error_DllLeave;
       
   131 			}
       
   132 		};
       
   133 	}
       
   134 
       
   135 
       
   136 RESOURCE ARRAY  r_error_res_ssl_alert_errors
       
   137 	{
       
   138 	items=
       
   139 		{
       
   140 		SINGLE_ERROR
       
   141 			{
       
   142 			text=r_ssl_error_ssl_AlertCloseNotify;		//-7500
       
   143 			}
       
   144 		};
       
   145 	}
       
   146 
       
   147 RESOURCE ARRAY  r_error_res_ssl_alert_UnexpectedMessage
       
   148 	{
       
   149 	items=
       
   150 		{
       
   151 		SINGLE_ERROR
       
   152 			{
       
   153 			text=r_ssl_error_ssl_AlertUnexpectedMessage;		//-7510
       
   154 			}
       
   155 		};
       
   156 	}
       
   157 
       
   158 RESOURCE ARRAY  r_error_res_ssl_alert_mac
       
   159 	{
       
   160 	items=
       
   161 		{
       
   162 		SINGLE_ERROR
       
   163 			{
       
   164 			text=r_ssl_error_ssl_AlertBadReordMac;		//-7520
       
   165 			},
       
   166 		SINGLE_ERROR
       
   167 			{
       
   168 			text=r_ssl_error_ssl_AlertDecryptionFailed;
       
   169 			},
       
   170 		SINGLE_ERROR
       
   171 			{
       
   172 			text=r_ssl_error_ssl_AlertRecordOverflow;
       
   173 			}
       
   174 		};
       
   175 	}
       
   176 
       
   177 RESOURCE ARRAY  r_error_res_ssl_alert_DecompressionFailure
       
   178 	{
       
   179 	items=
       
   180 		{
       
   181 		SINGLE_ERROR
       
   182 			{
       
   183 			text=r_ssl_error_ssl_AlertDecompressionFailure;		//-7530
       
   184 			}
       
   185 		};
       
   186 	}
       
   187 
       
   188 RESOURCE ARRAY  r_error_res_ssl_alert_handshake
       
   189 	{
       
   190 	items=
       
   191 		{
       
   192 		SINGLE_ERROR
       
   193 			{
       
   194 			text=r_ssl_error_ssl_AlertHandshakeFailure;		//-7540
       
   195 			},
       
   196 		SINGLE_ERROR
       
   197 			{
       
   198 			text=r_ssl_error_ssl_AlertNoCertificate;
       
   199 			},
       
   200 		SINGLE_ERROR
       
   201 			{
       
   202 			text=r_ssl_error_ssl_AlertBadCertificate;
       
   203 			},
       
   204 		SINGLE_ERROR
       
   205 			{
       
   206 			text=r_ssl_error_ssl_AlertUnsupportedCertificate;
       
   207 			},
       
   208 		SINGLE_ERROR
       
   209 			{
       
   210 			text=r_ssl_error_ssl_AlertCertificateRevoked;
       
   211 			},
       
   212 		SINGLE_ERROR
       
   213 			{
       
   214 			text=r_ssl_error_ssl_AlertCertificateExpired;
       
   215 			},
       
   216 		SINGLE_ERROR
       
   217 			{
       
   218 			text=r_ssl_error_ssl_AlertCertificateUnknown;
       
   219 			},
       
   220 		SINGLE_ERROR
       
   221 			{
       
   222 			text=r_ssl_error_ssl_AlertIllegalParameter;
       
   223 			},
       
   224 		SINGLE_ERROR
       
   225 			{
       
   226 			text=r_ssl_error_ssl_AlertUnknownCA;
       
   227 			},
       
   228 		SINGLE_ERROR
       
   229 			{
       
   230 			text=r_ssl_error_ssl_AlertAccessDenied;
       
   231 			},
       
   232 		SINGLE_ERROR
       
   233 			{
       
   234 			text=r_ssl_error_ssl_AlertDecodeError;
       
   235 			},
       
   236 		SINGLE_ERROR
       
   237 			{
       
   238 			text=r_ssl_error_ssl_AlertDecryptError;
       
   239 			}
       
   240 		};
       
   241 	}
       
   242 
       
   243 RESOURCE ARRAY  r_error_res_ssl_alert_ExportRestriction
       
   244 	{
       
   245 	items=
       
   246 		{
       
   247 		SINGLE_ERROR
       
   248 			{
       
   249 			text=r_ssl_error_ssl_AlertExportRestriction;		//-7560
       
   250 			}
       
   251 		};
       
   252 	}
       
   253 
       
   254 RESOURCE ARRAY  r_error_res_ssl_alert_Security
       
   255 	{
       
   256 	items=
       
   257 		{
       
   258 		SINGLE_ERROR
       
   259 			{
       
   260 			text=r_ssl_error_ssl_AlertProtocolVersion;		//-7570
       
   261 			},
       
   262 		SINGLE_ERROR
       
   263 			{
       
   264 			text=r_ssl_error_ssl_AlertInsufficientSecurity;
       
   265 			}
       
   266 		};
       
   267 	}
       
   268 
       
   269 
       
   270 RESOURCE ARRAY  r_error_res_ssl_alert_InternalError
       
   271 	{
       
   272 	items=
       
   273 		{
       
   274 		SINGLE_ERROR
       
   275 			{
       
   276 			text=r_ssl_error_ssl_AlertInternalError;		//-7580
       
   277 			}
       
   278 		};
       
   279 	}
       
   280 
       
   281 RESOURCE ARRAY  r_error_res_ssl_alert_UserCanceled
       
   282 	{
       
   283 	items=
       
   284 		{
       
   285 		SINGLE_ERROR
       
   286 			{
       
   287 			text=r_ssl_error_ssl_AlertUserCanceled;		//-7590
       
   288 			}
       
   289 		};
       
   290 	}
       
   291 
       
   292 RESOURCE ARRAY  r_error_res_ssl_alert_NoRenegotiation
       
   293 	{
       
   294 	items=
       
   295 		{
       
   296 		SINGLE_ERROR
       
   297 			{
       
   298 			text=r_ssl_error_ssl_AlertNoRenegotiation;		//-7600
       
   299 			}
       
   300 		};
       
   301 	}
       
   302 
       
   303 RESOURCE TBUF r_ssl_error_ssl_default { buf = STRING_r_ssl_error_ssl_default; }			// -7400
       
   304 RESOURCE TBUF r_ssl_error_NoSharedCipher { buf = STRING_r_ssl_error_NoSharedCipher ; }		// -7401
       
   305 RESOURCE TBUF r_ssl_error_SocketBusy { buf = STRING_r_ssl_error_SocketBusy; }			// -7402
       
   306 RESOURCE TBUF r_ssl_error_InvalidCipherSuite { buf = STRING_r_ssl_error_InvalidCipherSuite; }	// -7403
       
   307 RESOURCE TBUF r_ssl_error_InvalidCert { buf = STRING_r_ssl_error_InvalidCert; }			// -7404
       
   308 RESOURCE TBUF r_ssl_error_NoClientCert { buf = STRING_r_ssl_error_NoClientCert; }		// -7405
       
   309 RESOURCE TBUF r_ssl_error_UnsupportedKeySize { buf = STRING_r_ssl_error_UnsupportedKeySize; }	// -7406
       
   310 RESOURCE TBUF r_ssl_error_UnsupportedKey { buf = STRING_r_ssl_error_UnsupportedKey; }		// -7407
       
   311 RESOURCE TBUF r_ssl_error_BadRecordHeader { buf = STRING_r_ssl_error_BadRecordHeader; }		// -7408
       
   312 RESOURCE TBUF r_ssl_error_BadProtocolVersion { buf = STRING_r_ssl_error_BadProtocolVersion; }	// -7409
       
   313 RESOURCE TBUF r_ssl_error_2ServerOnly { buf = STRING_r_ssl_error_2ServerOnly; }			// -7410
       
   314 RESOURCE TBUF  r_ssl_error_UnexpectedMessage { buf = STRING_r_ssl_error_UnexpectedMessage; }
       
   315 RESOURCE TBUF  r_ssl_error_UnsupportedCipher { buf = STRING_r_ssl_error_UnsupportedCipher; }
       
   316 RESOURCE TBUF  r_ssl_error_BadMAC { buf = STRING_r_ssl_error_BadMAC; }
       
   317 RESOURCE TBUF  r_ssl_error_RecivedAlert { buf = STRING_r_ssl_error_RecivedAlert; }
       
   318 RESOURCE TBUF r_ssl_error_RecvNotSupportedHS { buf = STRING_r_ssl_error_RecvNotSupportedHS ; } // -7415
       
   319 RESOURCE TBUF r_ssl_error_HSRecordFieldTooBig { buf = STRING_r_ssl_error_HSRecordFieldTooBig; }
       
   320 RESOURCE TBUF r_ssl_error_RecordHeaderTooBig { buf = STRING_r_ssl_error_RecordHeaderTooBig; }
       
   321 RESOURCE TBUF r_ssl_error_SendDataToBig { buf = STRING_r_ssl_error_SendDataToBig; }
       
   322 RESOURCE TBUF r_ssl_error_NoCertificate { buf = STRING_r_ssl_error_NoCertificate; }
       
   323 RESOURCE TBUF r_ssl_error_InvalidHash { buf = STRING_r_ssl_error_InvalidHash; }			// -7420
       
   324 RESOURCE TBUF r_ssl_error_SendCanceled { buf = STRING_r_ssl_error_SendCanceled; }
       
   325 RESOURCE TBUF r_ssl_error_RecvCanceled { buf = STRING_r_ssl_error_RecvCanceled; }
       
   326 RESOURCE TBUF r_ssl_error_HandshakeCanceled { buf = STRING_r_ssl_error_HandshakeCanceled; }
       
   327 RESOURCE TBUF r_ssl_error_WriteFailed { buf = STRING_r_ssl_error_WriteFailed; }
       
   328 RESOURCE TBUF r_ssl_error_FailedToLoad { buf = STRING_r_ssl_error_FailedToLoad; }
       
   329 RESOURCE TBUF r_ssl_error_DisconnectIndication { buf = STRING_r_ssl_error_DisconnectIndication; }
       
   330 RESOURCE TBUF r_ssl_error_DllLeave { buf = STRING_r_ssl_error_DllLeave; }			// -7427
       
   331 
       
   332 
       
   333 RESOURCE TBUF r_ssl_error_ssl_AlertCloseNotify { buf = STRING_r_ssl_error_ssl_AlertCloseNotify; }		//-7500
       
   334 
       
   335 
       
   336 RESOURCE TBUF r_ssl_error_ssl_AlertUnexpectedMessage { buf = STRING_r_ssl_error_ssl_AlertUnexpectedMessage; }		//-7510
       
   337 
       
   338 RESOURCE TBUF r_ssl_error_ssl_AlertBadReordMac { buf = STRING_r_ssl_error_ssl_AlertBadReordMac; }		//-7520
       
   339 RESOURCE TBUF r_ssl_error_ssl_AlertDecryptionFailed { buf = STRING_r_ssl_error_ssl_AlertDecryptionFailed; }
       
   340 RESOURCE TBUF r_ssl_error_ssl_AlertRecordOverflow { buf = STRING_r_ssl_error_ssl_AlertRecordOverflow; }
       
   341 
       
   342 
       
   343 RESOURCE TBUF r_ssl_error_ssl_AlertDecompressionFailure { buf = STRING_r_ssl_error_ssl_AlertDecompressionFailure; }		//-7530
       
   344 
       
   345 
       
   346 RESOURCE TBUF r_ssl_error_ssl_AlertHandshakeFailure { buf = STRING_r_ssl_error_ssl_AlertHandshakeFailure; }		//-7540
       
   347 RESOURCE TBUF r_ssl_error_ssl_AlertNoCertificate { buf = STRING_r_ssl_error_ssl_AlertNoCertificate; }
       
   348 RESOURCE TBUF r_ssl_error_ssl_AlertBadCertificate { buf = STRING_r_ssl_error_ssl_AlertBadCertificate; }
       
   349 RESOURCE TBUF r_ssl_error_ssl_AlertUnsupportedCertificate { buf = STRING_r_ssl_error_ssl_AlertUnsupportedCertificate; }
       
   350 RESOURCE TBUF r_ssl_error_ssl_AlertCertificateRevoked { buf = STRING_r_ssl_error_ssl_AlertCertificateRevoked; }
       
   351 RESOURCE TBUF r_ssl_error_ssl_AlertCertificateExpired { buf = STRING_r_ssl_error_ssl_AlertCertificateExpired; }
       
   352 RESOURCE TBUF r_ssl_error_ssl_AlertCertificateUnknown { buf = STRING_r_ssl_error_ssl_AlertCertificateUnknown; }
       
   353 RESOURCE TBUF r_ssl_error_ssl_AlertIllegalParameter { buf = STRING_r_ssl_error_ssl_AlertIllegalParameter; }
       
   354 RESOURCE TBUF r_ssl_error_ssl_AlertUnknownCA { buf = STRING_r_ssl_error_ssl_AlertUnknownCA; }
       
   355 RESOURCE TBUF r_ssl_error_ssl_AlertAccessDenied { buf = STRING_r_ssl_error_ssl_AlertAccessDenied; }
       
   356 RESOURCE TBUF r_ssl_error_ssl_AlertDecodeError { buf = STRING_r_ssl_error_ssl_AlertDecodeError; }
       
   357 RESOURCE TBUF r_ssl_error_ssl_AlertDecryptError { buf = STRING_r_ssl_error_ssl_AlertDecryptError; }
       
   358 
       
   359 RESOURCE TBUF r_ssl_error_ssl_AlertExportRestriction { buf = STRING_r_ssl_error_ssl_AlertExportRestriction; }		//-7560
       
   360 
       
   361 
       
   362 RESOURCE TBUF r_ssl_error_ssl_AlertProtocolVersion { buf = STRING_r_ssl_error_ssl_AlertProtocolVersion; }		//-7570
       
   363 RESOURCE TBUF r_ssl_error_ssl_AlertInsufficientSecurity { buf = STRING_r_ssl_error_ssl_AlertInsufficientSecurity; }
       
   364 
       
   365 
       
   366 RESOURCE TBUF r_ssl_error_ssl_AlertInternalError { buf = STRING_r_ssl_error_ssl_AlertInternalError; }		//-7580
       
   367 
       
   368 RESOURCE TBUF r_ssl_error_ssl_AlertUserCanceled { buf = STRING_r_ssl_error_ssl_AlertUserCanceled; }		//-7590
       
   369 
       
   370 
       
   371 RESOURCE TBUF r_ssl_error_ssl_AlertNoRenegotiation { buf = STRING_r_ssl_error_ssl_AlertNoRenegotiation; }		//-7600