Method

GioDtlsConnectionemit_accept_certificate

Declaration

gboolean
g_dtls_connection_emit_accept_certificate (
  GDtlsConnection* conn,
  GTlsCertificate* peer_cert,
  GTlsCertificateFlags errors
)

Description

Used by GDtlsConnection implementations to emit the GDtlsConnection::accept-certificate signal.

Available since:2.48

Parameters

peer_cert GTlsCertificate
 

The peer’s GTlsCertificate.

 The data is owned by the caller of the function.
errors GTlsCertificateFlags
 

The problems with peer_cert.

Return value

Returns: gboolean
 

TRUE if one of the signal handlers has returned TRUE to accept peer_cert.