nn::ssl::Connection::DoHandshake Member Functionnn::Result DoHandshake( void );
None.
| Value | Description |
|---|---|
Result::IsSuccess |
Process was successful. |
| ResultProtocolFailedErr | Indicates that an error occurred due to SSL protocol failure. (This can occur if client certificate authentication fails on the server side, for example.) To reconnect, first call the Connection object's Finalize function, and then call Initialize again. |
| ResultWantRead | Indicates, when an asynchronous socket was being used, that the receive function (nn::socket::Read, etc.) returned without waiting for the operation to complete. Please try again. |
| ResultWantWrite | Indicates, when an asynchronous socket was being used, that the receive function (nn::socket::Write, etc.) returned without waiting for the operation to complete. Please try again. |
| ResultSystemCallErr | Indicates that the library function being used internally (mostly the socket functions) returned an unexpected error. (There was an abnormal response from the server, etc.) To reconnect, first call the Connection object's Finalize function, and then call Initialize again. |
| ResultSocketZeroReturn | Indicates that the socket read/write function returned 0 (in other words, indicates that communication was aborted). To reconnect, first call the Connection object's Finalize function, and then call Initialize again. |
| ResultWantConnect | Indicates, when an asynchronous socket is being used, that the connection still has not completed. Please try again. |
| ResultVerifyCertErr | Indicates that certificate verification failed. (When this is returned, it is possible to get the cause of the failure with the nn::ssl::Connection::GetCertVerifyErrors function.) To reconnect, first call the Connection object's Finalize function, and then call Initialize again. |
| ResultIpcSessionErr | Error indicating an uninitialized connection. No action performed because the Connection object has not been initialized by a successful call of Initialize. |
| ResultNotInitializedErr | Error indicating that the library is not initialized. None of the functions in this library can be run without first running nn::ssl::Initialize. |
| A value other than the above. | Unexpected error (see ssl_Result.h for error details). |
Performs an SSL handshake.
CONFIDENTIAL