Method

GioDtlsConnectionemit_accept_certificate

since: 2.48

Declaration [src]

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

Description [src]

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

Available since: 2.48

Parameters

peer_cert

Type: GTlsCertificate

The peer’s GTlsCertificate.

The data is owned by the caller of the method.
errors

Type: GTlsCertificateFlags

The problems with peer_cert.

Return value

Type: gboolean

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