Method

GioTlsConnectionget_certificate

since: 2.28

Declaration

GTlsCertificate*
g_tls_connection_get_certificate (
  GTlsConnection* conn
)

Description

Gets conns certificate, as set by g_tls_connection_set_certificate().

Available since: 2.28

Return value

Type: GTlsCertificate

conns certificate, or NULL.

The data is owned by the instance.
The return value can be NULL.