Method

SoupMessageget_tls_peer_certificate

Declaration [src]

GTlsCertificate*
soup_message_get_tls_peer_certificate (
  SoupMessage* msg
)

Description [src]

Gets the peer’s GTlsCertificate associated with msgs connection.

Note that this is not set yet during the emission of SoupMessage::accept-certificate signal.

Return value

Returns: 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.