axl_bool vortex_tls_verify_cert ( VortexConnection connection)

Allows to verify peer certificate after successfully establish TLS session.

This function is useful to check if certificate used by the remote peer is valid.

Parameters
connectionThe connection where the certificate will be checked.
Returns
axl_true If certificate verification status is ok, otherwise axl_false is returned.

References CONN_CTX, vortex_connection_get_data(), vortex_connection_get_id(), vortex_connection_get_server_name(), and vortex_connection_is_tlsficated().