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.

[SSL_ERROR_BAD_MESSAGE]<br />

SSL received a badly formatted message.<br />

[SSL_ERROR_BAD_PEER]<br />

The peer system is not recognized.<br />

[SSL_ERROR_BAD_STATE]<br />

SSL detected a bad state in the SSL session.<br />

[SSL_ERROR_CERTIFICATE_REJECTED ]<br />

The certificate is not valid or was rejected by the exit program.<br />

[SSL_ERROR_CERT_EXPIRED]<br />

The validity time period of the certificate is expired.<br />

[SSL_ERROR_CLOSED]<br />

The SSL session ended.<br />

[SSL_ERROR_IO]<br />

An error occurred in SSL processing; check the errno value.<br />

[SSL_ERROR_NO_CERTIFICATE]<br />

No certificate is available for SSL processing.<br />

[SSL_ERROR_NO_CIPHERS]<br />

No ciphers available or specified.<br />

[SSL_ERROR_NO_INIT]<br />

SSL_Init() was not previously called for this job.<br />

[SSL_ERROR_NOT_TRUSTED_ROOT]<br />

The certificate is not signed by a trusted certificate authority.<br />

[SSL_ERROR_PERMISSION_DENIED]<br />

Permission was denied to access object.<br />

[SSL_ERROR_SSL_NOT_AVAILABLE]<br />

SSL is not available for use.<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 />

[SSL_ERROR_UNSUPPORTED]<br />

Operation is not supported by SSL.<br />

None of the specified protocol values are supported by <strong>System</strong> SSL.<br />

Error Conditions<br />

When the SSL_Handshake() API fails with a return code of [SSL_ERROR_IO], errno can be set to:<br />

[EACCES]<br />

<strong>Secure</strong> <strong>Sockets</strong> <strong>APIs</strong> 77

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

Saved successfully!

Ooh no, something went wrong!