Method

GioTlsConnectionget_certificate

since: 2.28

Declaration [src]

GTlsCertificate*
g_tls_connection_get_certificate (
  GTlsConnection* conn
)

Description [src]

Gets conns certificate, as set by g_tls_connection_set_certificate().

Available since: 2.28

Return value

Type: GTlsCertificate

conns certificate, or NULL.

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