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.
command. A cipher suite removed from the SSL cipher specification list will also be removed from the<br />
default cipher suite list shown here. The order of the cipher suites in QSSLCSL will be used to order<br />
the cipher suites in the default list.<br />
4. The Display <strong>System</strong> Value (DSPSYSVAL) command or the Retrieve <strong>System</strong> Values (QWCRSVAL) API<br />
can be used to determine the current setting of the supported ciphers (QSSLCSL) for system SSL.<br />
unsigned int cipherSuiteListLen (input)<br />
The number of cipher suite entries specified in the list pointed to by the cipherSuiteList<br />
parameter.<br />
Authorities<br />
Authorization of *R (allow access to the object) to the key ring file and its associated files is required.<br />
Return Value<br />
The QlgSSL_Init() API returns an integer. Possible values are:<br />
[0]<br />
Successful return<br />
[SSL_ERROR_BAD_CIPHER_SUITE]<br />
A cipher suite that is not valid was specified.<br />
[SSL_ERROR_IO]<br />
An error occurred in SSL processing; check the errno value.<br />
[SSL_ERROR_KEYPASSWORD_EXPIRED]<br />
The specified key ring password has expired.<br />
[SSL_ERROR_NO_KEYRING]<br />
No key ring file was specified.<br />
[SSL_ERROR_SSL_NOT_AVAILABLE]<br />
SSL is not available for use.<br />
[SSL_ERROR_UNSUPPORTED]<br />
Operation is not supported by SSL.<br />
None of the specified protocol or cipher values are supported by <strong>System</strong> SSL.<br />
[SSL_ERROR_UNKNOWN]<br />
An unknown or unexpected error occurred during SSL processing.<br />
Error Conditions<br />
When the QlgSSL_Init() API fails with return code [SSL_ERROR_IO], errno can be set to:<br />
[EINVAL]<br />
Parameter not valid.<br />
This error code indicates that the Qlg_Path_Name_T structure was not valid:<br />
v The path type was less than 0 or greater than 3.<br />
v A reserved field was not initialized to zeros.<br />
[ECONVERT]<br />
Conversion error.<br />
This error code indicates one of the following:<br />
<strong>Secure</strong> <strong>Sockets</strong> <strong>APIs</strong> 67