View Source ExMobileDevice.Ssl (exmobiledevice v0.3.1)

SSL/TLS helper functions.

This module contains a helper function, connect/2 that can be used to authenticate an existing :gen_tcp socket.

Summary

Functions

Authenticate an existing connection, using a pair-record.

Functions

connect(socket, pair_record)

@spec connect(port(), map()) :: {:ok, :ssl.sslsocket()} | {:error, any()}

Authenticate an existing connection, using a pair-record.

On success, returns an :ssl socket.