Package org.gnome.gio
Class TlsInteraction.TlsInteractionClass
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gobject.TypeClass
org.gnome.gobject.GObject.ObjectClass
org.gnome.gio.TlsInteraction.TlsInteractionClass
- All Implemented Interfaces:
Proxy
- Enclosing class:
TlsInteraction
The class for
GTlsInteraction. 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.
- Since:
- 2.30
-
Constructor Summary
ConstructorsConstructorDescriptionTlsInteractionClass(MemorySegment address) Create a TlsInteractionClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayoutThe memory layout of the native struct.voidoverrideAskPassword(Arena arena, @Nullable Method method) Override virtual methodask_password.voidoverrideAskPasswordAsync(Arena arena, @Nullable Method method) Override virtual methodask_password_async.voidoverrideAskPasswordFinish(Arena arena, @Nullable Method method) Override virtual methodask_password_finish.voidoverrideRequestCertificate(Arena arena, @Nullable Method method) Override virtual methodrequest_certificate.voidoverrideRequestCertificateAsync(Arena arena, @Nullable Method method) Override virtual methodrequest_certificate_async.voidoverrideRequestCertificateFinish(Arena arena, @Nullable Method method) Override virtual methodrequest_certificate_finish.Methods inherited from class org.gnome.gobject.GObject.ObjectClass
findProperty, installProperties, installProperty, listProperties, overrideConstructed, overrideConstructor, overrideDispatchPropertiesChanged, overrideDispose, overrideFinalize, overrideGetProperty, overrideNotify, overrideProperty, overrideSetProperty, readConstructProperties, readFlags, readNConstructProperties, readNPspecs, readPdummy, readPspecs, writeConstructProperties, writeFlags, writeNConstructProperties, writeNPspecs, writePdummy, writePspecsMethods inherited from class org.gnome.gobject.TypeClass
addPrivate, adjustPrivateOffset, get, getInstancePrivateOffset, getPrivate, peek, peekParent, peekStatic, readGType, ref, unref, unrefUncached, writeGTypeMethods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
TlsInteractionClass
Create a TlsInteractionClass proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideAskPassword
-
overrideAskPasswordAsync
-
overrideAskPasswordFinish
-
overrideRequestCertificate
-
overrideRequestCertificateAsync
-
overrideRequestCertificateFinish
-