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.

connectionThe connection where the certificate will be checked.
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().