System i: Programming Secure Sockets APIs - IBM
System i: Programming Secure Sockets APIs - IBM
System i: Programming Secure Sockets APIs - IBM
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
[SSL_ERROR_IO]<br />
An error occurred in SSL processing; check the errno value.<br />
[SSL_ERROR_PERMISSION_DENIED]<br />
Permission was denied to access object.<br />
[SSL_ERROR_UNKNOWN]<br />
An unknown or unexpected error occurred during SSL processing.<br />
[SSL_ERROR_UNSUPPORTED_CERTIFICATE_TYPE]<br />
i5/OS ®<br />
does not support the certificate’s type.<br />
Error Conditions<br />
When the SSL_Read() API fails with return code [SSL_ERROR_IO], errno can be set to:<br />
[EBADF]<br />
Descriptor not valid.<br />
[ECONNRESET]<br />
[EFAULT]<br />
A connection with a remote socket was reset by that socket.<br />
Bad address.<br />
One of the following conditions occurred:<br />
v The system detected an address that was not valid while attempting to access the buffer<br />
parameter.<br />
v The system detected an address that was not valid while attempting to access the handle<br />
parameter or one of the address fields in the handle parameter.<br />
[EINVAL]<br />
[EIO]<br />
[ENOTCONN]<br />
Parameter not valid.<br />
This error code indicates one of the following:<br />
v The socket_descriptor type is not SOCK_STREAM or address family is not AF_INET or<br />
AF_INET6.<br />
v One of the parameters passed is not valid or is NULL.<br />
v The buffer_length parameter specifies a negative value.<br />
Input/output error.<br />
Requested operation requires a connection.<br />
This error code indicates one of the following:<br />
v The socket_descriptor is not for a socket that is in a connected state.<br />
v The socket_descriptor has not had SSL support enabled. This usually means that an SSL_Create()<br />
has not been completed for this socket_descriptor.<br />
[ENOTSOCK]<br />
[ETIMEDOUT]<br />
The specified descriptor does not reference a socket.<br />
A remote host did not respond within the timeout period.<br />
<strong>Secure</strong> <strong>Sockets</strong> <strong>APIs</strong> 93