1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../css/manpage.css" type="text/css" /> 7 <title>NN_DEFINE_RESULT_CONST_LM</title> 8 </head> 9 <body> 10 <h1><CODE>nn::ssl::NN_DEFINE_RESULT_CONST_LM</CODE> Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14NN_DEFINE_RESULT_CONST_LM( 15 ResultProtocolFailedErr, 16 detail::MakePermanentResult, 17 Result::SUMMARY_INVALID_STATE, 18 EFAILED 19); 20NN_DEFINE_RESULT_CONST_LM( 21 ResultWantRead, 22 detail::MakePermanentResult, 23 Result::SUMMARY_WOULD_BLOCK, 24 EWANT_READ 25); 26NN_DEFINE_RESULT_CONST_LM( 27 ResultWantWrite, 28 detail::MakePermanentResult, 29 Result::SUMMARY_WOULD_BLOCK, 30 EWANT_WRITE 31); 32NN_DEFINE_RESULT_CONST_LM( 33 ResultSystemCallErr, 34 detail::MakePermanentResult, 35 Result::SUMMARY_INVALID_STATE, 36 ESYSCALL 37); 38NN_DEFINE_RESULT_CONST_LM( 39 ResultSocketZeroReturnErr, 40 detail::MakePermanentResult, 41 Result::SUMMARY_INVALID_STATE, 42 EZERO_RETURN 43); 44NN_DEFINE_RESULT_CONST_LM( 45 ResultWantConnect, 46 detail::MakePermanentResult, 47 Result::SUMMARY_WOULD_BLOCK, 48 EWANT_CONNECT 49); 50NN_DEFINE_RESULT_CONST_LM( 51 ResultInternalSslIdErr, 52 detail::MakePermanentResult, 53 Result::SUMMARY_INVALID_STATE, 54 ESSLID 55); 56NN_DEFINE_RESULT_CONST_LM( 57 ResultVerifyCertCommonNameErr, 58 detail::MakePermanentResult, 59 Result::SUMMARY_INVALID_STATE, 60 EVERIFY_COMMON_NAME 61); 62NN_DEFINE_RESULT_CONST_LM( 63 ResultVerifyCertRootCaErr, 64 detail::MakePermanentResult, 65 Result::SUMMARY_INVALID_STATE, 66 EVERIFY_ROOT_CA 67); 68NN_DEFINE_RESULT_CONST_LM( 69 ResultVerifyCertChainErr, 70 detail::MakePermanentResult, 71 Result::SUMMARY_INVALID_STATE, 72 EVERIFY_CHAIN 73); 74NN_DEFINE_RESULT_CONST_LM( 75 ResultVerifyCertDateErr, 76 detail::MakePermanentResult, 77 Result::SUMMARY_INVALID_STATE, 78 EVERIFY_DATE 79); 80NN_DEFINE_RESULT_CONST_LM( 81 ResultFailToGetServerCert, 82 detail::MakePermanentResult, 83 Result::SUMMARY_SUCCESS, 84 EGET_SERVER_CERT 85); 86NN_DEFINE_RESULT_CONST_LM( 87 ResultVerifyCertRevokedErr, 88 detail::MakePermanentResult, 89 Result::SUMMARY_INVALID_STATE, 90 EVERIFY_REVOKED_CERT 91); 92NN_DEFINE_RESULT_CONST_LM( 93 ResultLibraryStateErr, 94 detail::MakePermanentResult, 95 Result::SUMMARY_INVALID_STATE, 96 ESTATE 97); 98NN_DEFINE_RESULT_CONST_LM( 99 ResultRandomErr, 100 detail::MakePermanentResult, 101 Result::SUMMARY_INVALID_STATE, 102 ERANDOM 103); 104NN_DEFINE_RESULT_CONST_LM( 105 ResultVerifyCertErr, 106 detail::MakePermanentResult, 107 Result::SUMMARY_INVALID_STATE, 108 EVERIFY_CERT 109); 110NN_DEFINE_RESULT_CONST_LM( 111 ResultAlreadyInitializedErr, 112 detail::MakePermanentResult, 113 Result::SUMMARY_INVALID_STATE, 114 ER_ALREADY_INITIALIZED 115); 116NN_DEFINE_RESULT_CONST_LM( 117 ResultNotInitializedErr, 118 detail::MakePermanentResult, 119 Result::SUMMARY_INVALID_STATE, 120 ER_NOT_INITIALIZED 121); 122NN_DEFINE_RESULT_CONST_LM( 123 ResultOutOfMemoryErr, 124 detail::MakePermanentResult, 125 Result::SUMMARY_INVALID_STATE, 126 ER_OUT_OF_MEMORY 127); 128NN_DEFINE_RESULT_CONST_LM( 129 ResultNotAssignServerErr, 130 detail::MakePermanentResult, 131 Result::SUMMARY_INVALID_STATE, 132 ER_NOT_ASSIGN_SERVER 133); 134NN_DEFINE_RESULT_CONST_LM( 135 ResultAlreadyAssignServerErr, 136 detail::MakePermanentResult, 137 Result::SUMMARY_INVALID_STATE, 138 ER_ALREADY_ASSIGN_SERVER 139); 140NN_DEFINE_RESULT_CONST_LM( 141 ResultIpcSessionErr, 142 detail::MakePermanentResult, 143 Result::SUMMARY_INVALID_STATE, 144 ER_IPC_SESSION 145); 146NN_DEFINE_RESULT_CONST_LM( 147 ResultProcessConnectionMaxErr, 148 detail::MakePermanentResult, 149 Result::SUMMARY_INVALID_STATE, 150 ER_CONN_PROCESS_MAX 151); 152NN_DEFINE_RESULT_CONST_LM( 153 ResultFailToCreateCertStoreErr, 154 detail::MakePermanentResult, 155 Result::SUMMARY_INVALID_STATE, 156 ER_FAIL_TO_CREATE_CERT_STORE 157); 158NN_DEFINE_RESULT_CONST_LM( 159 ResultFailToCreateCrlStoreErr, 160 detail::MakePermanentResult, 161 Result::SUMMARY_INVALID_STATE, 162 ER_FAIL_TO_CREATE_CRL_STORE 163); 164NN_DEFINE_RESULT_CONST_LM( 165 ResultFailToCreateClientCertErr, 166 detail::MakePermanentResult, 167 Result::SUMMARY_INVALID_STATE, 168 ER_FAIL_TO_CREATE_CLIENT_CERT 169); 170NN_DEFINE_RESULT_CONST_LM( 171 ResultInvalidParamErr, 172 detail::MakePermanentResult, 173 Result::SUMMARY_INVALID_ARGUMENT, 174 ER_INVALID_PARAM 175); 176NN_DEFINE_RESULT_CONST_LM( 177 ResultNotImplementedErr, 178 detail::MakePermanentResult, 179 Result::SUMMARY_INTERNAL, 180 nn::Result::DESCRIPTION_NOT_IMPLEMENTED 181); 182NN_DEFINE_RESULT_CONST_LM( 183 ResultClientProcessMaxErr, 184 detail::MakePermanentResult, 185 Result::SUMMARY_INVALID_STATE, 186 ER_CLIENT_PROCESS_MAX 187); 188NN_DEFINE_RESULT_CONST_LM( 189 ResultIpcSessionMaxErr, 190 detail::MakePermanentResult, 191 Result::SUMMARY_INVALID_STATE, 192 ER_IPC_SESSION_MAX 193); 194NN_DEFINE_RESULT_CONST_LM( 195 ResultInternalCertErr, 196 detail::MakePermanentResult, 197 Result::SUMMARY_INVALID_STATE, 198 ER_INTERNAL_CERT 199); 200NN_DEFINE_RESULT_CONST_LM( 201 ResultInternalCrlErr, 202 detail::MakePermanentResult, 203 Result::SUMMARY_INVALID_STATE, 204 ER_INTERNAL_CRL 205); 206NN_DEFINE_RESULT_CONST_LM( 207 ResultServerCertBufAlreadySetErr, 208 detail::MakePermanentResult, 209 Result::SUMMARY_INVALID_STATE, 210 ECERT_BUF_ALREADY_SET 211); 212</pre> 213 </div> 214 <h2>List of Overloaded Member Functions</h2> 215 <div class="section"> 216 <table class="members"> 217 <tr> 218 <td> 219 <a href="./NN_DEFINE_RESULT_CONST_LM(0).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultProtocolFailedErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EFAILED)</CODE> </a> 220 </td> 221 <td>Returns a result that indicates the following error: "Error caused by SSL protocol failure (for example, when client certificate authentication fails on the server side)."</td> 222 </tr> 223 <tr> 224 <td> 225 <a href="./NN_DEFINE_RESULT_CONST_LM(1).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultWantRead, detail::MakePermanentResult, Result::SUMMARY_WOULD_BLOCK, EWANT_READ)</CODE> </a> 226 </td> 227 <td>Returns a result that indicates the following error: "Asynchronous socket is in use and <CODE>Read</CODE> function processing is incomplete. (Please try again.)"</td> 228 </tr> 229 <tr> 230 <td> 231 <a href="./NN_DEFINE_RESULT_CONST_LM(2).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultWantWrite, detail::MakePermanentResult, Result::SUMMARY_WOULD_BLOCK, EWANT_WRITE)</CODE> </a> 232 </td> 233 <td>Returns a result that indicates the following error: "Asynchronous socket is in use and <CODE>Write</CODE> function processing is incomplete. (Please try again.)"</td> 234 </tr> 235 <tr> 236 <td> 237 <a href="./NN_DEFINE_RESULT_CONST_LM(3).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultSystemCallErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ESYSCALL)</CODE> </a> 238 </td> 239 <td>Returns a result that indicates the following error: "Internally used system functions returned an unexpected error."</td> 240 </tr> 241 <tr> 242 <td> 243 <a href="./NN_DEFINE_RESULT_CONST_LM(4).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultSocketZeroReturnErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EZERO_RETURN)</CODE> </a> 244 </td> 245 <td>Returns a result that indicates the following error: "When a <CODE>Read</CODE> or <CODE>Write</CODE> operation was performed on a socket internally, <CODE>0</CODE> was returned at an unexpected point in the process."</td> 246 </tr> 247 <tr> 248 <td> 249 <a href="./NN_DEFINE_RESULT_CONST_LM(5).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultWantConnect, detail::MakePermanentResult, Result::SUMMARY_WOULD_BLOCK, EWANT_CONNECT)</CODE> </a> 250 </td> 251 <td>Returns a result that indicates the following error: "Asynchronous socket is in use and the SSL handshake (<CODE>DoHandshake</CODE>) function processing is incomplete. (Please try again.)"</td> 252 </tr> 253 <tr> 254 <td> 255 <a href="./NN_DEFINE_RESULT_CONST_LM(6).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultInternalSslIdErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ESSLID)</CODE> </a> 256 </td> 257 <td>Returns a result indicating the following error: "Internal error (invalid SSLID)."</td> 258 </tr> 259 <tr> 260 <td> 261 <a href="./NN_DEFINE_RESULT_CONST_LM(7).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultVerifyCertCommonNameErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EVERIFY_COMMON_NAME)</CODE> </a> 262 </td> 263 <td>Returns a result that indicates the following error: "Server authentication error. The server certificate's <CODE>CommonName</CODE> does not match the host name of the communication target server specified by the <CODE>AssignServer</CODE> function."</td> 264 </tr> 265 <tr> 266 <td> 267 <a href="./NN_DEFINE_RESULT_CONST_LM(8).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultVerifyCertRootCaErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EVERIFY_ROOT_CA)</CODE> </a> 268 </td> 269 <td>Returns a result that indicates the following error: "Server authentication error. The server certificate's Root CA certificate does not match the certificate set by <CODE>Connection</CODE>."</td> 270 </tr> 271 <tr> 272 <td> 273 <a href="./NN_DEFINE_RESULT_CONST_LM(9).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultVerifyCertChainErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EVERIFY_CHAIN)</CODE> </a> 274 </td> 275 <td>Returns a result that indicates the following error: "Server authentication error. The server certificate's certificate chain is invalid."</td> 276 </tr> 277 <tr> 278 <td> 279 <a href="./NN_DEFINE_RESULT_CONST_LM(10).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultVerifyCertDateErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EVERIFY_DATE)</CODE> </a> 280 </td> 281 <td>Returns a result that indicates the following error: "Server authentication error. The server certificate has expired."</td> 282 </tr> 283 <tr> 284 <td> 285 <a href="./NN_DEFINE_RESULT_CONST_LM(11).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultFailToGetServerCert, detail::MakePermanentResult, Result::SUMMARY_SUCCESS, EGET_SERVER_CERT)</CODE> </a> 286 </td> 287 <td>Returns a result that indicates the following error: "Failed to store the certificate data in the buffer. (This occurs when the certificate size in an argument-specified call to the <CODE>DoHandshake</CODE> function is larger than the buffer.)"</td> 288 </tr> 289 <tr> 290 <td> 291 <a href="./NN_DEFINE_RESULT_CONST_LM(12).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultVerifyCertRevokedErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EVERIFY_REVOKED_CERT)</CODE> </a> 292 </td> 293 <td>Returns a result that indicates the following error: "Server authentication error. The server certificate was found to be registered on the revocation list."</td> 294 </tr> 295 <tr> 296 <td> 297 <a href="./NN_DEFINE_RESULT_CONST_LM(13).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultLibraryStateErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ESTATE)</CODE> </a> 298 </td> 299 <td>Returns a result that indicates the following error: "The SSL library is in an invalid state. (Occurs in cases such as when other library functions were called before initialization.)"</td> 300 </tr> 301 <tr> 302 <td> 303 <a href="./NN_DEFINE_RESULT_CONST_LM(14).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultRandomErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ERANDOM)</CODE> </a> 304 </td> 305 <td>Returns a result indicating the following error: "Random number processing error."</td> 306 </tr> 307 <tr> 308 <td> 309 <a href="./NN_DEFINE_RESULT_CONST_LM(15).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultVerifyCertErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EVERIFY_CERT)</CODE> </a> 310 </td> 311 <td>Returns a result indicating the following error: "Certificate verification failure."</td> 312 </tr> 313 <tr> 314 <td> 315 <a href="./NN_DEFINE_RESULT_CONST_LM(16).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultAlreadyInitializedErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_ALREADY_INITIALIZED)</CODE> </a> 316 </td> 317 <td>Returns a result indicating the following error: "Library already initialized."</td> 318 </tr> 319 <tr> 320 <td> 321 <a href="./NN_DEFINE_RESULT_CONST_LM(17).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultNotInitializedErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_NOT_INITIALIZED)</CODE> </a> 322 </td> 323 <td>Returns a <CODE>Result</CODE> indicating the following error: "Library not yet initialized."</td> 324 </tr> 325 <tr> 326 <td> 327 <a href="./NN_DEFINE_RESULT_CONST_LM(18).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultOutOfMemoryErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_OUT_OF_MEMORY)</CODE> </a> 328 </td> 329 <td>Returns a result indicating the following error: "Memory allocation failure."</td> 330 </tr> 331 <tr> 332 <td> 333 <a href="./NN_DEFINE_RESULT_CONST_LM(19).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultNotAssignServerErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_NOT_ASSIGN_SERVER)</CODE> </a> 334 </td> 335 <td>Returns a result that indicates the following error: "Communication target server has not yet been assigned."</td> 336 </tr> 337 <tr> 338 <td> 339 <a href="./NN_DEFINE_RESULT_CONST_LM(20).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultAlreadyAssignServerErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_ALREADY_ASSIGN_SERVER)</CODE> </a> 340 </td> 341 <td>Returns a result indicating the following error: "Communication target server has already been assigned."</td> 342 </tr> 343 <tr> 344 <td> 345 <a href="./NN_DEFINE_RESULT_CONST_LM(21).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultIpcSessionErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_IPC_SESSION)</CODE> </a> 346 </td> 347 <td>Returns a result indicating the following error: "Invalid IPC session."</td> 348 </tr> 349 <tr> 350 <td> 351 <a href="./NN_DEFINE_RESULT_CONST_LM(22).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultProcessConnectionMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONN_PROCESS_MAX)</CODE> </a> 352 </td> 353 <td>Returns a result indicating the following error: "Maximum number of connections that can be used by one process has been exceeded."</td> 354 </tr> 355 <tr> 356 <td> 357 <a href="./NN_DEFINE_RESULT_CONST_LM(23).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultFailToCreateCertStoreErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_FAIL_TO_CREATE_CERT_STORE)</CODE> </a> 358 </td> 359 <td>Returns a result indicating the following error: "Failed to create the certificate store."</td> 360 </tr> 361 <tr> 362 <td> 363 <a href="./NN_DEFINE_RESULT_CONST_LM(24).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultFailToCreateCrlStoreErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_FAIL_TO_CREATE_CRL_STORE)</CODE> </a> 364 </td> 365 <td>Returns a result indicating the following error: "Failed to create the CRL store."</td> 366 </tr> 367 <tr> 368 <td> 369 <a href="./NN_DEFINE_RESULT_CONST_LM(25).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultFailToCreateClientCertErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_FAIL_TO_CREATE_CLIENT_CERT)</CODE> </a> 370 </td> 371 <td>Returns a result indicating the following error: "Failed to create the client certificate."</td> 372 </tr> 373 <tr> 374 <td> 375 <a href="./NN_DEFINE_RESULT_CONST_LM(26).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultInvalidParamErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_ARGUMENT, ER_INVALID_PARAM)</CODE> </a> 376 </td> 377 <td>Returns a result indicating the following error: "Invalid argument."</td> 378 </tr> 379 <tr> 380 <td> 381 <a href="./NN_DEFINE_RESULT_CONST_LM(27).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultNotImplementedErr, detail::MakePermanentResult, Result::SUMMARY_INTERNAL, nn::Result::DESCRIPTION_NOT_IMPLEMENTED)</CODE> </a> 382 </td> 383 <td>Returns a result indicating the following error: "Process not yet implemented." This is an internal implementation error.</td> 384 </tr> 385 <tr> 386 <td> 387 <a href="./NN_DEFINE_RESULT_CONST_LM(28).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultClientProcessMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CLIENT_PROCESS_MAX)</CODE> </a> 388 </td> 389 <td>Returns a result indicating the following error: "Number of clients equivalent to maximum number of simultaneous client processes already being used."</td> 390 </tr> 391 <tr> 392 <td> 393 <a href="./NN_DEFINE_RESULT_CONST_LM(29).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultIpcSessionMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_IPC_SESSION_MAX)</CODE> </a> 394 </td> 395 <td>Returns a result indicating the following error: "Maximum number of simultaneous IPC session connections already connected."</td> 396 </tr> 397 <tr> 398 <td> 399 <a href="./NN_DEFINE_RESULT_CONST_LM(30).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultInternalCertErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_INTERNAL_CERT)</CODE> </a> 400 </td> 401 <td>Returns a result that indicates the following error: "Failed to use internal certificate."</td> 402 </tr> 403 <tr> 404 <td> 405 <a href="./NN_DEFINE_RESULT_CONST_LM(31).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultInternalCrlErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_INTERNAL_CRL)</CODE> </a> 406 </td> 407 <td>Returns a result that indicates the following error: "Failed to use built-in CRL."</td> 408 </tr> 409 <tr> 410 <td> 411 <a href="./NN_DEFINE_RESULT_CONST_LM(32).html"><CODE>NN_DEFINE_RESULT_CONST_LM(ResultServerCertBufAlreadySetErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ECERT_BUF_ALREADY_SET)</CODE> </a> 412 </td> 413 <td>Returns a result that indicates the following error: "A buffer has already been configured for the server certificate."</td> 414 </tr> </table> 415 </div> 416 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultProtocolFailedErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EFAILED)</CODE></h2> 417 <div class="section"> 418 <p>Returns a result that indicates the following error: "Error caused by SSL protocol failure (for example, when client certificate authentication fails on the server side)."</p> 419 </div> 420 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultWantRead, detail::MakePermanentResult, Result::SUMMARY_WOULD_BLOCK, EWANT_READ)</CODE></h2> 421 <div class="section"> 422 <p>Returns a result that indicates the following error: "Asynchronous socket is in use and <CODE>Read</CODE> function processing is incomplete. (Please try again.)"</p> 423 </div> 424 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultWantWrite, detail::MakePermanentResult, Result::SUMMARY_WOULD_BLOCK, EWANT_WRITE)</CODE></h2> 425 <div class="section"> 426 <p>Returns a result that indicates the following error: "Asynchronous socket is in use and <CODE>Write</CODE> function processing is incomplete. (Please try again.)"</p> 427 </div> 428 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultSystemCallErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ESYSCALL)</CODE></h2> 429 <div class="section"> 430 <p>Returns a result that indicates the following error: "Internally used system functions returned an unexpected error."</p> 431 </div> 432 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultSocketZeroReturnErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EZERO_RETURN)</CODE></h2> 433 <div class="section"> 434 <p>Returns a result that indicates the following error: "When a <CODE>Read</CODE> or <CODE>Write</CODE> operation was performed on a socket internally, <CODE>0</CODE> was returned at an unexpected point in the process."</p> 435 </div> 436 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultWantConnect, detail::MakePermanentResult, Result::SUMMARY_WOULD_BLOCK, EWANT_CONNECT)</CODE></h2> 437 <div class="section"> 438 <p>Returns a result that indicates the following error: "Asynchronous socket is in use and the SSL handshake (<CODE>DoHandshake</CODE>) function processing is incomplete. (Please try again.)"</p> 439 </div> 440 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultInternalSslIdErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ESSLID)</CODE></h2> 441 <div class="section"> 442 <p>Returns a result indicating the following error: "Internal error (invalid SSLID)."</p> 443 </div> 444 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultVerifyCertCommonNameErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EVERIFY_COMMON_NAME)</CODE></h2> 445 <div class="section"> 446 <p>Returns a result that indicates the following error: "Server authentication error. The server certificate's <CODE>CommonName</CODE> does not match the host name of the communication target server specified by the <CODE>AssignServer</CODE> function."</p> 447 </div> 448 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultVerifyCertRootCaErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EVERIFY_ROOT_CA)</CODE></h2> 449 <div class="section"> 450 <p>Returns a result that indicates the following error: "Server authentication error. The server certificate's Root CA certificate does not match the certificate set by <CODE>Connection</CODE>."</p> 451 </div> 452 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultVerifyCertChainErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EVERIFY_CHAIN)</CODE></h2> 453 <div class="section"> 454 <p>Returns a result that indicates the following error: "Server authentication error. The server certificate's certificate chain is invalid."</p> 455 </div> 456 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultVerifyCertDateErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EVERIFY_DATE)</CODE></h2> 457 <div class="section"> 458 <p>Returns a result that indicates the following error: "Server authentication error. The server certificate has expired."</p> 459 </div> 460 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultFailToGetServerCert, detail::MakePermanentResult, Result::SUMMARY_SUCCESS, EGET_SERVER_CERT)</CODE></h2> 461 <div class="section"> 462 <p>Returns a result that indicates the following error: "Failed to store the certificate data in the buffer. (This occurs when the certificate size in an argument-specified call to the <CODE>DoHandshake</CODE> function is larger than the buffer.)"</p> 463 </div> 464 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultVerifyCertRevokedErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EVERIFY_REVOKED_CERT)</CODE></h2> 465 <div class="section"> 466 <p>Returns a result that indicates the following error: "Server authentication error. The server certificate was found to be registered on the revocation list."</p> 467 </div> 468 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultLibraryStateErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ESTATE)</CODE></h2> 469 <div class="section"> 470 <p>Returns a result that indicates the following error: "The SSL library is in an invalid state. (Occurs in cases such as when other library functions were called before initialization.)"</p> 471 </div> 472 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultRandomErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ERANDOM)</CODE></h2> 473 <div class="section"> 474 <p>Returns a result indicating the following error: "Random number processing error."</p> 475 </div> 476 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultVerifyCertErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, EVERIFY_CERT)</CODE></h2> 477 <div class="section"> 478 <p>Returns a result indicating the following error: "Certificate verification failure."</p> 479 </div> 480 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultAlreadyInitializedErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_ALREADY_INITIALIZED)</CODE></h2> 481 <div class="section"> 482 <p>Returns a result indicating the following error: "Library already initialized."</p> 483 </div> 484 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultNotInitializedErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_NOT_INITIALIZED)</CODE></h2> 485 <div class="section"> 486 <p>Returns a <CODE>Result</CODE> indicating the following error: "Library not yet initialized."</p> 487 </div> 488 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultOutOfMemoryErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_OUT_OF_MEMORY)</CODE></h2> 489 <div class="section"> 490 <p>Returns a result indicating the following error: "Memory allocation failure."</p> 491 </div> 492 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultNotAssignServerErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_NOT_ASSIGN_SERVER)</CODE></h2> 493 <div class="section"> 494 <p>Returns a result that indicates the following error: "Communication target server has not yet been assigned."</p> 495 </div> 496 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultAlreadyAssignServerErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_ALREADY_ASSIGN_SERVER)</CODE></h2> 497 <div class="section"> 498 <p>Returns a result indicating the following error: "Communication target server has already been assigned."</p> 499 </div> 500 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultIpcSessionErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_IPC_SESSION)</CODE></h2> 501 <div class="section"> 502 <p>Returns a result indicating the following error: "Invalid IPC session."</p> 503 </div> 504 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultProcessConnectionMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CONN_PROCESS_MAX)</CODE></h2> 505 <div class="section"> 506 <p>Returns a result indicating the following error: "Maximum number of connections that can be used by one process has been exceeded."</p> 507 </div> 508 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultFailToCreateCertStoreErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_FAIL_TO_CREATE_CERT_STORE)</CODE></h2> 509 <div class="section"> 510 <p>Returns a result indicating the following error: "Failed to create the certificate store."</p> 511 </div> 512 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultFailToCreateCrlStoreErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_FAIL_TO_CREATE_CRL_STORE)</CODE></h2> 513 <div class="section"> 514 <p>Returns a result indicating the following error: "Failed to create the CRL store."</p> 515 </div> 516 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultFailToCreateClientCertErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_FAIL_TO_CREATE_CLIENT_CERT)</CODE></h2> 517 <div class="section"> 518 <p>Returns a result indicating the following error: "Failed to create the client certificate."</p> 519 </div> 520 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultInvalidParamErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_ARGUMENT, ER_INVALID_PARAM)</CODE></h2> 521 <div class="section"> 522 <p>Returns a result indicating the following error: "Invalid argument."</p> 523 </div> 524 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultNotImplementedErr, detail::MakePermanentResult, Result::SUMMARY_INTERNAL, nn::Result::DESCRIPTION_NOT_IMPLEMENTED)</CODE></h2> 525 <div class="section"> 526 <p>Returns a result indicating the following error: "Process not yet implemented." This is an internal implementation error.</p> 527 </div> 528 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultClientProcessMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_CLIENT_PROCESS_MAX)</CODE></h2> 529 <div class="section"> 530 <p>Returns a result indicating the following error: "Number of clients equivalent to maximum number of simultaneous client processes already being used."</p> 531 </div> 532 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultIpcSessionMaxErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_IPC_SESSION_MAX)</CODE></h2> 533 <div class="section"> 534 <p>Returns a result indicating the following error: "Maximum number of simultaneous IPC session connections already connected."</p> 535 </div> 536 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultInternalCertErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_INTERNAL_CERT)</CODE></h2> 537 <div class="section"> 538 <p>Returns a result that indicates the following error: "Failed to use internal certificate."</p> 539 </div> 540 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultInternalCrlErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ER_INTERNAL_CRL)</CODE></h2> 541 <div class="section"> 542 <p>Returns a result that indicates the following error: "Failed to use built-in CRL."</p> 543 </div> 544 <h2>Description of <CODE>NN_DEFINE_RESULT_CONST_LM(ResultServerCertBufAlreadySetErr, detail::MakePermanentResult, Result::SUMMARY_INVALID_STATE, ECERT_BUF_ALREADY_SET)</CODE></h2> 545 <div class="section"> 546 <p>Returns a result that indicates the following error: "A buffer has already been configured for the server certificate."</p> 547 </div> 548 <hr><p>CONFIDENTIAL</p></body> 549</html> 550