set_accept_certificate_func
Description:
[ Version ( since = "1.14" ) ]
public void set_accept_certificate_func (owned ConnectionAcceptCertificateFunc func)
public void set_accept_certificate_func (owned ConnectionAcceptCertificateFunc func)
Sets a custom accept-certificate function for checking certificates for validity.
This will directly map to TlsConnection 's "accept-certificate" signal
and be performed after the default checks of Connection (checking
against the TlsDatabase with the given
TlsCertificateFlags) have failed. If no
TlsDatabase is set on this connection, only func
will be
called.
Parameters:
this | |
func |
a ConnectionAcceptCertificateFunc to check certificates |
destroy_notify |
DestroyNotify for |
user_data |
User data passed to |