NnSslResultCode Enumerated Typeenum NnSslResultCode;
| Value | Description |
|---|---|
NNSSL_ENONE |
No error. |
NNSSL_EFAILED |
Error caused by SSL protocol failure. (such as when validation of a client certificate fails on the server side) |
NNSSL_EWANT_READ |
Asynchronous socket is in use and Read function processing is incomplete. (Please try again.) |
NNSSL_EWANT_WRITE |
Asynchronous socket is in use and Write function processing is incomplete. (Please try again.) |
NNSSL_ESYSCALL |
Internal system functions returned an unexpected error. |
NNSSL_EZERO_RETURN |
When socket Read/Write were performed internally, 0 was returned at an unexpected point in the process. |
NNSSL_EWANT_CONNECT |
Asynchronous socket is in use and the SSL handshake (DoHandshake) function processing is incomplete. (Please try again.) |
NNSSL_ESSLID |
Internal error (invalid SSLID). |
NNSSL_EVERIFY_COMMON_NAME |
Server authentication error. The server certificate's CommonName does not match the host name of the communication target server specified by the AssignServer function. |
NNSSL_EVERIFY_ROOT_CA |
Server authentication error. The server certificate's Root CA certificate does not match the certificate specified by Connection. |
NNSSL_EVERIFY_CHAIN |
Server authentication error. The server certificate's certificate chain is invalid. |
NNSSL_EVERIFY_DATE |
Server authentication error. The server certificate is expired. |
NNSSL_EGET_SERVER_CERT |
Failed to store the certificate data in the buffer. (This occurs when the certificate size in an argument-specified call to DoHandshake is larger than the buffer.) |
NNSSL_EVERIFY_REVOKED_CERT |
Server authentication error. The server certificate was found to be registered on the revocation list. |
NNSSL_ESTATE |
The SSL library is in an invalid state. (Occurs in cases such as when other library functions were called before initialization.)。 |
NNSSL_ERANDOM |
Random number processing error. |
NNSSL_EVERIFY_CERT |
Server certificate verification failure. |
NNSSL_ECERT_BUF_ALREADY_SET |
Server certificate save buffer already set. |
NNSSL_ER_ALREADY_INITIALIZED |
Initialization complete. |
NNSSL_ER_NOT_INITIALIZED |
Uninitialized. |
NNSSL_ER_OUT_OF_MEMORY |
Dynamic memory allocation failure. |
NNSSL_ER_NOT_ASSIGN_SERVER |
Communication target server not allocated. |
NNSSL_ER_ALREADY_ASSIGN_SERVER |
Communication target server already allocated. |
NNSSL_ER_IPC_SESSION |
IPC session invalid. |
NNSSL_ER_CONN_PROCESS_MAX |
Maximum number of connections used by one process exceeded. |
NNSSL_ER_FAIL_TO_CREATE_CERT_STORE |
Failed to create the certificate store. |
NNSSL_ER_FAIL_TO_CREATE_CRL_STORE |
Failed to create the CRL store. |
NNSSL_ER_FAIL_TO_CREATE_CLIENT_CERT |
Failed to create the client certificate. |
NNSSL_ER_INVALID_PARAM |
Invalid parameter. |
NNSSL_ER_CLIENT_PROCESS_MAX |
Number of clients equivalent to maximum number of simultaneous client processes already being used. |
NNSSL_ER_IPC_SESSION_MAX |
Maximum number of simultaneous IPC session connections already connected. (Number of clients and number of connections both already at the maximum.)) |
NNSSL_ER_INTERNAL_CERT |
Use of internal certificate failed. |
NNSSL_ER_INTERNAL_CRL |
Use of internal CRL failed. |
API C-language result codes. These result codes are stored in the description element of the nnResult instance returned by the functions in the API.
CONFIDENTIAL