Run synchronous interaction to ask the user for a password.
In general, invoke_ask_password should be used instead of this function.
Derived subclasses usually implement a password prompt, although they may also choose to provide a password from elsewhere. The
password
value will be filled in and then callback
will be called. Alternatively the user may abort this password
request, which will usually abort the TLS connection.
If the interaction is cancelled by the cancellation object, or by the user then g_tls_interaction_failed will be returned with an error that contains a g_io_error_cancelled error code. Certain implementations may not support immediate cancellation.
this |
a TlsInteraction object |
password |
a TlsPassword object |
cancellable |
an optional Cancellable cancellation object |
The status of the ask password interaction. |