axlPointer vortex_tls_get_ssl_object ( VortexConnection 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.

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

References vortex_connection_get_data().

Referenced by vortex_tls_get_peer_ssl_digest().