axlPointer myqtt_tls_get_ssl_object ( MyQttConn connection)

Returns the SSL object associated to the given connection.

Once a TLS negotiation has finished, the SSL object representing the TLS session is stored on the connection. This function allows to return that reference.

connectionThe connection with a TLS session activated.
The SSL object reference or NULL if not defined. The function returns NULL if TLS is not activated or was not activated on the connection.

Referenced by myqtt_tls_get_peer_ssl_digest().