Skip to content

Gio.TlsInteractionClass

record (struct)

The class for TlsInteraction. Derived classes implement the various virtual interaction methods to handle TLS interactions.

Derived classes can choose to implement whichever interactions methods they'd like to support by overriding those virtual methods in their class initialization function. If a derived class implements an async method, it must also implement the corresponding finish method.

The synchronous interaction methods should implement to display modal dialogs, and the asynchronous methods to display modeless dialogs.

If the user cancels an interaction, then the result should be TlsInteractionResult.FAILED and the error should be set with a domain of G_IO_ERROR and code of IOErrorEnum.CANCELLED.

Properties

parent_class

parent_class: GObject.ObjectClass  # read/write

ask_password

ask_password: Any  # read/write

ask_password_async

ask_password_async: Any  # read/write

ask_password_finish

ask_password_finish: Any  # read/write

request_certificate

request_certificate: Any  # read/write

request_certificate_async

request_certificate_async: Any  # read/write

request_certificate_finish

request_certificate_finish: Any  # read/write

padding

padding: list[int]  # read/write