Similar to trust_prompt_run_modal, except it also manages all the necessary
things around the source<!-- -->'s SSL/TLS trust properties when it also contains
e_source_extension_webdav, thus the SSL/TLS trust on the WebDAV source is properly updated based on the user's
choice.
The call is finished with trust_prompt_run_for_source.end, which also returns the user's choice. The finish
happens in the callback. This is necessary, because the source can be also saved.
The function fails, if the source doesn't contain the e_source_extension_authentication.
Note: The dialog is not shown when the stored certificate trust in the WebDAV source matches the certificate_pem
and the stored result is REJECT.
| parent |
A Window to use as a parent for the trust prompt dialog |
| source |
an Source, with e_source_extension_authentication |
| certificate_pem |
a PEM-encoded certificate for which to show the trust prompt |
| certificate_errors |
errors of the |
| error_text |
an optional error text to show in the dialog; can be null |
| allow_source_save |
whether can also save any |
| cancellable |
a Cancellable, or null |
| callback |
a callback to call, when the prompt (an |
| user_data |
user data passed into |