showCertificateTrustDialog

abstract fun showCertificateTrustDialog(    window: BaseWindow,     options: CertificateTrustDialogOptions): <Error class: unknown class><<Error class: unknown class>>(source)
abstract fun showCertificateTrustDialog(options: CertificateTrustDialogOptions): <Error class: unknown class><<Error class: unknown class>>(source)

resolves when the certificate trust dialog is shown.

On macOS, this displays a modal dialog that shows a message and certificate information, and gives the user the option of trusting/importing the certificate. If you provide a window argument the dialog will be attached to the parent window, making it modal.

On Windows the options are more limited, due to the Win32 APIs used:

  • The message argument is not used, as the OS provides its own confirmation dialog.

  • The window argument is ignored since it is not possible to make this confirmation dialog modal.