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>NnSslResultCode</title>
8  </head>
9  <body>
10<h1><CODE>NnSslResultCode</CODE> Enumerated Type</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14enum NnSslResultCode;
15</pre>
16    </div>
17<h2>Value</h2>
18    <div class="section">
19      <table class="arguments">
20        <thead>
21          <tr>
22<th>Value</th>
23<td>Description</td>
24          </tr>
25        </thead>
26        <tr>
27<th><CODE>NNSSL_ENONE</CODE></th>
28<td>No error.</td>
29        </tr>
30        <tr>
31<th><CODE>NNSSL_EFAILED</CODE></th>
32<td>Error caused by SSL protocol failure. (such as when validation of a client certificate fails on the server side)</td>
33        </tr>
34        <tr>
35<th><CODE>NNSSL_EWANT_READ</CODE></th>
36<td>Asynchronous socket is in use and <CODE>Read</CODE> function processing is incomplete. (Please try again.)</td>
37        </tr>
38        <tr>
39<th><CODE>NNSSL_EWANT_WRITE</CODE></th>
40<td>Asynchronous socket is in use and <CODE>Write</CODE> function processing is incomplete. (Please try again.)</td>
41        </tr>
42        <tr>
43<th><CODE>NNSSL_ESYSCALL</CODE></th>
44<td>Internal system functions returned an unexpected error.</td>
45        </tr>
46        <tr>
47<th><CODE>NNSSL_EZERO_RETURN</CODE></th>
48<td>When socket <CODE>Read/Write</CODE> were performed internally, <CODE>0</CODE> was returned at an unexpected point in the process.</td>
49        </tr>
50        <tr>
51<th><CODE>NNSSL_EWANT_CONNECT</CODE></th>
52<td>Asynchronous socket is in use and the SSL handshake (<CODE>DoHandshake</CODE>) function processing is incomplete. (Please try again.)</td>
53        </tr>
54        <tr>
55<th><CODE>NNSSL_ESSLID</CODE></th>
56<td>Internal error (invalid SSLID).</td>
57        </tr>
58        <tr>
59<th><CODE>NNSSL_EVERIFY_COMMON_NAME</CODE></th>
60<td>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>
61        </tr>
62        <tr>
63<th><CODE>NNSSL_EVERIFY_ROOT_CA</CODE></th>
64<td>Server authentication error. The server certificate's Root CA certificate does not match the certificate specified by <CODE>Connection</CODE>.</td>
65        </tr>
66        <tr>
67<th><CODE>NNSSL_EVERIFY_CHAIN</CODE></th>
68<td>Server authentication error. The server certificate's certificate chain is invalid.</td>
69        </tr>
70        <tr>
71<th><CODE>NNSSL_EVERIFY_DATE</CODE></th>
72<td>Server authentication error. The server certificate is expired.</td>
73        </tr>
74        <tr>
75<th><CODE>NNSSL_EGET_SERVER_CERT</CODE></th>
76<td>Failed to store the certificate data in the buffer. (This occurs when the certificate size in an argument-specified call to <CODE>DoHandshake</CODE> is larger than the buffer.)</td>
77        </tr>
78        <tr>
79<th><CODE>NNSSL_EVERIFY_REVOKED_CERT</CODE></th>
80<td>Server authentication error. The server certificate was found to be registered on the revocation list.</td>
81        </tr>
82        <tr>
83<th><CODE>NNSSL_ESTATE</CODE></th>
84<td>The SSL library is in an invalid state. (Occurs in cases such as when other library functions were called before initialization.)。</td>
85        </tr>
86        <tr>
87<th><CODE>NNSSL_ERANDOM</CODE></th>
88<td>Random number processing error.</td>
89        </tr>
90        <tr>
91<th><CODE>NNSSL_EVERIFY_CERT</CODE></th>
92<td>Server certificate verification failure.</td>
93        </tr>
94        <tr>
95<th><CODE>NNSSL_ECERT_BUF_ALREADY_SET</CODE></th>
96<td>Server certificate save buffer already set.</td>
97        </tr>
98        <tr>
99<th><CODE>NNSSL_ER_ALREADY_INITIALIZED</CODE></th>
100<td>Initialization complete.</td>
101        </tr>
102        <tr>
103<th><CODE>NNSSL_ER_NOT_INITIALIZED</CODE></th>
104<td>Uninitialized.</td>
105        </tr>
106        <tr>
107<th><CODE>NNSSL_ER_OUT_OF_MEMORY</CODE></th>
108<td>Dynamic memory allocation failure.</td>
109        </tr>
110        <tr>
111<th><CODE>NNSSL_ER_NOT_ASSIGN_SERVER</CODE></th>
112<td>Communication target server not allocated.</td>
113        </tr>
114        <tr>
115<th><CODE>NNSSL_ER_ALREADY_ASSIGN_SERVER</CODE></th>
116<td>Communication target server already allocated.</td>
117        </tr>
118        <tr>
119<th><CODE>NNSSL_ER_IPC_SESSION</CODE></th>
120<td>IPC session invalid.</td>
121        </tr>
122        <tr>
123<th><CODE>NNSSL_ER_CONN_PROCESS_MAX</CODE></th>
124<td>Maximum number of connections used by one process exceeded.</td>
125        </tr>
126        <tr>
127<th><CODE>NNSSL_ER_FAIL_TO_CREATE_CERT_STORE</CODE></th>
128<td>Failed to create the certificate store.</td>
129        </tr>
130        <tr>
131<th><CODE>NNSSL_ER_FAIL_TO_CREATE_CRL_STORE</CODE></th>
132<td>Failed to create the CRL store.</td>
133        </tr>
134        <tr>
135<th><CODE>NNSSL_ER_FAIL_TO_CREATE_CLIENT_CERT</CODE></th>
136<td>Failed to create the client certificate.</td>
137        </tr>
138        <tr>
139<th><CODE>NNSSL_ER_INVALID_PARAM</CODE></th>
140<td>Invalid parameter.</td>
141        </tr>
142        <tr>
143<th><CODE>NNSSL_ER_CLIENT_PROCESS_MAX</CODE></th>
144<td>Number of clients equivalent to maximum number of simultaneous client processes already being used.</td>
145        </tr>
146        <tr>
147<th><CODE>NNSSL_ER_IPC_SESSION_MAX</CODE></th>
148<td>Maximum number of simultaneous IPC session connections already connected. (Number of clients and number of connections both already at the maximum.))</td>
149        </tr>
150        <tr>
151<th><CODE>NNSSL_ER_INTERNAL_CERT</CODE></th>
152<td>Use of internal certificate failed.</td>
153        </tr>
154        <tr>
155<th><CODE>NNSSL_ER_INTERNAL_CRL</CODE></th>
156<td>Use of internal CRL failed.</td>
157        </tr>
158      </table> </div>
159<h2>Description</h2>
160    <div class="section">
161<p>API C-language result codes. These result codes are stored in the <CODE>description</CODE> element of the <CODE>nnResult</CODE> instance returned by the functions in the API.</p><!-- write here --></div>
162<h2>Revision History</h2>
163    <div class="section">
164      <dl class="history">
165        <dt>2010/06/14</dt>
166<dd>Initial version.<br />
167        </dd>
168      </dl>
169    </div>
170  <hr><p>CONFIDENTIAL</p></body>
171</html>