request_certificate_password


Description:

public signal bool request_certificate_password (TlsPassword tls_password)

Emitted during the msg's connection TLS handshake when tls_connection requests a certificate password from the client.

You can set the certificate password on password, then call [method@Message.tls_client_certificate_password_request_complete] and return true to handle the signal synchronously. It's possible to handle the request asynchornously by calling [method@GObject.Object.ref] on password, then returning true and call [ method@Message.tls_client_certificate_password_request_complete] later after setting the password on password. Note that this signal is not emitted if [property@Session:tls-interaction] was set.

Parameters:

tls_password

the TlsPassword

Returns:

true to handle the request, or false to make the connection fail with g_tls_error_certificate_required.