System i: Programming Secure Sockets APIs - IBM
System i: Programming Secure Sockets APIs - IBM
System i: Programming Secure Sockets APIs - IBM
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
[GSK_OK]<br />
gsk_secure_soc_init() was successful.<br />
[GSK_INVALID_HANDLE]<br />
The handle specified was not valid.<br />
[GSK_KEYRING_OPEN_ERROR]<br />
Certificate store file could not be opened.<br />
[GSK_ERROR_BAD_KEYFILE_LABEL]<br />
The specified certificate store label is not valid.<br />
[GSK_ERROR_BAD_V3_CIPHER]<br />
An SSLV3 or TLSV1 cipher suite was specified that is not valid.<br />
[GSK_ERROR_BAD_V2_CIPHER]<br />
An SSLV2 cipher suite was specified that is not valid.<br />
[GSK_ERROR_NO_CIPHERS]<br />
No ciphers available or no ciphers were specified.<br />
[GSK_ERROR_NO_CERTIFICATE]<br />
No certificate is available for SSL processing.<br />
[GSK_ERROR_BAD_CERTIFICATE]<br />
The certificate is bad.<br />
[SSL_ERROR_NOT_TRUSTED_ROOT]<br />
The certificate is not signed by a trusted certificate authority.<br />
[GSK_KEYFILE_CERT_EXPIRED]<br />
The validity time period of the certificate has expired.<br />
[GSK_ERROR_BAD_MESSAGE]<br />
A badly formatted message was received.<br />
[GSK_ERROR_UNSUPPORTED]<br />
Operation is not supported by SSL.<br />
[GSK_ERROR_BAD_PEER]<br />
The peer system is not recognized.<br />
[GSK_ERROR_CLOSED]<br />
The SSL session ended.<br />
[GSK_ERROR_CERT_VALIDATION]<br />
The certificate is not valid or was rejected by the GSK_CERT_VALIDATION_CALLBACK<br />
program.<br />
[GSK_AS400_ERROR_NO_INITIALIZE]<br />
A successful gsk_environment_init() was not previously called with this handle.<br />
[GSK_AS400_ERROR_TIMED_OUT]<br />
The value specified for the handshake timeout expired before the handshake completed.<br />
[GSK_AS400_ERROR_NOT_TCP]<br />
The socket descriptor type is not SOCK_STREAM or the address family is not AF_INET or<br />
AF_INET6.<br />
[GSK_AS400_ERROR_ALREADY_SECURE]<br />
The socket descriptor is already in use by another secure session.<br />
[GSK_INSUFFICIENT_STORAGE]<br />
Unable to allocate storage for the requested operation.<br />
<strong>Secure</strong> <strong>Sockets</strong> <strong>APIs</strong> 39