libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ idevice_connection_enable_ssl()

idevice_error_t idevice_connection_enable_ssl ( idevice_connection_t  connection)

Enables SSL for the given connection.

Parameters
connectionThe connection to enable SSL for.
Returns
IDEVICE_E_SUCCESS on success, IDEVICE_E_INVALID_ARG when connection is NULL or connection->ssl_data is non-NULL, or IDEVICE_E_SSL_ERROR when SSL initialization, setup, or handshake fails.