22.10.2013 Views

System i: Programming Secure Sockets APIs - IBM

System i: Programming Secure Sockets APIs - IBM

System i: Programming Secure Sockets APIs - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C Constant <strong>System</strong> Value<br />

TLS_RSA_WITH_AES_128_CBC_SHA *RSA_AES_128_CBC_SHA<br />

TLS_RSA_WITH_RC4_128_SHA *RSA_RC4_128_SHA<br />

TLS_RSA_WITH_RC4_128_MD5 *RSA_RC4_128_MD5<br />

TLS_RSA_WITH_AES_256_CBC_SHA *RSA_AES_256_CBC_SHA<br />

TLS_RSA_WITH_3DES_EDE_CBC_SHA *RSA_3DES_EDE_CBC_SHA<br />

3. The current default cipher suite list can be different from the install time list due to changes<br />

made to the QSSLCSL (SSL cipher specification list) system value via the Change <strong>System</strong><br />

Value (CHGSYSVAL) command. A cipher suite removed from the SSL cipher specification list<br />

will also be removed from the default cipher suite list shown here. The order of the cipher<br />

suites in QSSLCSL will be used to order the cipher suites in the default list.<br />

4. The Display <strong>System</strong> Value (DSPSYSVAL) command or the Retrieve <strong>System</strong> Values<br />

(QWCRSVAL) API can be used to determine the current setting of the supported ciphers<br />

(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 database file and its associated files is required.<br />

Return Value<br />

The SSL_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 />

82 <strong>System</strong> i: <strong>Programming</strong> <strong>Secure</strong> <strong>Sockets</strong> <strong>APIs</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!