request_certificate


Description:

public signal bool request_certificate (TlsClientConnection tls_connection)

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

You can set the client certificate by calling [[email protected]_tls_client_certificate] and returning true . It's possible to handle the request asynchornously by returning true and call [ [email protected]_tls_client_certificate] later once the certificate is available. Note that this signal is not emitted if [ property@Session:tls-interaction] was set, or if [[email protected]_tls_client_certificate] was called before the connection TLS handshake started.

Parameters:

tls_connection

the TlsClientConnection

Returns:

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




2022 vala-language.org