Searched refs:peer_certificate (Results 1 – 2 of 2) sorted by relevance
624 GTlsCertificate *peer_certificate; in g_tls_connection_get_peer_certificate() local628 g_object_get (G_OBJECT (conn), "peer-certificate", &peer_certificate, NULL); in g_tls_connection_get_peer_certificate()629 if (peer_certificate) in g_tls_connection_get_peer_certificate()630 g_object_unref (peer_certificate); in g_tls_connection_get_peer_certificate()632 return peer_certificate; in g_tls_connection_get_peer_certificate()
508 GTlsCertificate *peer_certificate; in g_dtls_connection_get_peer_certificate() local512 g_object_get (G_OBJECT (conn), "peer-certificate", &peer_certificate, NULL); in g_dtls_connection_get_peer_certificate()513 if (peer_certificate) in g_dtls_connection_get_peer_certificate()514 g_object_unref (peer_certificate); in g_dtls_connection_get_peer_certificate()516 return peer_certificate; in g_dtls_connection_get_peer_certificate()