Gio.TlsConnection.prototype.emit_accept_certificate
function emit_accept_certificate(peer_cert: Gio.TlsCertificate, errors: Gio.TlsCertificateFlags): Boolean { // Gjs wrapper for g_tls_connection_emit_accept_certificate() }
Used by Gio.TlsConnection implementations to emit the Gio.TlsConnection::accept-certificate signal.
Since 2.28
- peer_cert
the peer's Gio.TlsCertificate
- errors
the problems with peer_cert
- Returns
true if one of the signal handlers has returned true to accept peer_cert