since: 3.2

Declaration [src]

soup_server_message_get_tls_peer_certificate (
  SoupServerMessage* msg

Description [src]

Gets the peer’s GTlsCertificate associated with msgs connection. Note that this is not set yet during the emission of SoupServerMessage::accept-certificate signal.

Available since: 3.2

Return value

Type: GTlsCertificate

msgs TLS peer certificate, or NULL if msgs connection is not SSL.

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